我写了一个Python程序,大多数将要运行它的人都是Windows用户.我尝试在2个不同的设备上使用pyinstaller和py2exe,一个使用Windows,另一个使用arch-linux.
我使用pip3安装pyinstaller --no-cache不止一次重新安装它
我总是得到同样的错误:
sudo pyinstaller --windowed --onefile test.py
49 INFO: PyInstaller: 3.2
49 INFO: Python: 3.6.0
50 INFO: Platform: Linux-4.8.13-1-ARCH-x86_64-with-arch
51 INFO: wrote /home/XXXXX/test.spec
52 INFO: UPX is not available.
53 INFO: Extending PYTHONPATH with paths
['/home/XXXXX', '/home/XXXXX']
54 INFO: checking Analysis
54 INFO: Building Analysis because out00-Analysis.toc is non existent
54 INFO: Initializing module dependency graph...
57 INFO: Initializing module graph hooks...
58 INFO: Analyzing base_library.zip ...
Traceback (most recent call last):
File "/usr/bin/pyinstaller", line 11, in <module> …Run Code Online (Sandbox Code Playgroud)