WindowsError [error 5] Access is denied when installing Python Packages using pip in Windows

If you encounter WindowsError [error 5] Access is denied when you do :

pip install somepythonpackage.whl

Just run your powershell or command prompt as administrator.
Right click, run as administrator.

D’oh!

Oh, and http://www.lfd.uci.edu/~gohlke/pythonlibs/ is a god-send if you need to install python libraries in Windows offline.

Advertisements

One thought on “WindowsError [error 5] Access is denied when installing Python Packages using pip in Windows

Add yours

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Blog at WordPress.com.

Up ↑

%d bloggers like this: