使用pyinstaller打包python程序時遇到的問題記錄,問題已全部解決。
解決方法詳見 https://guangmujun.cn/archives/168
-
shapely庫相關
問題:
Unable to find "e:\github\forexe\venv\lib\site-packages\shapely\DLLs\geos.dll" when adding binary and data files.
-
pyproj庫相關
問題:
ModuleNotFoundError: No module named 'pyproj._datadir'
-
numpy相關
問題:
ModuleNotFoundError: No module named 'numpy.random.common'
-
sklearn相關
問題:
ModuleNotFoundError: No module named 'sklearn.utils._cython_blas'
-
geopandas庫相關
問題:
File "site-packages\geopandas\datasets\__init__.py", line 7, in <module> StopIteration [6764] Failed to execute script application