我试图安装dgl(https://github.com/dmlc/dgl)
有几种安装方法。(https://docs.dgl.ai/install/index.html#install-from-source)
当我尝试点子时失败,并显示错误消息
$ pip install dgl-cu101
ERROR: Could not find a version that satisfies the requirement dgl-cu101 (from versions: none)
ERROR: No matching distribution found for dgl-cu101
甚至点子搜索都可以找到包裹
$ pip search dgl
dgl (0.4.1) - Deep Graph Library
dgl-bots.py (1.1.0) - A python wrapper for https://bots.discord.gl
dgl-cu100 (0.4.1) - Deep Graph Library
dgl-cu92 (0.4.1) - Deep Graph Library
dgl-cu90 (0.4.1) - Deep Graph Library
dgl-cu101 (0.4.1) - Deep Graph Library
dgl-cu102 (0.5a200108) - Deep Graph Library
康达也不起作用
$ conda install -c dglteam dgl-cuda10.1
Solving environment: failed
PackagesNotFoundError:
The following packages are not available from current channels:
- dgl-cuda10.1
Current channels:
- https://conda.anaconda.org/dglteam/linux-ppc64le
- https://conda.anaconda.org/dglteam/noarch
- https://repo.anaconda.com/pkgs/main/linux-ppc64le
- https://repo.anaconda.com/pkgs/main/noarch
- https://repo.anaconda.com/pkgs/free/linux-ppc64le
- https://repo.anaconda.com/pkgs/free/noarch
- https://repo.anaconda.com/pkgs/r/linux-ppc64le
- https://repo.anaconda.com/pkgs/r/noarch
- https://repo.anaconda.com/pkgs/pro/linux-ppc64le
- https://repo.anaconda.com/pkgs/pro/noarch
- https://conda.anaconda.org/conda-forge/linux-ppc64le
- https://conda.anaconda.org/conda-forge/noarch
To search for alternate channels that may provide the conda package you're
looking for, navigate to
https://anaconda.org
and use the search bar at the top of the page.
使用源代码安装是不可用的选项,因为我是服务器的远程客户端,并且没有root用户访问权限
用whl安装看起来不错,但也会发生错误。(https://pypi.org/project/dgl/#files)
$ pip install dgl_cu101-0.4.1-cp37-cp37m-manylinux1_x86_64.whl
ERROR: dgl_cu101-0.4.1-cp37-cp37m-manylinux1_x86_64.whl is not a supported wheel on this platform.
我几乎阅读了所有文章,其中大多数都说这是环境问题,但据我所知,它们是匹配的!
我的环境服务器
我的环境客户
我怎么解决这个问题?请帮忙。
您的conda频道
https://conda.anaconda.org/dglteam/linux-ppc64le
提供线索。您的系统似乎基于ppc64le
CPU,而不是最常见的x86_64。
如您所见,在conda页面上,只有linux-64
(即x86_64
)可用。同去的项目的PyPI。
因此您的设置不匹配。
使用源代码安装是不可用的选项,因为我是服务器的远程客户端,并且没有root用户访问权限
gcc-c++ python3-devel make cmake
如果尚不可用,可以使用进行安装conda
:
conda install -c conda-forge make cmake libgcc
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句