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

前端 未结 6 1208
星月不相逢
星月不相逢 2020-12-09 09:04

Could not find a version that satisfies the requirement torch>=1.0.0 No matching distribution found for torch>=1.0.0 (from stanfordnlp)

相关标签:
6条回答
  • 2020-12-09 09:40

    I had this same issue while installing standfordnlp in my windows 10 system. Installing torch before installing stanfordnlp worked out for me. I have installed torch from pytorch official website.

    0 讨论(0)
  • 2020-12-09 09:40

    This can also happen if your Python version is too new. Pytorch currently does not support past 3.7.9.

    Figured out from: https://stackoverflow.com/a/58902298/5090928

    0 讨论(0)
  • 2020-12-09 09:40

    follow the link: https://pytorch.org/

    and set your system requirement in QUICK START LOCALLY SECTION

    0 讨论(0)
  • 2020-12-09 09:43

    I had some difficulties with this as well. The steps I had to do was:

    Install the latest version of PyTorch:

     pip3 install torch===1.3.1 torchvision===0.4.2 -f 
      https://download.pytorch.org/whl/torch_stable.html
    

    Make sure you are installing with 64bit python version; otherwise, it won't work

    0 讨论(0)
  • 2020-12-09 09:53

    I tried every possible command for Windows, but nothing worked. I also tried using Pycharm package installation, everything throws the same error.

    Finally installed Pytorch using Anaconda.

    0 讨论(0)
  • 2020-12-09 10:03

    This is the latest command for pytorch.

    pip install torch===1.4.0 torchvision===0.5.0 -f https://download.pytorch.org/whl/torch_stable.html
    
    0 讨论(0)
提交回复
热议问题