Problems with pip install to install VirtualEnvWrapper in Windows

1

I am trying to install virtualenvwrapper to then install Django. For this, I installed pip , but every time I try to run in CMD:

pip install virtualenvwrapper-win

The error appears:

  

Could not find a version that satisfies the requirement virtualenvwrapper-win

I'm using version 3.6 of Python, 10.0 of the pip and Windows.

    
asked by anonymous 05.07.2017 / 15:58

3 answers

1

As I've already said, it's no use getting people kicking responses, this error is generic , it can be anything and is usually not a problem with the package (unless the package does not exist) , this is not resolved by manually downloading the package and installing from the local machine, see that I was able to install virtualenvwrapper normally the package is correct:

Thereisnothingtodowithwrongpackageassaidintheotheranswer,tryingtoinstallpipinstallvirtualenvwillnotwork,it'snotdependencyproblem.

Thesolutionistosolvetheproblemofnetwork,proxyorSSL(whateveritis).

AsIsaid,thiserrorisgenericandcanbeanything,sotheidealwayistolookatthelogsanddetailstobesure,asIrequestedfortheMariana,thedetailederroristhis:

C:\Users\u516709>pipinstallvirtualenvCollectingvirtualenvRetrying(Retry(total=4,connect=None,read=None,redirect=None,status=None))afterconnectionbrokenby'NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnectionobjectat0x0380FC50>:Failedtoestablishanewconnection:[Errno11004]getaddrinfofailed',)':/simple/virtualenv/Retrying(Retry(total=3,connect=None,read=None,redirect=None,status=None))afterconnectionbrokenby'NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnectionobjectat0x0380FC90>:Failedtoestablishanewconnection:[Errno11004]getaddrinfofailed',)':/simple/virtualenv/Retrying(Retry(total=2,connect=None,read=None,redirect=None,status=None))afterconnectionbrokenby'NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnectionobjectat0x0380FA50>:Failedtoestablishanewconnection:[Errno11004]getaddrinfofailed',)':/simple/virtualenv/Retrying(Retry(total=1,connect=None,read=None,redirect=None,status=None))afterconnectionbrokenby'NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnectionobjectat0x0380FC30>:Failedtoestablishanewconnection:[Errno11004]getaddrinfofailed',)':/simple/virtualenv/Retrying(Retry(total=0,connect=None,read=None,redirect=None,status=None))afterconnectionbrokenby'NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnectionobjectat0x037FF930>:Failedtoestablishanewconnection:[Errno11004]getaddrinfofailed',)':/simple/virtualenv/Couldnotfindaversionthatsatisfiestherequirementvirtualenv(fromversions:)Nomatchingdistributionfoundforvirtualenv

Sooninthemessage:

'NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnectionobjectat0x0380FC50>:Failedtoestablishanewconnection:[Errno11004]getaddrinfofailed'

Youcannoticethattheerroriseitherwith:

  • Thenetworkoutsidethecomputerisblockedorusingsomeproxy(asIsaidoutsidethecomputer)andonlythenetworkadministratorcanresolve
  • NetworkhassomeconflictwithIPV6
  • SSLcertificatesmissing(unlikely)

IfyouareusingHTTPproxy

Ifthenetworkyouusehasaproxyblock,whichiscommoninenterprises,youwillneedtoconfigureproxyauthentication,soyouwillhavetorequestauthenticationfromtheadministrator(usuallythecomputeralreadyhasthisdataintheNetwork/InternetExploreroptions).

Thenwiththeproxyauthenticationdatayoucanconfigureproxyauthenticationwiththehttp_proxyvariableintheenvironmentvariablesintheenvironmentvariables:

http_proxy=http://userid:[email protected]:port

andHTTPS:

https_proxy=http://userid:[email protected]:port

Toaddinthe"Environment variables" follow the step by step:

  • Right-click My Computer (or Compute)
  • Go to Properties
  • Advanced System Settings / System Properties
  • Click the button at the bottom of the window called "Environment Variables"
  • It will appear two fields select the one below where the label also says "Environment variables"
  • Click the Novo... button and add the variable http_proxy to the value of your proxy http://userid:[email protected]:port
  • Do the same again but add the proxy to HTTPS https_proxy (I do not know if it's the same, it depends on your company network)

Just to state, depending on the proxy may not support HTTPS, then you will need to contact your network administrator.

    
05.07.2017 / 20:57
-2

Try:

pip install virtualenv

It worked here

    
05.07.2017 / 16:13
-2

The problem is with the module name.

Use:

pip install virtualenv

Virtualenv installation documentation, in English: link

    
05.07.2017 / 16:14