ModuleNotFoundError: No module named 'bleak' #8898
-
i was testing a simple program that connect and read a bluetooth device using bleak package. the program run normally with .py file but fail to run .exe as the bleak can not be imported. Later i added the multiprocessing part, but the issue is still there. ![]() i think mine is the same as #8395, but could not fix the issue. Please help |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 16 replies
-
If you want help then we need code (I can't run a screenshot) and an error message. |
Beta Was this translation helpful? Give feedback.
-
If this is with |
Beta Was this translation helpful? Give feedback.
Any difference if you add
--hiddenimport winrt.windows.foundation.collections
to your PyInstaller command (or if you are building with .spec, if you add that module tohiddenimports
list)?