Python Forum
Thread Rating:
  • 2 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
pip wont install selenium
#1
i have installed python 3.6 on my windows 8.1 laptop. but i cannot get pip to install selenium.
i get the following appear in red font on command prompt :
Exception:
Traceback <most recent call last>:
File "c:\program files\python37\lib\site-packages\pip\basecommand.py", line 215, in main
status = self.run<options, args>
File "c:\program files\python37\lib\site-packages\pip\commands\install.py", line 342, in run
prefix=options.prefix_path,
File "c:\program files\python37\lib\site-packages\pip\req\req_set.py!, line 784, in install
**kwargs
File "c:\program files\python37\lib\site-packages\pip\req\req_install.py", line 851, in install
self.move_wheel_files<self.source_dir, root=root, prefix=prefix>
File "c:\program files\python37\lib\site-packages\pip\req\req_install.py", line 1064, in move_wheel_files
isolated=self.isolated,
File "c:\program files\python37\lib\site-packages\pip\wheel.py", line 345, in move_wheel_files
clobber<source, lib_dir, True>
File "c:\program files\python37\lib\site-packages\pip\wheel.py", line 316, in clobber
ensure_dir<destdir>
File "c:\program files\python37\lib\site-packages\pip\utils\__init__.py", line 83, in ensure_dir
os.makedirs<path>
File "c:\program files\python37\lib\os.py", line 221, in makedirs
mkdir<name, mode>
PermissionError: [winError 5] Acces is denied: 'c:\\program files\\python37\\Lib\\site-packages\\selenium'

can anyone help me as i am a complete beginner.
thanks
Reply
#2
Error:
PermissionError: [winError 5] Acces is denied: 'c:\\program files\\python37\\Lib\\site-packages\\selenium'
This means you dont have permission. Get an elevated command prompt.
Reply
#3
Thanks, that worked.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Proxy Variable in Selenium wont work with FireFox Profile Proxy Setting. MIPython 0 7,142 Jul-13-2018, 05:43 PM
Last Post: MIPython
  Error in Selenium: CRITICAL:root:Selenium module is not installed...Exiting program. AcszE 1 2,208 Nov-03-2017, 08:41 PM
Last Post: metulburr
  selenium-3.0.1.tar.gz install Blue Dog 3 4,350 Nov-17-2016, 08:47 PM
Last Post: nilamo

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020