這是運行python configure.py時產生的代碼。PyInstaller「ImportError:No module named Pyinstaller」
[email protected]:~/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
因此,目前,我甚至無法運行PyInstaller,因爲缺少一個名爲PyInstaller的模塊。這是PyInstaller 2.0,您可以在/pyinstaller-2.0和/pyinstaller-2.0/PyInstaller目錄here和here的內部找到一些屏幕。
有沒有人知道這是怎麼回事?我試圖將/pyinstaller-2.0目錄中的pyinstaller.py文件複製到/pyinstaller-2.0/PyInstaller目錄中,但我沒有在那裏運氣。
這可能會變成一些可笑的簡單解決方法,但是......它讓我難倒了。如果有任何更多的信息需要,請問我會盡力提供。
添加pyInstaller到你的Python路徑 – Amyth 2012-08-14 14:11:47