English 中文(简体)
粉碎求助——ERROR:Failed Building wheel for pyheif
原标题:Python Help - ERROR: Failed building wheel for pyheif

我甚至在我尝试过我所知道的一切之后,也无法安装假肢。 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
问题回答

很显然,窗户没有与这一图书馆合作。 如果我错了,我会纠正。





相关问题
Can Django models use MySQL functions?

Is there a way to force Django models to pass a field to a MySQL function every time the model data is read or loaded? To clarify what I mean in SQL, I want the Django model to produce something like ...

An enterprise scheduler for python (like quartz)

I am looking for an enterprise tasks scheduler for python, like quartz is for Java. Requirements: Persistent: if the process restarts or the machine restarts, then all the jobs must stay there and ...

How to remove unique, then duplicate dictionaries in a list?

Given the following list that contains some duplicate and some unique dictionaries, what is the best method to remove unique dictionaries first, then reduce the duplicate dictionaries to single ...

What is suggested seed value to use with random.seed()?

Simple enough question: I m using python random module to generate random integers. I want to know what is the suggested value to use with the random.seed() function? Currently I am letting this ...

How can I make the PyDev editor selectively ignore errors?

I m using PyDev under Eclipse to write some Jython code. I ve got numerous instances where I need to do something like this: import com.work.project.component.client.Interface.ISubInterface as ...

How do I profile `paster serve` s startup time?

Python s paster serve app.ini is taking longer than I would like to be ready for the first request. I know how to profile requests with middleware, but how do I profile the initialization time? I ...

Pragmatically adding give-aways/freebies to an online store

Our business currently has an online store and recently we ve been offering free specials to our customers. Right now, we simply display the special and give the buyer a notice stating we will add the ...

Converting Dictionary to List? [duplicate]

I m trying to convert a Python dictionary into a Python list, in order to perform some calculations. #My dictionary dict = {} dict[ Capital ]="London" dict[ Food ]="Fish&Chips" dict[ 2012 ]="...

热门标签