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,tryingtoinstallpipinstallvirtualenv
willnotwork,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_proxy
variableintheenvironmentvariablesintheenvironmentvariables:
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.