找不到 Pyinstaller 库:libzmq-v141-mt-4_3_4-97a8c0cb.dll lib\site-packages\zmq\backend\cython\_proxy_steerable.cp39-win_amd64.pyd 的依赖项
Pyinstaller lib not found: libzmq-v141-mt-4_3_4-97a8c0cb.dll dependency of lib\site-packages\zmq\backend\cython\_proxy_steerable.cp39-win_amd64.pyd
我已经编写了一个用于生成 ArcGIS 要素报告的控制台应用程序,并且在我使用 pycharm 虚拟环境进行尝试时它运行良好。但是当我尝试使用 pyinstaller 制作一个 exe 文件时,它会生成一些警告并且 exe 不是 运行.
Python 版本 - 3.9
pyinstaller 版本 - 4.3
- 我尝试了 4.2 和 4.3 版本的 pyinstaller。
196881 INFO: Looking for dynamic libraries
199122 WARNING: lib not found: libzmq-v141-mt-4_3_4-97a8c0cb.dll dependency of
c:\users\admin\pycharmprojects\emportal\venv\lib\site-packages\zmq\backend\c
ython_poll.cp39-win_amd64.pyd
199154 WARNING: lib not found: libzmq-v141-mt-4_3_4-97a8c0cb.dll dependency of
c:\users\admin\pycharmprojects\emportal\venv\lib\site-packages\zmq\backend\c
ython\message.cp39-win_amd64.pyd
199183 WARNING: lib not found: libzmq-v141-mt-4_3_4-97a8c0cb.dll dependency of
c:\users\admin\pycharmprojects\emportal\venv\lib\site-packages\zmq\backend\c
ython_device.cp39-win_amd64.pyd
199212 WARNING: lib not found: libzmq-v141-mt-4_3_4-97a8c0cb.dll dependency of
c:\users\admin\pycharmprojects\emportal\venv\lib\site-packages\zmq\backend\c
ython\socket.cp39-win_amd64.pyd
199240 WARNING: lib not found: libzmq-v141-mt-4_3_4-97a8c0cb.dll dependency of
c:\users\admin\pycharmprojects\emportal\venv\lib\site-packages\zmq\backend\c
ython_proxy_steerable.cp39-win_amd64.pyd
199300 WARNING: lib not found: libzmq-v141-mt-4_3_4-97a8c0cb.dll dependency of
c:\users\admin\pycharmprojects\emportal\venv\lib\site-packages\zmq\backend\c
ython\context.cp39-win_amd64.pyd
199329 WARNING: lib not found: libzmq-v141-mt-4_3_4-97a8c0cb.dll dependency of
c:\users\admin\pycharmprojects\emportal\venv\lib\site-packages\zmq\backend\c
ython_version.cp39-win_amd64.pyd
199352 WARNING: lib not found: libzmq-v141-mt-4_3_4-97a8c0cb.dll dependency of
c:\users\admin\pycharmprojects\emportal\venv\lib\site-packages\zmq\backend\c
ython\error.cp39-win_amd64.pyd
199380 WARNING: lib not found: libzmq-v141-mt-4_3_4-97a8c0cb.dll dependency of
c:\users\admin\pycharmprojects\emportal\venv\lib\site-packages\zmq\backend\c
ython\utils.cp39-win_amd64.pyd
201783 WARNING: lib not found: api-ms-win-core-path-l1-1-0.dll dependency of C:\Python39\python39.dll
这是 Arcgis 模块的问题。所以我用 cx-freeze 尝试了这个并且它有效。成功编译了我的代码,没有任何问题。
我已经编写了一个用于生成 ArcGIS 要素报告的控制台应用程序,并且在我使用 pycharm 虚拟环境进行尝试时它运行良好。但是当我尝试使用 pyinstaller 制作一个 exe 文件时,它会生成一些警告并且 exe 不是 运行.
Python 版本 - 3.9 pyinstaller 版本 - 4.3
- 我尝试了 4.2 和 4.3 版本的 pyinstaller。
196881 INFO: Looking for dynamic libraries 199122 WARNING: lib not found: libzmq-v141-mt-4_3_4-97a8c0cb.dll dependency of c:\users\admin\pycharmprojects\emportal\venv\lib\site-packages\zmq\backend\c ython_poll.cp39-win_amd64.pyd 199154 WARNING: lib not found: libzmq-v141-mt-4_3_4-97a8c0cb.dll dependency of c:\users\admin\pycharmprojects\emportal\venv\lib\site-packages\zmq\backend\c ython\message.cp39-win_amd64.pyd 199183 WARNING: lib not found: libzmq-v141-mt-4_3_4-97a8c0cb.dll dependency of c:\users\admin\pycharmprojects\emportal\venv\lib\site-packages\zmq\backend\c ython_device.cp39-win_amd64.pyd 199212 WARNING: lib not found: libzmq-v141-mt-4_3_4-97a8c0cb.dll dependency of c:\users\admin\pycharmprojects\emportal\venv\lib\site-packages\zmq\backend\c ython\socket.cp39-win_amd64.pyd 199240 WARNING: lib not found: libzmq-v141-mt-4_3_4-97a8c0cb.dll dependency of c:\users\admin\pycharmprojects\emportal\venv\lib\site-packages\zmq\backend\c ython_proxy_steerable.cp39-win_amd64.pyd 199300 WARNING: lib not found: libzmq-v141-mt-4_3_4-97a8c0cb.dll dependency of c:\users\admin\pycharmprojects\emportal\venv\lib\site-packages\zmq\backend\c ython\context.cp39-win_amd64.pyd 199329 WARNING: lib not found: libzmq-v141-mt-4_3_4-97a8c0cb.dll dependency of c:\users\admin\pycharmprojects\emportal\venv\lib\site-packages\zmq\backend\c ython_version.cp39-win_amd64.pyd 199352 WARNING: lib not found: libzmq-v141-mt-4_3_4-97a8c0cb.dll dependency of c:\users\admin\pycharmprojects\emportal\venv\lib\site-packages\zmq\backend\c ython\error.cp39-win_amd64.pyd 199380 WARNING: lib not found: libzmq-v141-mt-4_3_4-97a8c0cb.dll dependency of c:\users\admin\pycharmprojects\emportal\venv\lib\site-packages\zmq\backend\c ython\utils.cp39-win_amd64.pyd 201783 WARNING: lib not found: api-ms-win-core-path-l1-1-0.dll dependency of C:\Python39\python39.dll
这是 Arcgis 模块的问题。所以我用 cx-freeze 尝试了这个并且它有效。成功编译了我的代码,没有任何问题。