当前位置:   article > 正文

ERROR: No matching distribution found for torch-geometri satisfies the requirement torch-geometric_no matching distribution found for torch==2.0.1

no matching distribution found for torch==2.0.1

试了网上的 whl下载 确保虚拟环境下nvcc 和cuda版本一致,还不行
遂找淘宝大佬,大佬换了pytorch版本 python版本都不行
最后根据报错出现的setup 安装了pytest-runner,然后pip search。
再pip install torch-geometric的时候就成功了

pip install pytest-runner
pip search torch-geometric
pip install torch-geometric
  • 1
  • 2
  • 3
(py37) zzj@zzj-MS-7B89:~$ conda  install torch-geometric
**WARNING: Discarding https://pypi.tuna.tsinghua.edu.cn/packages/6e/a0/70c2b2676436dff3c1e25461bbaa2559b49a2c5aec7210979768600b2021/torch_geometric-0.1.1.tar.gz#sha256=49cbfbe3893560ab3e05ed330da3062a7ea72ba923d674d5b3854d9e3eef4927 (from https://pypi.tuna.tsinghua.edu.cn/simple/torch-geometric/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
ERROR: Could not find a version that satisfies the requirement torch-geometric
ERROR: No matching distribution found for torch-geometric



(py37) zzj@zzj-MS-7B89:~$ pip install pytest-runner
Looking in indexes: http://pypi.tuna.tsinghua.edu.cn/simple
Collecting pytest-runner
  Downloading https://pypi.tuna.tsinghua.edu.cn/packages/40/96/9024a1c07bbe5e16bdcbcbd021b608e37b32df4301ae2090aad27c24ffe6/pytest_runner-5.3.0-py3-none-any.whl (7.1 kB)
Installing collected packages: pytest-runner
Successfully installed pytest-runner-5.3.0
(py37) zzj@zzj-MS-7B89:~$ 
(py37) zzj@zzj-MS-7B89:~$ pip search torch-geometric
*ERROR: XMLRPC request failed [code: -32500]
RuntimeError: PyPI's XMLRPC API is currently disabled due to unmanageable load and will be deprecated in the near future. See https://status.python.org/ for more information.*
(py37) zzj@zzj-MS-7B89:~$ pip install torch-geometric
Looking in indexes: http://pypi.tuna.tsinghua.edu.cn/simple
Collecting torch-geometric

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
声明:本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:【wpsshop博客】
推荐阅读
相关标签
  

闽ICP备14008679号