Community
cancel
Showing results for 
Search instead for 
Did you mean: 
1,143 Views

pip3 install --proxy usage?

On windows 10 platform to run this batch file that seems pulling in python library failing socket connection?

C:\Intel\computer_vision_sdk_2018.2.304\deployment_tools\demo>demo_squeezenet_download_convert_run.bat

Python 3.6.5

ECHO is off.

Collecting pyyaml

  Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', ConnectionResetError(10054, 'An existing connection was forcibly closed by the remote host', None, 10054, None))': /simple/pyyaml/

 

Try out pip3 install numpy --proxy PROXY-SERVER:PORT_NUMBER with real proxy server name and port number still no luck?

 

Appreciate if can get help?

0 Kudos
2 Replies
Monique_J_Intel
Employee
1,143 Views

Hi Ping-Chuan,

This link should help and if all else fails then you could just set the proxy environment variable by doing the following via command line:On
set http_proxy=http://<proxyHost>:<proxyPort>
set https_proxy=https://<proxyHost>:<proxyPort>

Kind Regards,

Monique Jones

1,143 Views

Magic!

I set both environment variables then the problem solved.

Thanks very much!

 

Ping

 

Reply