源码里面的去掉cdc的chromedriver 是哪个版本
来源:10-4 scrapy-redis编写分布式爬虫代码
大地主4381166
2020-04-06
我在centos7里安装 一直各种报错
File “./0405.py”, line 18, in
driver = webdriver.Chrome(executable_path=’/usr/bin/chromedriver’, chrome_options=chrome_options)
File “/www/wwwroot/juda/juda_venv/lib/python3.6/site-packages/selenium/webdriver/chrome/webdriver.py”, line 73, in init
self.service.start()
File “/www/wwwroot/juda/juda_venv/lib/python3.6/site-packages/selenium/webdriver/common/service.py”, line 76, in start
stdin=PIPE)
File “/root/.pyenv/versions/3.6.8/lib/python3.6/subprocess.py”, line 729, in init
restore_signals, start_new_session)
File “/root/.pyenv/versions/3.6.8/lib/python3.6/subprocess.py”, line 1364, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
OSError: [Errno 8] Exec format error: ‘/usr/bin/chromedriver’
文件是存在的 chrome我安装的是73版本
1回答
-
bobby
2020-04-07
这里是chrome73版本的 但是我之前没有测试过 我只测试过windows下的。你也可以根据https://stackoverflow.com/questions/33225947/can-a-website-detect-when-you-are-using-selenium-with-chromedriver 这里面的提示去自己修改文件
022020-04-10
相似问题