LiuChangFreeman / WeiboChaoHuaDaily

微博超话经验全收集:评论、打榜、签到
MIT License
31 stars 5 forks source link

按照作者的方法操作了,可是出现了这个问题,网上找也没用找到解决方法,所以想来问一下作者这问题如何解决?谢谢作者 #6

Open libralovegakki opened 4 years ago

libralovegakki commented 4 years ago

Traceback (most recent call last): File "D:\谷歌下载\weibo-chaohua-daily-master\weibo-chaohua-daily-master\main.py", line 314, in main() File "D:\谷歌下载\weibo-chaohua-daily-master\weibo-chaohua-daily-master\main.py", line 110, in main driver = webdriver.Chrome(chrome_options=chrome_options) File "D:\python\lib\site-packages\selenium\webdriver\chrome\webdriver.py", line 81, in init desired_capabilities=desired_capabilities) File "D:\python\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 157, in init self.start_session(capabilities, browser_profile) File "D:\python\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 252, in start_session response = self.execute(Command.NEW_SESSION, parameters) File "D:\python\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 321, in execute self.error_handler.check_response(response) File "D:\python\lib\site-packages\selenium\webdriver\remote\errorhandler.py", line 242, in check_response raise exception_class(message, screen, stacktrace) selenium.common.exceptions.WebDriverException: Message: unknown error: cannot connect to chrome at 127.0.0.1:9222 from chrome not reachable (Driver info: chromedriver=2.40.565498 (ea082db3280dd6843ebfb08a625e3eb905c4f5ab),platform=Windows NT 10.0.17134 x86_64)