我使用QGIS 3.6和Python 3.7,并尝试在Windows 7下的命令行工具中使用pip安装一个包,但我收到以下消息:
Fatal Python error: initfsencoding: unable to load the file system codec
ModuleNotFoundError: No module named 'encodings'
Current thread 0x0000188c (most recent call first):My path和PYTHONPATH配置良好,可以链接到QGIS的Python文件夹。这个问题最近在Python 3.7的使用中出现了。
发布于 2019-05-09 22:05:08
至少对于Mac来说,最近的QGIS版本似乎只支持Python3.6,不支持3.7,请参阅https://qgis.org/en/site/forusers/download.html
https://stackoverflow.com/questions/55002047
复制相似问题