PermissionError: [WinError 5] Access is denied

Answered

Hi, I am trying to install a package to use in my Pycharm IDE. Whenever I try to do this, I am getting the following error: PermissionError: [WinError 5] Access is denied:

I have figured out how to download the package from cmd.exe but haven't figured out how to solve this issue so I can use this package.

Any help is appreciated

Thanks.

 

2
2 comments

> I have figured out how to download the package from cmd.exe

Please make sure that you use the same interpreter in Pycharm and in the command line. Have you successfully installed the package in the command line? If so, Pycharm should detect changes and this package should appear in the packages list on `Settings| Project| Project interpreter` settings page.

 

0
Avatar
Permanently deleted user

Sammallabone19

Open your Pycharm Command Line by using ALT + F12 (if you're on Windows)

Create a new virtual environment by using this command:

conda create --name your_env_name

Activate your new virtual environment using command: activate your_env_name

Then it shoud work

 
0

Please sign in to leave a comment.