Skip to content Skip to sidebar Skip to footer

Pyinstaller Error Running Script With Pyzmq Dependency

This is my first StackOverflow post! I am running into issues creating a pyinstaller(v4.2) executable with a pyzmq (v22.0.2) dependency. I created an executable by running 'pyinsta

Solution 1:

I had the same problem and found this solution Downgrade to 21.0.0 using pip install pyzmq==21.0.0 then you can run pyinstaller again and it will run perfectly fine.


Solution 2:

Find a folder called 'pyzmq.libs' in your <local-python-path>\Lib\site-packages.

For example, I'm using Miniconda3 here, so I got this at C:\\Users\MyPC\Miniconda3\envs\my_env\Lib\site-packages

Then, copy this folder to your C:\\Users\\[redacted path]\\dist\\main folder, and re-try the executable.


Post a Comment for "Pyinstaller Error Running Script With Pyzmq Dependency"