Python3.10安装pandas-alive提示pillow build 错误

原文链接:http://www.juzicode.com/python-error-python310-pandas-alive-pillow-build

Python3.10安装pandas-alive时报错:

Building wheels for collected packages: pillow
Building wheel for pillow (pyproject.toml) … error
error: subprocess-exited-with-error

× Building wheel for pillow (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [203 lines of output]
:42: RuntimeWarning: Pillow 7.2.0 does not support Python 3.10 and does not provide prebuilt Windows binaries. We do not recommend building from source on Windows.
C:\Users\fruit\AppData\Local\Temp\pip-build-env-4fotj7c3\overlay\Lib\site-packages\setuptools\dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!

          ********************************************************************************
          Please consider removing the following classifiers in favor of a SPDX license expression:

          License :: OSI Approved :: Historical Permission Notice and Disclaimer (HPND)

          See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
          ********************************************************************************

  !!
    self._finalize_license_expression()
  running bdist_wheel
  running build
  running build_py
  creating build\lib.win-amd64-cpython-310\PIL
  copying src\PIL\BdfFontFile.py -> build\lib.win-amd64-cpython-310\PIL
  copying src\PIL\BlpImagePlugin.py -> build\lib.win-amd64-cpython-310\PIL
  Please see the install instructions at:
     https://pillow.readthedocs.io/en/latest/installation.html


  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for pillow
Failed to build pillow
ERROR: Failed to build installable wheels for some pyproject.toml based projects (pillow)‘’

尝试各种方法未成功,改用Python3.8后成功安装

发表评论

您的电子邮箱地址不会被公开。 必填项已用*标注