You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is not possible to bundle 'sounddevice 0.4.4' since the pyinstaller version '5.1'.
It was working well with verson '5.0.1'. I tried it for both Python 3.9 and 3.10.
When I downgrade to Pyinstaller version 5.0.1 in the same env, it is working again.
File "...evn\lib\site-packages\PyInstaller\depend\imphook.py", line 361, in _load_hook_module
self._hook_module = importlib_load_source(self.hook_module_name, self.hook_filename)
File "...evn\rbook39\lib\site-packages\PyInstaller\compat.py", line 620, in importlib_load_source
return mod_loader.load_module()
File "<frozen importlib._bootstrap_external>", line 529, in _check_name_wrapper
File "<frozen importlib._bootstrap_external>", line 1029, in load_module
File "<frozen importlib._bootstrap_external>", line 854, in load_module
File "<frozen importlib._bootstrap>", line 274, in _load_module_shim
File "<frozen importlib._bootstrap>", line 711, in _load
File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 850, in exec_module
File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
File "...evn\lib\site-packages\_pyinstaller_hooks_contrib\hooks\stdhooks\hook-sounddevice.py", line 24, in <module>
sfp = get_package_paths("sounddevice")
File "...evn\lib\site-packages\PyInstaller\utils\hooks\__init__.py", line 582, in get_package_paths
raise ValueError(f"Package '{package}' does not exist or is not a package!")
ValueError: Package 'sounddevice' does not exist or is not a package!
The text was updated successfully, but these errors were encountered:
ArekMC
changed the title
Cannot install sounddevice package since Pyinstaller version 5.1
Cannot bundle sounddevice package since Pyinstaller version 5.1
May 18, 2022
ArekMC
changed the title
Cannot bundle sounddevice package since Pyinstaller version 5.1
Sounddevice package cannot be found since Pyinstaller version 5.1
May 18, 2022
Transferring to pyinstaller-hooks-utils because it is the hook that needs to be updated. sounddevice is indeed not a package (and has never been), so it should be using get_module_file_attribute instead. (And it breaks now because 5.1 changed the behavior of get_package_paths).
rokm
transferred this issue from pyinstaller/pyinstaller
May 18, 2022
Description of the issue
Context information (for bug reports)
Output of
pyinstaller --version
:5.1
Version of Python: 3.9 | 3.10
Platform: Windows 10 Pro (GER/EU) -->
How you installed Python: conda
Not tried on another platform
follow all the instructions in our "If Things Go Wrong" Guide
(https://github.com/pyinstaller/pyinstaller/wiki/If-Things-Go-Wrong) and
Describtion:
It is not possible to bundle 'sounddevice 0.4.4' since the pyinstaller version '5.1'.
It was working well with verson '5.0.1'. I tried it for both Python 3.9 and 3.10.
When I downgrade to Pyinstaller version 5.0.1 in the same env, it is working again.
The text was updated successfully, but these errors were encountered: