python相关

python2.xx需要自行安装pip

wget https://bootstrap.pypa.io/get-pip.py

python get-pip.py

pip -V

sklearn安装:

python2.xx/python3.xx::

pip install -U scikit-learn

lightgbm安装:

python2.xx/python3.xx::

pip install lightgbm

tensorflow安装:

python2.xx:

sudo pip install --upgrade https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.12.0-cp27-none-linux_x86_64.whl(0.12版本)
sudo pip install --upgrade https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-1.0.1-cp27-cp27m-linux_x86_64.whl(1.0版本)

 python3.xx:

pip install tensorflow

pmml安装:

python2.xx/python3.xx:

pip install pypmm

pytorch安装:

python2.xx/python3.xx:

pip install torchvision

 pytorch安装:

pip install http://download.pytorch.org/whl/cu80/torch-0.1.12.post2-cp27-none-linux_x86_64.whl

原文地址:https://www.cnblogs.com/3chi/p/14202381.html