我试着安装dgl(https://github.com/dmlc/dgl)
安装它有几种方法。(https://docs.dgl.ai/install/index.html#install-from-source)
当我尝试pip时,错误消息失败了。
$ 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搜索到了这个包裹
$ 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也不起作用
$ 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.
“使用源代码安装”不可用,因为我是服务器的远程客户端,没有根访问权限。
使用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.
我几乎看过每一篇文章,其中大多数都说这将是环境问题,但据我所知,它们是匹配的!
我的env服务器
我的env客户
我该如何解决这个问题?请帮帮忙。
发布于 2020-01-08 14:12:23
你的conda频道
https://conda.anaconda.org/dglteam/linux-ppc64le
给出线索。您的系统似乎基于ppc64le
CPU,而不是最常见的x86_64。
如您所见,只有在conda页面上 (即x86_64
)是可用的。为pypi项目也是如此。
所以你的设置不匹配。
“使用源代码安装”不可用,因为我是服务器的远程客户端,没有根访问权限。
您不需要根访问来编译源代码。需求在指南中列出是
gcc-c++ python3-devel make cmake
如果还没有可用,则可以使用conda
安装
conda install -c conda-forge make cmake libgcc
https://stackoverflow.com/questions/59646501
复制相似问题