BigARTM 的车轮问题

问题描述 投票:0回答:1

我正在尝试按照 说明在 Ubuntu 上安装 BigARTM。

一切都很顺利,直到我跑步

sudo make

它会生成以下错误:

[ 99%] Building python package bigartm
running build
running build_py
[ 99%] Built target python_bigartm_build
[100%] Building wheel bigartm
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
   or: setup.py --help [cmd1 cmd2 ...]
   or: setup.py --help-commands
   or: setup.py cmd --help

error: invalid command 'bdist_wheel'
python/CMakeFiles/python_bigartm_wheel.dir/build.make:57: recipe for target 'python/CMakeFiles/python_bigartm_wheel' failed
make[2]: *** [python/CMakeFiles/python_bigartm_wheel] Error 1
CMakeFiles/Makefile2:781: recipe for target 'python/CMakeFiles/python_bigartm_wheel.dir/all' failed
make[1]: *** [python/CMakeFiles/python_bigartm_wheel.dir/all] Error 2
Makefile:140: recipe for target 'all' failed

我怀疑问题与车轮有关。所以我更新了轮子:

user@user:~/bigartm/build$ pip install wheel
Collecting wheel
  Using cached wheel-0.31.0-py2.py3-none-any.whl
Installing collected packages: wheel
Successfully installed wheel-0.31.0

我还更新了 conda 中的wheel,现在显示了:

$ conda list | grep wheel

wheel                     0.31.0                   py36_0  
wheel                     0.31.0                    <pip>

那没有帮助。

python pip python-wheel
1个回答
-1
投票

似乎你没有一些名为

bdist_wheel
的图书馆。它是由
setuptools
导入的。

pip install setuptools

您还需要安装以下一些库(只需

pip install XXX
,其中
XXX
是出错的库的名称)。

[编辑]

您现在无法安装 BigARTM。

© www.soinside.com 2019 - 2024. All rights reserved.