Python OSError: Could not find lib geos_c.dll or load any of its variants
摘要:Python打包出exe后运行发现总是报OSError: Could not find lib geos_c.dll or load any of its variants缺少geos_c.dll的错误, 而且非常奇怪,直接运行Python文件不报错,打出来的exe就报错,考虑是依赖没有打进去, 解
阅读全文
posted @
2021-12-14 10:48
Jason_c
阅读(2812)
推荐(0)
将Python工程编译成exe
摘要:1、首先安装pyinstaller,不会安装的参考上一篇文章https://www.cnblogs.com/Jason-c/p/15666406.html 2、打开cmd,将/Scripts/pyinstaller.exe拖到cmd上 3、后面输入-F 4、再将要打包exe的.py文件拖到cmd上,
阅读全文
posted @
2021-12-09 11:57
Jason_c
阅读(859)
推荐(0)
Visual Studio 安装Python第三方依赖
摘要:1、使用pip命令安装google.protobufpip install --index https://pypi.mirrors.ustc.edu.cn/simple/ protobuf 2、国内镜像 https://pypi.douban.com/simple/ 豆瓣https://mirro
阅读全文
posted @
2021-12-09 11:39
Jason_c
阅读(401)
推荐(0)