I am using Replit to run this python code and I am also using undetected chromedriver to run the chromedriver and the problem I am having is that I keep getting status code 127 whenever I use undetected chromedriver but I don't get it if I use Selenium and when it runs it opens chrome but it gives me status code 127
Traceback (most recent call last):
File "main.py", line 2, in <module>
driver = uc.Chrome()
File "/home/runner/AverageMarvelousExtraction/venv/lib/python3.8/site-packages/undetected_chromedriver/__init__.py", line 401, in __init__
super(Chrome, self).__init__(
File "/home/runner/AverageMarvelousExtraction/venv/lib/python3.8/site-packages/selenium/webdriver/chrome/webdriver.py", line 70, in __init__
super(WebDriver, self).__init__(DesiredCapabilities.CHROME['browserName'], "goog",
File "/home/runner/AverageMarvelousExtraction/venv/lib/python3.8/site-packages/selenium/webdriver/chromium/webdriver.py", line 90, in __init__
self.service.start()
File "/home/runner/AverageMarvelousExtraction/venv/lib/python3.8/site-packages/selenium/webdriver/common/service.py", line 98, in start
self.assert_process_still_running()
File "/home/runner/AverageMarvelousExtraction/venv/lib/python3.8/site-packages/selenium/webdriver/common/service.py", line 110, in assert_process_still_running
raise WebDriverException(
selenium.common.exceptions.WebDriverException: Message: Service /home/runner/.local/share/undetected_chromedriver/b0a5dc1c5d1f6fc4_chromedriver unexpectedly exited. Status code was: 127
The Code I used
import undetected_chromedriver as uc
driver = uc.Chrome()
I tried googling what to do and i found this link but Replit uses a docker so I cant do the things here