pyinstaller错误:无法执行脚本

时间:2019-06-09 05:22:00

标签: python-3.x

我正在用python制作聊天机器人程序,现在尝试用pyinstaller制作exe文件。但是,当我在anaconda提示符下运行pyinstaller时,创建的exe文件无法与错误消息“无法执行脚本(文件名)”一起使用。

当我在使用pyinstaller生成exe文件的过程中检查anaconda提示时,发现了一些错误消息。我应该怎么做才能解决这个问题?

21559 INFO: Loading module hooks...
21559 INFO: Loading module hook "hook-certifi.py"...
21566 INFO: Loading module hook "hook-Crypto.py"...
Traceback (most recent call last):
  File "<string>", line 2, in <module>
ModuleNotFoundError: No module named 'Crypto.Math'
21632 INFO: Loading module hook "hook-cryptography.py"...
22356 INFO: Loading module hook "hook-distutils.py"...

37122 WARNING: lib not found: impi.dll dependency of c:\users\user\anaconda3\Library\bin\mkl_blacs_intelmpi_ilp64.dll
37504 WARNING: lib not found: msmpi.dll dependency of c:\users\user\anaconda3\Library\bin\mkl_blacs_msmpi_lp64.dll
38033 WARNING: lib not found: tbb.dll dependency of c:\users\user\anaconda3\Library\bin\mkl_tbb_thread.dll
38079 WARNING: lib not found: impi.dll dependency of c:\users\user\anaconda3\Library\bin\mkl_blacs_intelmpi_lp64.dll
38129 WARNING: lib not found: mpich2mpi.dll dependency of c:\users\user\anaconda3\Library\bin\mkl_blacs_mpich2_ilp64.dll
38185 WARNING: lib not found: mpich2mpi.dll dependency of c:\users\user\anaconda3\Library\bin\mkl_blacs_mpich2_lp64.dll
38391 WARNING: lib not found: pgf90.dll dependency of c:\users\user\anaconda3\Library\bin\mkl_pgi_thread.dll
38431 WARNING: lib not found: pgf90rtl.dll dependency of c:\users\user\anaconda3\Library\bin\mkl_pgi_thread.dll
38472 WARNING: lib not found: pgc14.dll dependency of c:\users\user\anaconda3\Library\bin\mkl_pgi_thread.dll
38515 WARNING: lib not found: msmpi.dll dependency of c:\users\user\anaconda3\Library\bin\mkl_blacs_msmpi_ilp64.dll

0 个答案:

没有答案