我在Python 3.4中有一个文件,我使用 cx_freeze 在 exe 中进行了转换。当我双击文件时,我什么都没得到,似乎是它的开放,并且自行关闭但是当我转到命令提示符时运行它我得到以下错误:
Traceback (most recent call last):
File "C:\Python34\lib\site-packages\cx_Freeze\initscripts\Console.py", line 27, in <module>
exec(code, m.__dict__)
File "Mytime.py", line 10, in <module>
File "C:\Python34\lib\site-packages\selenium\webdriver\firefox\webdriver.py", line 43, in _init_
self.profile = FirefoxProfile()
File "C:\Python34\lib\site-packages\selenium\webdriver\firefox\firefox_profile.py", line 64, in _init_
WEBDRIVER_PREFERENCES)) as default_prefs:
FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Python34\\build\\exe.win32-3.4\\library.zip\\selenium\\webdriver\\firefox\\webdriver_prefs.json'
缺少什么?