还可以的一个视频教程和文字教程

视频链接:(https://www.bilibili.com/video/BV1bQ4y1n7sn/?spm_id_from=333.337.search-card.all.click&vd_source=383c3454e0a30e6b8f08a9621b477848)
菜鸟教程链接(可以当作补充下面的命令):(https://www.runoob.com/python-qt/anaconda-tutorial.html)

一些常用的命令(感觉有助于理解虚拟环境)

目前对虚拟环境的理解就是创建一个单独的为特定项目服务的python编译环境(或者是解释器,环境更贴切一点因为环境里面可以加各种需要用到的包)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
conda info
查看虚拟环境列表:
conda env list
anaconda换源:
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 --set show_channel_urls yes
更改anaconda虚拟环境默认安装位置:
conda config --add envs_dirs D:\software\anaconda\envs
新建虚拟环境:
conda create -n yourname python=3.7
启用虚拟环境
conda activate yourname
删除虚拟环境
conda remove -n yourname --all
指定源安装
pip install opencv-python -i https://pypi.tuna.tsinghua.edu.cn/simple