转载:window安装torchvision失败 来源:https://blog.csdn.net/Miaosh999/article/details/104322336 最初在控制台上输入 pip install torchvision 结果报错 ERROR: Could not find a version that satisfies the requirement torch==1.4.0 (from torchvision) (from versions: 0.1.2, 0.1.2.post1, 0.1.2.post2...
torchvision pip安装失败之后的源码安装 git clone git checkout 0.2.0 pip install pillow python setup.py install
torchvisio..目前尝试解决方案:pillow更换成低版本4.1.1,然后再安装torchvision,安装后import torchvision貌似成功了,但是再次引用还是同样的错误。再次尝试将numpy版本换成低
pip install torchvision0.8.2+cpu torchaudio=0.7.2 -f https://download.pytorch.org/whl/torch_stable .html 仍然不行: 然后去搜镜像,输入: python -m pip install --upgrade torch torchvision -i https://pypi.tuna.tsinghua.edu.cn/simple 成功了。结果: 然后安装opencv: pip3 install opencv-contrib-...