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包就可以。在机器上解压,运行就可以原文:http://www.cnblogs.com/oraser/p/7492251.html