[GH-ISSUE #157] Not importing wxPython module #145

Closed
opened 2026-02-26 12:20:37 +03:00 by kerem · 5 comments
Owner

Originally created by @marcinconn on GitHub (Feb 9, 2021).
Original GitHub issue: https://github.com/brentvollebregt/auto-py-to-exe/issues/157

Despite many attempts( as a hidden import: wx, wxPyhton, wxPython as wx) the exe file doesn't want to launch. I did console version and only running this in Commend Prompt showed: No module named 'wx'.
Python version: 3.9
Auto-py-to-exe: 2.8.0

Originally created by @marcinconn on GitHub (Feb 9, 2021). Original GitHub issue: https://github.com/brentvollebregt/auto-py-to-exe/issues/157 Despite many attempts( as a hidden import: wx, wxPyhton, wxPython as wx) the exe file doesn't want to launch. I did console version and only running this in Commend Prompt showed: No module named 'wx'. Python version: 3.9 Auto-py-to-exe: 2.8.0
kerem 2026-02-26 12:20:37 +03:00
  • closed this issue
  • added the
    Stale
    label
Author
Owner

@brentvollebregt commented on GitHub (Feb 9, 2021):

If you execute pip list, are auto-py-to-exe and wx in the output?

<!-- gh-comment-id:776178272 --> @brentvollebregt commented on GitHub (Feb 9, 2021): If you execute `pip list`, are auto-py-to-exe and wx in the output?
Author
Owner

@marcinconn commented on GitHub (Feb 10, 2021):

yes. Downgrade to Python 3.7 helps and all works fine

<!-- gh-comment-id:776920449 --> @marcinconn commented on GitHub (Feb 10, 2021): yes. Downgrade to Python 3.7 helps and all works fine
Author
Owner

@brentvollebregt commented on GitHub (Feb 11, 2021):

Did you have more than one distribution of Python installed when you tried the first time?

Could you create a virtual environment using Python 3.9, add your dependencies, add auto-py-to-exe and then use the installation of auto-py-to-exe in the virtual environment to package your script? Does it still fail?

<!-- gh-comment-id:777235287 --> @brentvollebregt commented on GitHub (Feb 11, 2021): Did you have more than one distribution of Python installed when you tried the first time? Could you create a virtual environment using Python 3.9, add your dependencies, add auto-py-to-exe and then use the installation of auto-py-to-exe in the virtual environment to package your script? Does it still fail?
Author
Owner

@github-actions[bot] commented on GitHub (Apr 13, 2021):

This issue is stale because it has been open for 60 days with no activity. Remove stale label or comment on this issue or it will be closed in 5 days.

<!-- gh-comment-id:818324256 --> @github-actions[bot] commented on GitHub (Apr 13, 2021): This issue is stale because it has been open for 60 days with no activity. Remove stale label or comment on this issue or it will be closed in 5 days.
Author
Owner

@github-actions[bot] commented on GitHub (Apr 19, 2021):

Closing issue due to no activity in more than 60 days.

<!-- gh-comment-id:822092663 --> @github-actions[bot] commented on GitHub (Apr 19, 2021): Closing issue due to no activity in more than 60 days.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/auto-py-to-exe#145
No description provided.