[GH-ISSUE #280] I have tried my best through many ways to solve this issue, Plz Help...........PyInstaller.exceptions.ImportErrorWhenRunningHook: Failed to import module __PyInstaller_hooks_0_usb required by hook for module D:\Python IDE\lib\site-packa… #245

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

Originally created by @hamza0491 on GitHub (Jun 6, 2022).
Original GitHub issue: https://github.com/brentvollebregt/auto-py-to-exe/issues/280

Quick Checks For You

  • 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 applicaiton/script runs before trying to package

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

If you have example code, please provide a minimal reproducible example.

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

Screenshots
If applicable, add screenshots to help explain your problem.

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):

Additional context
Add any other context about the problem here.

Originally created by @hamza0491 on GitHub (Jun 6, 2022). Original GitHub issue: https://github.com/brentvollebregt/auto-py-to-exe/issues/280 **Quick Checks For You** - [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 applicaiton/script runs before trying to package **Describe the bug** A clear and concise description of what the bug is. **To Reproduce** Steps to reproduce the behavior: 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://en.wikipedia.org/wiki/Minimal_reproducible_example). **Expected behavior** A clear and concise description of what you expected to happen. **Screenshots** If applicable, add screenshots to help explain your problem. **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`): **Additional context** Add any other context about the problem here.
kerem 2026-02-26 12:20:56 +03:00
  • closed this issue
  • added the
    Stale
    label
Author
Owner

@hamza0491 commented on GitHub (Jun 6, 2022):

I have installed manual different library files to resolve the usb.core hook error but it does not work for me.. thanks

<!-- gh-comment-id:1147089629 --> @hamza0491 commented on GitHub (Jun 6, 2022): I have installed manual different library files to resolve the usb.core hook error but it does not work for me.. thanks
Author
Owner

@brentvollebregt commented on GitHub (Jun 6, 2022):

Can you please fill out the template - those fields are all there for a reason. Can you also make the title more concise please.

<!-- gh-comment-id:1147111862 --> @brentvollebregt commented on GitHub (Jun 6, 2022): Can you please fill out the template - those fields are all there for a reason. Can you also make the title more concise please.
Author
Owner

@github-actions[bot] commented on GitHub (Jul 18, 2022):

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:1186669116 --> @github-actions[bot] commented on GitHub (Jul 18, 2022): 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.
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#245
No description provided.