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包就可以。在机器上解压,运行就可以
  • 相关阅读:
    CSP2019题解
    [NOI2019]弹跳(KD-Tree)
    集合框架面试题
    注解
    WiFi攻防
    简单完整讲述Servlet生命周期
    Java多线程
    Java--面向对象讲解
    layUi
    java提高篇(三)-----理解java的三大特性之多态
  • 原文地址:https://www.cnblogs.com/oraser/p/7492251.html
Copyright © 2011-2022 走看看