Skip to content
This repository has been archived by the owner on Jan 23, 2022. It is now read-only.

[WinError 193] %1 is not a valid Win32 application #2

Closed
wlrd1000 opened this issue Sep 17, 2021 · 1 comment
Closed

[WinError 193] %1 is not a valid Win32 application #2

wlrd1000 opened this issue Sep 17, 2021 · 1 comment

Comments

@wlrd1000
Copy link

C:\Users\rod\Desktop\hCaptcha-Bypass-master>py main.py
Traceback (most recent call last):
File "C:\Users\rod\Desktop\hCaptcha-Bypass-master\main.py", line 74, in
print(new())
File "C:\Users\rod\Desktop\hCaptcha-Bypass-master\main.py", line 49, in new
driver = Chrome(executable_path="./chromedriver", options=options)
File "C:\Users\rod\AppData\Local\Programs\Python\Python39\lib\site-packages\undetected_chromedriver_init_.py", line 57, in new
instance.init(*args, **kwargs)
File "C:\Users\rod\AppData\Local\Programs\Python\Python39\lib\site-packages\seleniumwire\webdriver.py", line 168, in init
super().init(*args, **kwargs)
File "C:\Users\rod\AppData\Local\Programs\Python\Python39\lib\site-packages\selenium\webdriver\chrome\webdriver.py", line 69, in init
super(WebDriver, self).init(DesiredCapabilities.CHROME['browserName'], "goog",
File "C:\Users\rod\AppData\Local\Programs\Python\Python39\lib\site-packages\selenium\webdriver\chromium\webdriver.py", line 90, in init
self.service.start()
File "C:\Users\rod\AppData\Local\Programs\Python\Python39\lib\site-packages\selenium\webdriver\common\service.py", line 74, in start
self.process = subprocess.Popen(cmd, env=self.env,
File "C:\Users\rod\AppData\Local\Programs\Python\Python39\lib\subprocess.py", line 951, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "C:\Users\rod\AppData\Local\Programs\Python\Python39\lib\subprocess.py", line 1420, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
OSError: [WinError 193] %1 is not a valid Win32 application

how to fix?

@MainSilent
Copy link
Owner

The chromedriver in repository is for linux and chrome 89, you need to download a chromedriver for the operating system and google chrome version you want to use, that is why at the end it says is not a valid Win32 application.

@MainSilent MainSilent pinned this issue Sep 18, 2021
@MainSilent MainSilent changed the title error [WinError 193] %1 is not a valid Win32 application Sep 18, 2021
@MainSilent MainSilent unpinned this issue Jan 23, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants