Peng-YM / LeetCode-Anki

Beat LeetCode with the Power of Anki.
GNU General Public License v3.0
226 stars 31 forks source link

OSError: [WinError 193] %1 不是有效的 Win32 应用程序。 #4

Open chenchenchen7 opened 3 years ago

chenchenchen7 commented 3 years ago

请问这是什么问题呀 谢谢! F:\LeetCode-Anki-master>python main.py 😎 Starting browser login..., please fill the login form Traceback (most recent call last): File "main.py", line 10, in worker.login() File "F:\LeetCode-Anki-master\crawler.py", line 42, in login browser = webdriver.Chrome(executable_path="./vendor/chromedriver") File "C:\Users\76731\AppData\Local\Programs\Python\Python36\lib\site-packages\selenium\webdriver\chrome\webdriver.py", line 73, in init self.service.start() File "C:\Users\76731\AppData\Local\Programs\Python\Python36\lib\site-packages\selenium\webdriver\common\service.py", line 76, in start stdin=PIPE) File "C:\Users\76731\AppData\Local\Programs\Python\Python36\lib\subprocess.py", line 709, in init restore_signals, start_new_session) File "C:\Users\76731\AppData\Local\Programs\Python\Python36\lib\subprocess.py", line 997, in _execute_child startupinfo) OSError: [WinError 193] %1 不是有效的 Win32 应用程序。

moon290 commented 3 years ago

更新了浏览器驱动解决了~

moon290 commented 3 years ago

但是登陆不成功,这是什么原因呢 20210320181534

Alfred212121 commented 3 years ago

同样,把浏览器驱动配置成一致后还是不行

che808 commented 2 years ago

same problem