1

我正在使用最新版本的 Python3,并尝试通过 IntelliJ 终端安装。

我尝试过创建不同的环境,我更新了所有可能的包:pip、wheel、scipy、numpy、setuptools,甚至单独下载了 scikit-image。我也尝试使用 Mac 终端,同样的错误。

每次我运行安装命令:

pip install ecapture

它向我显示了这个错误:

fatal error: too many errors emitted, stopping now [-ferror-limit=]
  20 errors generated.
  Partial import of skimage during the build process.
  error: Command "clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -iwithsysroot/System/Library/Frameworks/System.framework/PrivateHeaders -iwithsysroot/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/Headers -arch arm64 -arch x86_64 -I/private/var/folders/lg/tmt9k7b1587_ppzl3xgptzx80000gn/T/pip-build-env-42dpn7e5/overlay/lib/python3.8/site-packages/numpy/core/include -I/Users/irina/venv/python3/include -I/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/include/python3.8 -c skimage/_shared/geometry.c -o build/temp.macosx-10.14.6-x86_64-3.8/skimage/_shared/geometry.o -MMD -MF build/temp.macosx-10.14.6-x86_64-3.8/skimage/_shared/geometry.o.d" failed with exit status 1


----------------------------------------
ERROR: Failed building wheel for scikit-image
Failed to build scikit-image
ERROR: Could not build wheels for scikit-image which use PEP 517 and cannot be installed directly

我也四处翻找并尝试使用--no-binary:

pip install ecapture --no-binary :all:

但同样,它给了我同样的错误,无法制造轮子(预计这次,对于 cmake。我也下载了它,但无济于事。)

我已经坚持了很长时间,老实说,我正在考虑把我的笔记本电脑扔出最近的窗户。

4

0 回答 0