Skip to content
Advertisement

Could not install packages due to a EnvironmentError Pip

I am installing Flask using the pip install flask command.

Can somebody help me?

When installing a package I get these errors and warnings:

JavaScript

Advertisement

Answer

It seems that you have a slow connection to the server. Try increasing the timeout:

JavaScript

and then do the pip install. You can also try:

JavaScript

Or if you’re trying to install on a corporate network with a firewall in place, can you connect to another WiFi or hot spot and try downloading again?

User contributions licensed under: CC BY-SA
5 People found this is helpful
Advertisement