python相关配置

发布时间 2024-01-05 12:43:23作者: YTZt

anaconda

  • which conda //anaconda的位置
  • conda info -e
  • conda create -n your_env_name python=x.x -y conda create -n yolov5 python=3.7 -y //创建虚拟环境
  • conda activate test //激活虚拟函数
  • conda deactivate //关闭虚拟环境
  • conda remove -n test --all //删除虚拟环境
  • conda env list
  • conda config --show channels //看当前配置的镜像源
  • 这个环境下所有安装过的包 conda list pip安装的 pip list pip3安装的 pip3 list

python