Warning 1: Recode from CP437 to UTF-8 failed with the error: "Invalid argument".

# CPL_ZIP_ENCODING 
if 'CPL_ZIP_ENCODING' not in os.environ: 
     # Prevents "Warning 1: Recode from CP437 to UTF-8 failed with the error: "Invalid argument"." 
     # during gdal.Open(). 
     os.environ['CPL_ZIP_ENCODING'] = 'UTF-8' 
原文地址:https://www.cnblogs.com/luochunxi/p/14553537.html