-1

我是 python 新手。我正在尝试在我的 CentOS 机器上安装 Mahotas 软件包。

  • 命令:sudo pip3 install mahotas
  • Python版本:3.6.8
  • 操作系统:CentOS 8

错误:

Command "/usr/bin/python3.6 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-e01qget1/mahotas/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-_ao2xjit-record/install-record.txt --single-version-externally-managed --compile --user --prefix=" failed with error code 1 in /tmp/pip-build-e01qget1/mahotas/
4

1 回答 1

1

mahotas 的作者在这里。信息太少,无法找出问题所在。

我建议您尝试使用 conda 安装 mahotas:https ://anaconda.org/conda-forge/mahotas

于 2020-07-24T07:56:42.067 回答