我正在开发一个使用新的umap-learn库(https://github.com/lmcinnes/umap)的GUI,但是当我尝试使用pyinstaller创建可执行文件时,出现以下错误:
Traceback (most recent call last):
File "FM Working Directory\__init__.py", line 9, in <module>
File "c:\users\zwebb2\appdata\local\continuum\anaconda3\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 631, in exec_module
exec(bytecode, module.__dict__)
File "FM Working Directory\_Frame.py", line 42, in <module>
File "c:\users\zwebb2\appdata\local\continuum\anaconda3\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 631, in exec_module
exec(bytecode, module.__dict__)
File "FM Working Directory\_Preprocess_functions.py", line 11, in <module>
File "c:\users\zwebb2\appdata\local\continuum\anaconda3\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 631, in exec_module
exec(bytecode, module.__dict__)
File "FM Working Directory\KNNDPP.py", line 14, in <module>
File "c:\users\zwebb2\appdata\local\continuum\anaconda3\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 631, in exec_module
exec(bytecode, module.__dict__)
File "site-packages\sklearn\__init__.py", line 134, in <module>
File "c:\users\zwebb2\appdata\local\continuum\anaconda3\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 631, in exec_module
exec(bytecode, module.__dict__)
File "site-packages\sklearn\base.py", line 13, in <module>
File "c:\users\zwebb2\appdata\local\continuum\anaconda3\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 631, in exec_module
exec(bytecode, module.__dict__)
File "site-packages\sklearn\utils\__init__.py", line 11, in <module>
File "c:\users\zwebb2\appdata\local\continuum\anaconda3\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 631, in exec_module
exec(bytecode, module.__dict__)
File "site-packages\sklearn\utils\validation.py", line 18, in <module>
File "c:\users\zwebb2\appdata\local\continuum\anaconda3\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 631, in exec_module
exec(bytecode, module.__dict__)
File "site-packages\sklearn\utils\fixes.py", line 144, in <module>
File "c:\users\zwebb2\appdata\local\continuum\anaconda3\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 631, in exec_module
exec(bytecode, module.__dict__)
File "site-packages\scipy\sparse\linalg\__init__.py", line 114, in <module>
File "c:\users\zwebb2\appdata\local\continuum\anaconda3\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 631, in exec_module
exec(bytecode, module.__dict__)
File "site-packages\scipy\sparse\linalg\isolve\__init__.py", line 6, in <module>
File "c:\users\zwebb2\appdata\local\continuum\anaconda3\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 631, in exec_module
exec(bytecode, module.__dict__)
File "site-packages\scipy\sparse\linalg\isolve\iterative.py", line 7, in <module>
File "c:\users\zwebb2\appdata\local\continuum\anaconda3\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 714, in load_module
module = loader.load_module(fullname)
ImportError: DLL load failed: The specified module could not be found.
[20040] Failed to execute script __init__
还有其他人遇到此错误吗? pyimod03_importers.py似乎有问题。