此处安装的是minconda3
打开anaconda powershell prompt
创建虚拟环境
conda create --name test_envs python=3.10
注意:
test_envs 为虚拟环境的名称
python = 3.10 为选择Python版本
Proceed ([y]/n)? 此处选择 y
如果出现InvalidArchiveError(“Error with archive D:\Minconda\pkgs\vs2015_runtime-14.29.30133-h43f2093_3.conda. You probably need to delete and re-download or re-create this file. Message was:\n\nfailed with error: [Errno 13] Permission denied: ‘D:\\Minconda\\pkgs\\vs2015_runtime-14.29.30133-h43f2093_3\\Library\\bin\\ucrtbase.dll’”)
表示安装路径权限有问题!修改权限既可解决!!
安装后会在本地文件夹中出现我们安装的test_envs的目录!
查看已有的虚拟环境 conda env list
切换虚拟环境 conda activate xxx
查看虚拟环境安装的程序
查看python 模块
如果初次安装pip 可以配制一下镜像地址