第一部分:纯命令版本(整理自第二部分)
sudo apt-get install python-dev
sudo apt-get install python-pip
sudo apt-get install python-setuptools
sudo pip install numpy
sudo pip install scipy
sudo pip install matplotlib
sudo pip install pandas
pip install xgboost
sudo pip install seaborn
sudo pip install jupyter
pip install tensorflow # Python 2.7; 仅支持CPU
pip install deap
pip install git+https://github.com/DEAP/deap@master
pip install tqdm stopit
pip install tpot
jupyter notebook --no-browser --port=8889
ssh -N -f -L localhost:8888:localhost:8889 ubuntu@139.198.190.254
jupyter notebook --generate-config
mkdir jupyter/officialData
cd .jupyter
vi xxxxxx.conf
scp /media/john/10167DFA167DE0E01/WPAN/GIT/PYTHON/kaggle_digit_recognizer/* ubuntu@139.198.190.254:/home/ubuntu/jupyter/
scp /media/john/10167DFA167DE0E01/WPAN/GIT/PYTHON/kaggle_digit_recognizer/officialData/* ubuntu@139.198.190.254:/home/ubuntu/jupyter/officialData/
scp ubuntu@139.198.190.254:/home/ubuntu/jupyter/* /media/john/10167DFA167DE0E01/WPAN/GIT/PYTHON/kaggle_digit_recognizer01/
tensorflow降级安装
实验二:
安装gpu的tensorflow(之所以pip3是应为本机pip总是安装到python2.7,只能这样将就了)
sudo pip3 install tensorflow-gpu
如果报错:
libcublas.so.9.0: cannot open shared object file: No such file or directory
则执行:
sudo pip3 install tensorflow-gpu==1.4
参考:
ImportError: libcublas.so.9.0: cannot open shared object file: No such file or directory:http://blog.csdn.net/w5688414/article/details/79187499