|
8#
楼主 |
发表于 2017-5-9 13:05:35
|
只看该作者
很感谢大家的回复,改成大写后,仍然不行啊,报错如下:
Traceback (most recent call last):
File "D:/Python27/Lib/daxie.py", line 6, in <module>
browser = webdriver.Firefox()
File "D:\Python27\selenium\webdriver\firefox\webdriver.py", line 60, in __init__
self.binary, timeout),
File "D:\Python27\selenium\webdriver\firefox\extension_connection.py", line 45, in __init__
self.profile.add_extension()
File "D:\Python27\selenium\webdriver\firefox\firefox_profile.py", line 143, in add_extension
self._install_extension(extension)
File "D:\Python27\selenium\webdriver\firefox\firefox_profile.py", line 336, in _install_extension
shutil.rmtree(tmpdir)
File "D:/Python27/Lib\shutil.py", line 247, in rmtree
rmtree(fullname, ignore_errors, onerror)
File "D:/Python27/Lib\shutil.py", line 256, in rmtree
onerror(os.rmdir, path, sys.exc_info())
File "D:/Python27/Lib\shutil.py", line 254, in rmtree
os.rmdir(path)
WindowsError: [Error 145] : 'c:\\users\\bj-01-~1\\appdata\\local\\temp\\tmpm_weh5.webdriver.xpi\\components' |
|