Conda管理Python版本

发布时间 2023-11-18 11:07:28作者: 烨熠

查看Python版本

查看当前环境的Python版本

conda activate && python -V

查看指定环境

conda activate test && python -V

创建Python环境

先搜索conda有哪些python版本

conda search --full --name python

根据搜索出来的版本安装

conda create --name test python=3.9.7

或创建环境进去后自行安装版本

conda create --name test
conda activate test
conda install python=3.9.7