Anaconda 安装 Jupyter notebook 创建虚拟环境安装 pytorch 1.0

  1. conda install jupyter notebook
  2. conda install nb_conda
  3. conda create -n 环境名 python=3.6 ipykernel
    nb_conda 和 ipykernel 可以绑定 jupyter 与虚拟环境, 在运行 jupyter 时可以点选切换环境
  4. 切换 conda 下载源
    conda config --add channels https://mirrors.ustc.edu.cn/anaconda/pkgs/free/
    conda config --add channels https://mirrors.ustc.edu.cn/anaconda/pkgs/main/
    conda config --set show_channel_urls yes
    
    中科大 USTC Anaconda 源使用帮助
  5. conda install pytorch=1.0

你可能感兴趣的:(博客,深度学习,Python,anaconda,jupyter,pytorch,虚拟环境,换源)