Python安装torch时很慢问题解决办法

Setiuo...AIMachine LearningPython小于 1 分钟

Python安装torch时很慢问题解决办法

可以采取的办法:临时使用清华源进行安装

使用anaconda时也可以直接使用该pip命令进行安装

pip install -i https://pypi.tuna.tsinghua.edu.cn/simple torch torchvision

Python安装其它库时如果很慢都可以尝试使用清华源进行安装,例如安装“库名1”和“库名2”,则命令为:

pip install -i https://pypi.tuna.tsinghua.edu.cn/simple 库名1 库名2
你认为这篇文章怎么样?
  • 0
  • 0
  • 0
  • 0
  • 0
  • 0
评论
  • 按正序
  • 按倒序
  • 按热度
Powered by Waline v2.14.7