[問題] 安裝Pyinstaller問題
我在安裝pyinstaller時候,按照底下網頁說明操作:
http://codex.wiki/post/171811-287
但是在Step 2就出問題了:
2. 進入pyinstaller的目錄執行 python Configure.py
錯誤訊息是:
C:\Users\ericchen\python35\PyInstaller-3.0\PyInstaller>python configure.py
Traceback (most recent call last):
File "configure.py", line 20, in <module>
from . import compat
SystemError: Parent module '' not loaded, cannot perform relative import
我去看configure.py第20行:
from . import compat
請問一下要怎麼解決呢? 謝謝~
ps:我是用python 3.5
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 1.164.26.141
※ 文章網址: https://www.ptt.cc/bbs/Python/M.1448247526.A.3AC.html
→
11/23 13:19, , 1F
11/23 13:19, 1F
→
11/23 13:19, , 2F
11/23 13:19, 2F
→
11/23 13:45, , 3F
11/23 13:45, 3F
→
11/23 13:46, , 4F
11/23 13:46, 4F
→
11/23 14:14, , 5F
11/23 14:14, 5F
→
11/23 14:26, , 6F
11/23 14:26, 6F
→
11/23 14:27, , 7F
11/23 14:27, 7F
→
11/23 14:40, , 8F
11/23 14:40, 8F
→
11/23 14:50, , 9F
11/23 14:50, 9F
Python 近期熱門文章
PTT數位生活區 即時熱門文章