minconda配置pycharm的开发环境stepbystep

一、基于miniconda安装py36_env

1安装miniconda,切换到目标目录:…/conda/

https://docs.conda.io/en/latest/miniconda.html#windows-installers 选的3.8的installer,应都行

2创建py36_env虚拟环境

conda create -c https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge/ --override --yes --name py36_env python=3.6

3切换到虚拟环境py36_env,切换方式如下,启动方式是conda目录下的

cd Script
activate py36_env

4配置安装镜像源 或者采取下面的文件编辑方法

conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge/
conda config --set show_channel_urls yes #设置搜索时显示通道地

你可能感兴趣的:(Python的学习之路,pycharm,python,windows)