-
-
Notifications
You must be signed in to change notification settings - Fork 210
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
ModuleNotFoundError: No module named 'sgmllib' #901
Comments
How you freeze the app, using command line cxfreeze or using setup.py? |
Including the module with either includes= or with packages= gives then the error during the freezing: |
What version of cx_Freeze you are using? It is marked as excluded in python3 since 6.1 or 6.2. |
cx_Freeze (6.5.3) |
can you put the traceback (maybe the last 10 lines) |
Using includes traceback when freezing:
Using excludes or nothing traceback when trying to run the .exe:
|
PR #904 fix this. |
This worked. Gracias! |
cx_Freeze 6.6 has just been released. |
Has there been a regression on this? I am having this issue on an M1 Mac, I've tried adding sgml to the setup.py (using Python 3.8.10, Poetry, and PyEnv):
but still having the issue:
In the missing modules list it still appears:
Not sure if it's being caused by a virtualenv from PyEnv or Poetry? |
@alexfromapex This must be sufficient:
|
Works perfectly, thank you! 🚀 I was confused and thought that
|
So I made an RSS reader with feedparser and used cx_Freeze to make it an .exe. But then the .exe wouldn't run so I ran it through Command Prompt and got the error in the title.
The text was updated successfully, but these errors were encountered: