我甚至在我尝试过我所知道的一切之后,也无法安装假肢。 I m 运行在Windows 11上,有Pycharm Community 2023。 我将全部软件重新安装并重新启用该系统。 我试图管理不同的环境和口译人员,但没有任何成功。 任何帮助都将受到高度赞赏。
Collecting pyheif
Using cached pyheif-0.7.1.tar.gz (22 kB)
Installing build dependencies: started
Installing build dependencies: finished with status done
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status done
Installing backend dependencies: started
Installing backend dependencies: finished with status done
Preparing metadata (pyproject.toml): started
Preparing metadata (pyproject.toml): finished with status done
Collecting cffi>=1.0.0 (from pyheif)
Using cached cffi-1.16.0-cp312-cp312-win_amd64.whl.metadata (1.5 kB)
Collecting pycparser (from cffi>=1.0.0->pyheif)
Using cached pycparser-2.21-py2.py3-none-any.whl (118 kB)
Using cached cffi-1.16.0-cp312-cp312-win_amd64.whl (181 kB)
Building wheels for collected packages: pyheif
Building wheel for pyheif (pyproject.toml): started
Building wheel for pyheif (pyproject.toml): finished with status error
Failed to build pyheif
error: subprocess-exited-with-error
Building wheel for pyheif (pyproject.toml) did not run successfully.
exit code: 1
[25 lines of output]
running bdist_wheel
running build
running build_py
creating build
creating buildlib.win-amd64-cpython-312
creating buildlib.win-amd64-cpython-312pyheif
copying pyheifconstants.py -> buildlib.win-amd64-cpython-312pyheif
copying pyheiferror.py -> buildlib.win-amd64-cpython-312pyheif
copying pyheif
eader.py -> buildlib.win-amd64-cpython-312pyheif
copying pyheifwriter.py -> buildlib.win-amd64-cpython-312pyheif
copying pyheif\__init__.py -> buildlib.win-amd64-cpython-312pyheif
creating buildlib.win-amd64-cpython-312pyheifdata
copying pyheifdataversion.txt -> buildlib.win-amd64-cpython-312pyheifdata
running build_ext
generating cffi module build\temp.win-amd64-cpython-312\Release\_libheif_cffi.c
creating build emp.win-amd64-cpython-312
creating build emp.win-amd64-cpython-312Release
building _libheif_cffi extension
creating build emp.win-amd64-cpython-312Releaseuild
creating build emp.win-amd64-cpython-312Releaseuild emp.win-amd64-cpython-312
creating build emp.win-amd64-cpython-312Releaseuild emp.win-amd64-cpython-312Release
"C:Program Files (x86)Microsoft Visual Studio2022BuildToolsVCToolsMSVC14.38.33130inHostX86x64cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -I/usr/local/include -I/usr/include -I/opt/local/include -IC:UsersjeremPycharmProjectsScratch.venvinclude -IC:UsersjeremAppDataLocalProgramsPythonPython312include -IC:UsersjeremAppDataLocalProgramsPythonPython312Include "-IC:Program Files (x86)Microsoft Visual Studio2022BuildToolsVCToolsMSVC14.38.33130include" "-IC:Program Files (x86)Microsoft Visual Studio2022BuildToolsVCAuxiliaryVSinclude" "-IC:Program Files (x86)Windows Kits10include10.0.22621.0ucrt" "-IC:Program Files (x86)Windows Kits10\include10.0.22621.0\um" "-IC:Program Files (x86)Windows Kits10\include10.0.22621.0\shared" "-IC:Program Files (x86)Windows Kits10\include10.0.22621.0\winrt" "-IC:Program Files (x86)Windows Kits10\include10.0.22621.0\cppwinrt" "-IC:Program Files (x86)Windows KitsNETFXSDK4.8includeum" /Tcbuild emp.win-amd64-cpython-312Release\_libheif_cffi.c /Fobuild emp.win-amd64-cpython-312Releaseuild emp.win-amd64-cpython-312Release\_libheif_cffi.obj
_libheif_cffi.c
build emp.win-amd64-cpython-312Release\_libheif_cffi.c(570): fatal error C1083: Cannot open include file: libheif/heif.h : No such file or directory
error: command C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.38.33130\bin\HostX86\x64\cl.exe failed with exit code 2
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for pyheif
ERROR: Could not build wheels for pyheif, which is required to install pyproject.toml-based projects