我正在尝试在Ubuntu虚拟机上使用pip安装“skimage”包,以使用scikit-image分析图像的结构相似性。但我总是遇到一个奇怪的错误。我已经尝试使用conda安装,但也没有成功。似乎conda只知道“scikit-image”而不是“skimage”。所需的软件包,如numpy、matplotlib等,已经安装和升级。
错误信息:
pip3 install skimage
错误信息:
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-k9rh2ebf/skimage/setup.py'"'"'; __file__='"'"'/tmp/pip-install-k9rh2ebf/skimage/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-install-k9rh2ebf/skimage/pip-egg-info
cwd: /tmp/pip-install-k9rh2ebf/skimage/
Complete output (3 lines):
*** Please install the `scikit-image` package (instead of `skimage`) ***
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
pip3 install scikit-image
进行安装。 - dejanualex