webbot icon indicating copy to clipboard operation
webbot copied to clipboard

Premission denied [WinError 5]

Open VEZcoding opened this issue 4 years ago • 1 comments

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?

VEZcoding avatar Feb 08 '21 15:02 VEZcoding

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"

manwapri avatar Jul 08 '21 04:07 manwapri