小编Sim*_*rum的帖子

PyInstaller和Python3.6 - 元组索引

我写了一个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)

python executable py2exe pyinstaller

5
推荐指数
1
解决办法
1万
查看次数

标签 统计

executable ×1

py2exe ×1

pyinstaller ×1

python ×1