[問題] py2exe 打包exe消失
在這裡先感謝中午那位好心人
我現在又遇到了一個問題我用py2exe打包程式時會發生錯誤,我把程式縮短到
from splinter import Browser
browser = Browser('firefox')
browser.visit('https://www.google.com.tw/')
這個簡單的動作都還是出現錯誤,請問這樣要怎麼解決?
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 101.8.211.146
※ 文章網址: https://www.ptt.cc/bbs/Python/M.1467643862.A.24C.html
※ 編輯: aa12twtwaa (101.8.211.146), 07/05/2016 00:18:21
→
07/05 00:47, , 1F
07/05 00:47, 1F
→
07/05 09:25, , 2F
07/05 09:25, 2F
→
07/05 09:37, , 3F
07/05 09:37, 3F
推
07/05 09:41, , 4F
07/05 09:41, 4F
from distutils.core import setup
import py2exe
setup(
console = [ 'Hello.py']
)
※ 編輯: aa12twtwaa (101.8.211.146), 07/05/2016 10:04:04
Traceback (most recent call last):
File "Hello.py", line 2, in <module>
File "splinter\browser.pyc", line 63, in Browser
File "splinter\driver\webdriver\firefox.pyc", line 23, in __init__
File "selenium\webdriver\firefox\firefox_profile.pyc", line 64, in __init__
IOError: [Errno 2] No such file or directory: 'C:\\Users\\Jim\\Desktop\\\xb7s\
xb
cW\xb8\xea\xae\xc6\xa7\xa8 (4)\\dist\\library.zip\\selenium\\webdriver\\firefo
x\
\webdriver_prefs.json'
※ 編輯: aa12twtwaa (101.8.211.146), 07/05/2016 13:06:42
※ 編輯: aa12twtwaa (101.8.211.146), 07/05/2016 17:50:38
推
07/05 19:38, , 5F
07/05 19:38, 5F
→
07/05 21:47, , 6F
07/05 21:47, 6F
→
07/05 23:36, , 7F
07/05 23:36, 7F
→
07/05 23:40, , 8F
07/05 23:40, 8F
→
07/05 23:40, , 9F
07/05 23:40, 9F
→
07/05 23:40, , 10F
07/05 23:40, 10F
→
07/05 23:44, , 11F
07/05 23:44, 11F
→
07/05 23:44, , 12F
07/05 23:44, 12F
→
07/06 08:15, , 13F
07/06 08:15, 13F
→
07/06 08:15, , 14F
07/06 08:15, 14F
→
07/06 08:15, , 15F
07/06 08:15, 15F
推
07/06 08:17, , 16F
07/06 08:17, 16F
→
07/06 08:17, , 17F
07/06 08:17, 17F