更新时间:2023-12-05 08:51:34
通过在import pandas
之前添加三个导入来解决此问题.
Solved this by adding three imports before import pandas
.
import numpy.random.common
import numpy.random.bounded_integers
import numpy.random.entropy
似乎PyInstaller失去了这些库的路径... 然后,在命令行中,我写道:
It seems that PyInstaller loses the path to these libraries... Then, at the command line I wrote:
pyinstaller install -n APP_NAME -c --clean SCRIPT_NAME.py
对我有用.