pytorch安装中的一些命令

操作环境

  • windows10
  • anaconda
  • conda
  • jupyter

查看显卡

  • cmd命令下nvidia-smi效果如图在这里插入图片描述

anaconda promopt

  • conda env list查看虚拟环境
  • conda activate test 激活并进入test虚拟环境
  • conda deactivate test关闭并退出环境
  • conda install jupyter notebook安装jupyter notebook
  • jupyter --version查看jupyter版本号在这里插入图片描述
  • pip list查看虚拟环境下已安装的包
    -在这里插入图片描述

Guess you like

Origin blog.csdn.net/qq_42194332/article/details/120973212