安装配置deep learning开发环境

1. 下载安装anaconda
https://www.anaconda.com/download-success

vim ~/.condarc

channels:  - bioconda  
- https://mirrors.ustc.edu.cn/anaconda/pkgs/main/  
- https://mirrors.ustc.edu.cn/anaconda/cloud/conda-forge/  
- https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/  
- defaultsshow_channel_urls: 

export PATH=$PATH:/Users/zhengxueming/anaconda3/bin
source ~/.zshrc

#安装环境
conda create --name deeplearning

# 激活
conda activate deeplearning

2. 安装pytorch

https://pytorch.org/

pip3 install torch torchvision torchaudio

# 系统有多个python/pip3时,注意安装位置。

3. 安装pycharm 并设置

https://www.jetbrains.com/pycharm/

# 设置默认python解释器

你可能感兴趣的:(生物信息学,pytorch)