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

时间:2021-03-18 09:58:17   收藏:0   阅读:80
# 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

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!