赞
踩
试了网上的 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
(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
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。