python 环境安装

Author Avatar
没饲养员的猩猩 04月 23,2021
  • 在其它设备中阅读本文章
  1. 下载python版本管理工具 miniconda/conda
  2. 配置conda环境变量-系统变量
    安装路径
    安装路径\Scripts
    安装路径\Library\bin
  3. 配置conda镜像地址
    conda config --add channels
    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
    conda config --set show_channel_urls yes
  4. 安装所需版本python
    conda create –n py37 python=3.7
    conda create –n 此版本别名 python=x.x
  5. 选择python版本
    activate py37
  6. 安装所需工具包
    conda install xxx