Vinay Joseph
Vinay Joseph

Reputation: 5655

pip install Flask does not work in my environment

I am running: pip install Flask==1.0.2

This is happening in Windows 10 with python 3.7 installed. I also have Pycharm installed.

enter image description here

Could not install packages due to an EnvironmentError: [Errno 2] No such file or directory: 'c:\users\josevina.corpdom\appdata\roaming\python\python37\site-packages\six-1.11.0.dist-info\METADATA'

Environment variables have been set for JAVA_HOME to C:\Program Files\Java\jdk1.8.0_131\bin

Upvotes: 0

Views: 944

Answers (1)

Vinay Joseph
Vinay Joseph

Reputation: 5655

I was able to resolve this by deleting the contents of the following folder.

C:\Users\josevina.CORPDOM\AppData\Roaming\Python\Python37\site-packages

Upvotes: 1

Related Questions