I am using VPN to connect to the client VM. I am unable to install a python-Docx package using pip or manually downloading the tar.gz.
When using pip I get the below error
after connection broken by ConnectTimeoutError(<pip._vendor.urllib3.connection.HTTPSConnection object at 0x000002544D09BF50>, 'Connection to pypi.org timed out. (connect timeout=15)')
:
When trying to manually install it get an error
Download error on https://pypi.org/simple/: timed out -- Some packages may not be found!
No local packages or working download links were found for lxml>=2.3.2
After researching a few posts I found this could be because I'm behind a proxy or a network issue. Two solutions are provided in the forum but I have my doubts
Solution 1 use the below command. I wanted to know where can I find the username, password, server, and port details. Are these my VM login credentials
pip install package --proxy=http://username:password@server:port
Solution 2 create two environment variables: HTTP_PROXY and HTTPS_PROXY. What should be the value for the environment variable.