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

Premission denied [WinError 5] #66

Open
VEZcoding opened this issue Feb 8, 2021 · 1 comment
Open

Premission denied [WinError 5] #66

VEZcoding opened this issue Feb 8, 2021 · 1 comment

Comments

@VEZcoding
Copy link

Had to change the webbot.py block to define the executable path for chromedrive. Now it finds it but the program can't access it.

PermissionError: [WinError 5] Access is denied: '...path/chrome_windows.exe'

Selenium doesn't have this problem.

Any suggestions?

@manwapri
Copy link

manwapri commented Jul 8, 2021

Step 1: Open cmd and fire pip command
pip install webbot

Step 2: check your chrome version
go to Menu -> Help -> About Google Chrome

Step 3: Download chrome driver as per the chrome version from below link
https://sites.google.com/a/chromium.org/chromedriver/downloads

Step 4: extract the driver file and save it to,
C:\Users%USERNAME%\AppData\Local\Programs\Python\Python39\lib\site-packages\webbot\drivers\

Step 5: In drivers forlder, make copy of chrome_windows (Simply copy the file & paste it in same folder)
new file will be like "chrome_windows - Copy.exe"
and delete the original "chrome_windows.exe"

Step 6: Rename the extracted file "chromedriver.exe" to "chrome_windows.exe"

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

2 participants