[GH-ISSUE #398] PyQt5 import #321

Closed
opened 2026-02-26 12:21:12 +03:00 by kerem · 2 comments
Owner

Originally created by @FatouBinetou456 on GitHub (May 5, 2023).
Original GitHub issue: https://github.com/brentvollebregt/auto-py-to-exe/issues/398

Quick Checks

  • I have read/searched in the help post
  • I have searched other issues, looking for an issue similar to mine
  • I have made sure my application/script runs before trying to package

Describe the bug
A clear and concise description of what the bug is. If you have an error message, please paste it here (not in a screenshot).

To Reproduce
Steps to reproduce the behavior (install dependencies, do this in the auto-py-to-exe UI):

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error
# If you have example code, please provide a minimal reproducible example: 
# https://stackoverflow.com/help/minimal-reproducible-example

print("Hello World")

Expected behavior
A clear and concise description of what you expected to happen.

Your Environment:

  • Python version (python --version):
  • auto-py-to-exe version (pip show auto-py-to-exe):
  • PyInstaller version (pip show pyinstaller):
  • Eel version (pip show eel):
Originally created by @FatouBinetou456 on GitHub (May 5, 2023). Original GitHub issue: https://github.com/brentvollebregt/auto-py-to-exe/issues/398 **Quick Checks** - [x] I have read/searched in the [help post](https://nitratine.net/blog/post/issues-when-using-auto-py-to-exe) - [x] I have [searched other issues](https://github.com/brentvollebregt/auto-py-to-exe/issues?q=is%3Aissue+), looking for an issue similar to mine - [x] I have made sure my application/script runs before trying to package **Describe the bug** A clear and concise description of what the bug is. If you have an error message, please paste it here (not in a screenshot). **To Reproduce** Steps to reproduce the behavior (install dependencies, do this in the auto-py-to-exe UI): 1. Go to '...' 2. Click on '....' 3. Scroll down to '....' 4. See error ```python # If you have example code, please provide a minimal reproducible example: # https://stackoverflow.com/help/minimal-reproducible-example print("Hello World") ``` **Expected behavior** A clear and concise description of what you expected to happen. **Your Environment:** - Python version (`python --version`): - auto-py-to-exe version (`pip show auto-py-to-exe`): - PyInstaller version (`pip show pyinstaller`): - Eel version (`pip show eel`):
kerem closed this issue 2026-02-26 12:21:12 +03:00
Author
Owner

@github-actions[bot] commented on GitHub (May 5, 2023):

👋 Hi, just a reminder that if you haven't read the help post yet, give it a read to see if your issue is covered in it and make sure to follow the debugging section.

Also please note, as stated in the README, if your issue is only associated with your application and not auto-py-to-exe itself, please do not create an issue in this repository - instead, comment on the help post, video or create a new discussion.

<!-- gh-comment-id:1536133184 --> @github-actions[bot] commented on GitHub (May 5, 2023): 👋 Hi, just a reminder that if you haven't read [the help post](https://nitratine.net/blog/post/issues-when-using-auto-py-to-exe/) yet, give it a read to see if your issue is covered in it and make sure to follow [the debugging section](https://nitratine.net/blog/post/issues-when-using-auto-py-to-exe/#debugging). Also please note, as stated in the README, if your issue is only associated with your application and not auto-py-to-exe itself, please do not create an issue in this repository - instead, comment on the help [post](https://nitratine.net/blog/post/issues-when-using-auto-py-to-exe/), [video](https://youtu.be/OZSZHmWSOeM) or create a [new discussion](https://github.com/brentvollebregt/auto-py-to-exe/discussions).
Author
Owner

@FatouBinetou456 commented on GitHub (May 5, 2023):

I have a problem with my exexutable file. My programm is working it is a PyQt5 Gui with a sqlite database but when i turn it into an exe it says that the module PyQt5 has not been imported i have added it as an additional file and as a hidden import but it is still not working. I have also added it to the output folder but still no results

<!-- gh-comment-id:1536136654 --> @FatouBinetou456 commented on GitHub (May 5, 2023): I have a problem with my exexutable file. My programm is working it is a PyQt5 Gui with a sqlite database but when i turn it into an exe it says that the module PyQt5 has not been imported i have added it as an additional file and as a hidden import but it is still not working. I have also added it to the output folder but still no results
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#321
No description provided.