Python Forum

Full Version: errors while installing packages
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Cry It always occur errors when i'm trying to install wheel or any other python package. What is the reason to always occur errors like this. how can i install packages correctly
Wall
Error:
C:\Users\Kavindu>python -m pip install --upgrade pip setuptools wheel Requirement already up-to-date: pip in c:\program files (x86)\python36-32\lib\si te-packages Requirement already up-to-date: setuptools in c:\program files (x86)\python36-32 \lib\site-packages Collecting wheel Using cached wheel-0.30.0-py2.py3-none-any.whl Installing collected packages: wheel Exception: Traceback (most recent call last): File "C:\Program Files (x86)\Python36-32\lib\site-packages\pip\basecommand.py" , line 215, in main status = self.run(options, args) File "C:\Program Files (x86)\Python36-32\lib\site-packages\pip\commands\instal l.py", line 342, in run prefix=options.prefix_path, File "C:\Program Files (x86)\Python36-32\lib\site-packages\pip\req\req_set.py" , line 784, in install **kwargs File "C:\Program Files (x86)\Python36-32\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 (x86)\Python36-32\lib\site-packages\pip\req\req_install .py", line 1064, in move_wheel_files isolated=self.isolated, File "C:\Program Files (x86)\Python36-32\lib\site-packages\pip\wheel.py", line 345, in move_wheel_files clobber(source, lib_dir, True) File "C:\Program Files (x86)\Python36-32\lib\site-packages\pip\wheel.py", line 316, in clobber ensure_dir(destdir) File "C:\Program Files (x86)\Python36-32\lib\site-packages\pip\utils\__init__. py", line 83, in ensure_dir os.makedirs(path) File "C:\Program Files (x86)\Python36-32\lib\os.py", line 220, in makedirs mkdir(name, mode) PermissionError: [WinError 5] Access is denied: 'C:\\Program Files (x86)\\Python 36-32\\Lib\\site-packages\\wheel'
Do you read the error message? It's to tell you where is the issue.

Quote:PermissionError: [WinError 5] Access is denied: ....

Run it with administrative privileges.
this might be silly thread for others..but its damn helping!!
thanks snippsat!!