pre { direction: ltr; color: rgb(0, 0, 10); text-align: left }
pre.western { font-family: "Liberation Mono", serif }
pre.cjk { font-family: "Droid Sans" }
pre.ctl { font-family: "Liberation Mono" }
td p { margin-bottom: 0cm; direction: ltr; color: rgb(0, 0, 10); text-align: left }
td p.western { font-family: "Liberation Serif", serif; font-size: 12pt }
td p.cjk { font-family: "Droid Sans"; font-size: 12pt }
td p.ctl { font-family: "Droid Sans"; font-size: 12pt }
p { margin-bottom: 0.25cm; direction: ltr; color: rgb(0, 0, 10); line-height: 120%; text-align: left }
p.western { font-family: "Liberation Serif", serif; font-size: 12pt }
p.cjk { font-family: "Droid Sans"; font-size: 12pt }
p.ctl { font-family: "Droid Sans"; font-size: 12pt }
code.ctl { font-family: "Liberation Mono", monospace }
a:link { }
python
环境部署:
清华大学开源软件镜像站 https://mirrors.tuna.tsinghua.edu.cn/help/anaconda/
1.
下载
conda:wget
https://mirrors.tuna.tsinghua.edu.cn/anaconda/archive/Anaconda2-4.4.0-Linux-x86_64.sh
2.
安装:
sudo chmod u+x Anaconda2-4.4.0-Linux-x86_64.sh
./Anaconda2-4.4.0-Linux-x86_64.sh
3.
环境配置:
~/.bashrc
和
/etc/profile
中加入
,记得
source
# added by Anaconda2 4.4.0 installer
export PATH="/home/q/software/python2/bin:$PATH"
4.
加入
Anaconda
仓库的镜像
conda
config --add channels
https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
conda
config --set show_channel_urls yes
5.
查看是否安装成功
python –version
6.
通过
pip
安装其他依赖环境
7.
把本地代码打包,上传到
机器上,直接打
tar
包就可以。在
机器上解压,运行就可以