zoukankan      html  css  js  c++  java
  • python 环境部署:

     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包就可以。在机器上解压,运行就可以
  • 相关阅读:
    java 编码问题
    关于时间
    页面
    关于微信
    01-jQuery的介绍
    15-BOM
    14-定时器
    13-JS中的面向对象
    12-关于DOM操作的相关案例
    购物车练习
  • 原文地址:https://www.cnblogs.com/oraser/p/7492251.html
Copyright © 2011-2022 走看看