Thursday, March 29, 2018

Installing new packages behind proxy



There are 2 main ways to do this :

pip install pandas
python -m pip install pandas --proxy proxy..com:3128

Second option has many other parameters which can be passed.

For installing via notebook, we can do as follows :

import sys
!{sys.executable} -m pip install numpy
!{sys.executable} -m pip list --user 

No comments:

Post a Comment