-
Notifications
You must be signed in to change notification settings - Fork 219
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue compiling into exe with pyinstaller #1363
Comments
I have a similar problem. I can create the EXE with Pyinstaller but get an error during runtime. pyinstaller v6.4.0 Runtime error:
When using zeroconf v0.118.0 everything is fine. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
I am attempting to convert my script into an exe and zeroconf is causing issues.
pyinstaller v6.4.0
zeroconf v0.131.0
Python 3.12.2
import zeroconf ^^^^^^^^^^^^^^^ File "<frozen importlib._bootstrap>", line 1360, in _find_and_load File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 935, in _load_unlocked File "PyInstaller\loader\pyimod02_importers.py", line 419, in exec_module File "zeroconf\__init__.py", line 26, in <module> File "<frozen importlib._bootstrap>", line 1360, in _find_and_load File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 935, in _load_unlocked File "PyInstaller\loader\pyimod02_importers.py", line 419, in exec_module File "zeroconf\_core.py", line 32, in <module> File "<frozen importlib._bootstrap>", line 1360, in _find_and_load File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 935, in _load_unlocked File "PyInstaller\loader\pyimod02_importers.py", line 419, in exec_module File "zeroconf\_engine.py", line 38, in <module> File "src\\zeroconf\\_listener.py", line 1, in init zeroconf._listener File "src\\zeroconf\\_services\\info.py", line 1, in init zeroconf._services.info KeyError: '__reduce_cython__'
This appears to be an issue with how the cython in the project was compiled:
cython/cython#1953 (comment)
The text was updated successfully, but these errors were encountered: