dan*_*tdj 11 python pyinstaller
这是我运行python configure.py时生成的代码.
dan@Q430-Q530:~/pyinstaller-2.0/PyInstaller$ python configure.py
Traceback (most recent call last):
File "configure.py", line 28, in <module>
from PyInstaller import HOMEPATH, PLATFORM
ImportError: No module named PyInstaller
Run Code Online (Sandbox Code Playgroud)
所以,目前,我甚至无法运行PyInstaller,因为缺少一个名为... PyInstaller的模块.这是PyInstaller 2.0,您可以在这里和这里分别找到/pyinstaller-2.0和/pyinstaller-2.0/PyInstaller目录内部的一些屏幕.
这里有人知道发生了什么吗?我尝试将/pyinstaller-2.0目录中的pyinstaller.py文件复制到/pyinstaller-2.0/PyInstaller目录中,但我没有运气.
这可能会成为一些荒谬的简单修复,但是......这让我很难过.如果需要更多信息,请询问,我会尝试提供.
hak*_*kan 13
使用PyInstaller 2.0,您无需运行configure或pyinstaller文件.(阅读安装文件附带的PyInstaller 2.0文档.)
建立你的项目; 在/ your/path/to/pyinstaller /目录中,运行:
"python pyinstaller.py [opts] yourprogram.py"