Month: May 2016

Feel stuck when install Python library behind a proxy server

Hi guys,

When you want to install Python library but you connect to internet through a proxy server. Don’t forget to run two commands below.

SET HTTP_PROXY=<proxyHost>:<proxyPort>
SET HTTPS_PROXY=<proxyHost>:<proxyPort>

Example :

SET HTTPS_PROXY=192.168.1.1:8080
SET HTTP_PROXY=192.168.1.1:8080

After that you can use pip to install Python library.

pip install matplotlib