Closed GrandDuke1106 closed 1 year ago
Run python3 ./zodgame/zodgame.py "***" Traceback (most recent call last): File "D:\a\zodgame_checkin\zodgame_checkin\zodgame\zodgame.py", line 184, in <module> zodgame(cookie_string) File "D:\a\zodgame_checkin\zodgame_checkin\zodgame\zodgame.py", line 144, in zodgame driver = uc.Chrome(version_main=version, options = options) File "C:\hostedtoolcache\windows\Python\3.9.13\x64\lib\site-packages\undetected_chromedriver\__init__.py", line 453, in __init__ super(Chrome, self).__init__( TypeError: __init__() got an unexpected keyword argument 'executable_path' Error: Process completed with exit code 1.
临时的解决方法是在requirements.txt文件中,第一行添加selenium==4.9.1
requirements.txt
selenium==4.9.1
selenium==4.9.1 undetected-chromedriver
如果大佬有空可以针对新版本修一下
Thanks. 我想先等一下,上游应该很快就会更新好,这样我就不必在这里控制版本号了
undetected-chromedriver已经修复此问题,感谢您提供的方案。
临时的解决方法是在
requirements.txt
文件中,第一行添加selenium==4.9.1
如果大佬有空可以针对新版本修一下