Madhu said that the global version of pip
is out of data and needs to be updated on a per-user basis.
Upgrading should get you to pip 8+, and then wheels (the new python distribution format) instead of eggs should get installed.
You can update & install within the notebook, but if you prefer to do it in Terminal after SSH'ing to notebook1001.eqiad.wmnet, you can add the path to your ~/.bash_profile:
[[ -r ~/.bashrc ]] && . ~/.bashrc
export PATH=${PATH}:~/venv/bin
export http_proxy=http://webproxy.eqiad.wmnet:8080
export https_proxy=http://webproxy.eqiad.wmnet:8080
Then you can use and upgrade pip
:
!pip install --upgrade pip
Then we can install (for example):
pip install \
pandas pandas-datareader requests beautifulsoup4 feather-format \
seaborn bokeh \
statsmodels scikit-learn hyperopt sklearn-pandas pystan pymc3 patsy
Warning: Install TensorFlow v1.0 specifically:
export TF_BINARY_URL=https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-1.0.0rc2-cp34-cp34m-linux_x86_64.whl
pip install $TF_BINARY_URL
pip install edward
Let's check that things work!
import seaborn as sns
iris = sns.load_dataset('iris')
iris.head()
%matplotlib inline
import seaborn as sns; sns.set()
sns.pairplot(iris, hue='species', size=1.5);
This nifty command comes to us courtesy of rbp at Stack Overflow:
pip freeze --local | grep -v '^\-e' | cut -d = -f 1 | xargs -n1 pip install -U