Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
chenchenchen7 opened this issue Mar 8, 2021 · 4 comments
Open

Comments

@chenchenchen7
Copy link

请问这是什么问题呀 谢谢!
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
Copy link

moon290 commented Mar 20, 2021

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

@moon290
Copy link

moon290 commented Mar 20, 2021

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

@Alfred212121
Copy link

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

@che808
Copy link

che808 commented Jun 27, 2022

same problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants