mikael-alafriz-deel / lucid-sonic-dreams

MIT License
771 stars 157 forks source link

OSError: [WinError 126] The specified module could not be found #32

Open sean-custer opened 3 years ago

sean-custer commented 3 years ago

I downgraded my python version to 3.7 in order to run this specific module, ran 'python3 -m pip install lucidsonicdreams', and saw the following output (shown for verification): err1

Then, when I run the sample code shown, I receive the following error:

File "c:/Users/Sean/Desktop/Music/lucid-sonic-dreams/Mytest.py", line 1, in from lucidsonicdreams import LucidSonicDream File "C:\Users\Sean\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.7_qbz5n2kfra8p0\LocalCache\local-packages\Python37\site-packages\lucidsonicdreams__init__.py", line 1, in

from .main import * File "C:\Users\Sean\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.7_qbz5n2kfra8p0\LocalCache\local-packages\Python37\site-packages\lucidsonicdreams\main.py", line 9, in from scipy.stats import truncnorm File "C:\Users\Sean\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.7_qbz5n2kfra8p0\LocalCache\local-packages\Python37\site-packages\scipy\__init__.py", line 136, in from . import _distributor_init File "C:\Users\Sean\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.7_qbz5n2kfra8p0\LocalCache\local-packages\Python37\site-packages\scipy\_distributor_init.py", line 61, in WinDLL(os.path.abspath(filename)) File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.7_3.7.2544.0_x64__qbz5n2kfra8p0\lib\ctypes\__init__.py", line 364, in __init__ self._handle = _dlopen(self._name, mode) OSError: [WinError 126] The specified module could not be found (shown for verification) ![err2](https://user-images.githubusercontent.com/34922998/129295385-88064168-c65a-4c46-ae40-3d504cfe850f.png) I have attempted uninstalling & reinstalling this module, and my version of Python. I have even looked into potential pitfalls where the backslashes could be cancelling out, potentially throwing an escape sequence error. I have had no luck solving this. Please let me know if I can provide more information that would be of use. Thanks.