ubuntu常用软件安装_机器学习_第一部分纯命令版本

第一部分:纯命令版本(整理自第二部分)

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

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值