找不到满足要求的版本 torch>=1.1.0

Could not find a version that satisfies the requirement torch>=1.1.0

当我尝试使用以下命令安装 torchvision 时

pip install torchvision

我在命令行工具中收到以下错误。如果有人可以提出建议,那就太好了。我找不到问题出在哪里!

请创建一个单独的 conda environmentconda create --name myenv

激活此环境 conda activate myenv 然后在其中安装 pytorch。

pytorch documentation 为您提供正确的设置命令

此外,您还可以通过 which python 查看您当前使用的 python。