0

Why I can not install any package from PyCharm on Windows? I have given full control in my user permissions to the recommended folders but I still get Permission denied I also try to install this as admin by command line.

In specific I am working with Python, and the library I want to install is Flask, but I can't install any package.

To avoid answers that have already been commented, I did the following commands as administrator:

pip install Flask
python -m pip install Flask

the error

Error: PermissionError: [Errno 13] Permission denied: 
bad_coder
  • 11,289
  • 20
  • 44
  • 72
Danielo
  • 11
  • 2
  • Try using a virtualenv? – OneCricketeer Aug 24 '17 at 20:47
  • yes error is the same even with a virtualenv, error seems like permissions admin but I cant find in which folder I can not install some package with pip! and Pip is correctly installed recently I have installed pytest with pip correctly but I can not install Flask!!. – Danielo Aug 25 '17 at 01:09
  • If you're able to create a virtualenv, activate it, and still not be able to use pip from it, I really don't what to tell you. Maybe try installing Miniconda instead and see how far you can get – OneCricketeer Aug 25 '17 at 01:22
  • I did it, and still error! Error: PermissionError: [Errno 13] Permission denied: The problem is with permission but I dont know where, The problems occurs with many packages like Flask Django etc. – Danielo Aug 25 '17 at 16:26
  • Can you open CMD as administrator and do it? – OneCricketeer Aug 26 '17 at 00:32
  • Yes I did it too, but can not install I am getting a little crazy. I will install pycharm and python into unit C and I will try again – Danielo Aug 26 '17 at 16:07
  • If all else fails, use Docker or a VirtualBox – OneCricketeer Aug 26 '17 at 16:32
  • All failed this sucks. I will try with virtualBox or Docker Thanks for answer man – Danielo Aug 26 '17 at 16:40
  • Yeah, sorry. Not sure where the actual problem is. – OneCricketeer Aug 26 '17 at 16:41

1 Answers1

-1

Try :

C:\Python34> pip install flask

If that is the directory for your python installation.

Referenced Articles:

Installing flask on Windows 7?

How to install Flask on Windows?

Ragxion
  • 113
  • 10
  • I tried the command you posted but still : PermissionError: [Errno 13] Permission denied:error: 'C:\\Users\\lopez\\AppData\\Local\\Temp\\pycharm-packaging\\ipython\\IPython\\lib\\security.py' And this happens for any package I want to install – Danielo Aug 24 '17 at 20:55