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

How to run on linux? #4

Open
hassanelsherbiny opened this issue Mar 11, 2024 · 0 comments
Open

How to run on linux? #4

hassanelsherbiny opened this issue Mar 11, 2024 · 0 comments

Comments

@hassanelsherbiny
Copy link

Hello, I'm trying to get this to run on my linux machine.

Traceback (most recent call last):
  File "/home/****/.local/lib/python3.9/site-packages/selenium/webdriver/common/service.py", line 72, in start
    self.process = subprocess.Popen(cmd, env=self.env,
  File "/usr/lib/python3.9/subprocess.py", line 951, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "/usr/lib/python3.9/subprocess.py", line 1821, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
PermissionError: [Errno 13] Permission denied: 'C:\\Program Files (x86)\\chromedriver.exe'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/****/Documents/Programming/python/auto-lingo/auto-lingo.py", line 796, in <module>
    main()
  File "/home/****/Documents/Programming/python/auto-lingo/auto-lingo.py", line 773, in main
    driver = webdriver.Chrome(settings['chromedriver_path'], options=chrome_options)
  File "/home/****/.local/lib/python3.9/site-packages/selenium/webdriver/chrome/webdriver.py", line 73, in __init__
    self.service.start()
  File "/home/****/.local/lib/python3.9/site-packages/selenium/webdriver/common/service.py", line 86, in start
    raise WebDriverException(
selenium.common.exceptions.WebDriverException: Message: 'C:\Program Files (x86)\chromedriver.exe' executable may have wrong permissions. Please see https://sites.google.com/a/chromium.org/chromedriver/home

😄 Much thanks!

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

1 participant