缺少所需的numpy依赖项

时间:2019-07-15 06:54:44

标签: python-3.x pandas numpy pyinstaller

当我使用pyinstaller从python脚本创建exe文件时,exe创建成功,但是当我运行它会引发错误, 我用过pyinstaller 3.4, numpy 1.16, 熊猫0.24.2

       Traceback (most recent call last):
       File "probability_score_engine.py", line 4, in <module>
         import csv_operation
       File 
    "C:\Users\ShubhamSingh\PycharmProjects\cfna_scoring\venv\lib\site- 
     packages\PyInstaller\loader\pyimod03_importers.py", line 627, in 
     exec_module
         exec(bytecode, module.__dict__)
       File "csv_operation.py", line 1, in <module>
         import pandas as pd
       File 
     "C:\Users\ShubhamSingh\PycharmProjects\cfna_scoring\venv\lib\site- 
     packages\PyInstaller\loader\pyimod03_importers.py", line 627, in 
      exec_module
      exec(bytecode, module.__dict__)
      File "lib\site-packages\pandas\__init__.py", line 19, in <module>
      ImportError: Missing required dependencies ['numpy']
      [2476] Failed to execute script probability_score_engine

0 个答案:

没有答案