小黑屋|Klipper玩客 ( 桂ICP备13004039号-7 )

GMT+8, 2024-12-22 13:51

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

香橙派ZERO刷写官网镜像后KIAUH安装moonraker时报错

314
2
0
0
yokie LV2
正文
发布时间:2024-08-03
本帖最后由 yokie 于 2024-8-3 18:48 编辑

  1. Building wheels for collected packages: pillow

  2.   Building wheel for pillow (setup.py) ... error

  3.   error: subprocess-exited-with-error



  4.   × python setup.py bdist_wheel did not run successfully.

  5.   │ exit code: 1

  6.   ╰─> [189 lines of output]

  7.       running bdist_wheel

  8.       running build

  9.       running build_py

  10.       creating build

  11.       creating build/lib.linux-armv7l-cpython-37

  12.       creating build/lib.linux-armv7l-cpython-37/PIL

  13.       copying src/PIL/features.py -> build/lib.linux-armv7l-cpython-37/PIL

  14.       copying src/PIL/_version.py -> build/lib.linux-armv7l-cpython-37/PIL

  15.       copying src/PIL/_util.py -> build/lib.linux-armv7l-cpython-37/PIL

  16.       copying src/PIL/_tkinter_finder.py -> build/lib.linux-armv7l-cpython-37/PIL

  17.       copying src/PIL/_deprecate.py -> build/lib.linux-armv7l-cpython-37/PIL

  18.       copying src/PIL/_binary.py -> build/lib.linux-armv7l-cpython-37/PIL

  19.       copying src/PIL/__main__.py -> build/lib.linux-armv7l-cpython-37/PIL

  20.       copying src/PIL/__init__.py -> build/lib.linux-armv7l-cpython-37/PIL

  21.       copying src/PIL/XpmImagePlugin.py -> build/lib.linux-armv7l-cpython-37/PIL

  22.       copying src/PIL/XbmImagePlugin.py -> build/lib.linux-armv7l-cpython-37/PIL

  23.       copying src/PIL/XVThumbImagePlugin.py -> build/lib.linux-armv7l-cpython-37/PIL

  24.       copying src/PIL/WmfImagePlugin.py -> build/lib.linux-armv7l-cpython-37/PIL

  25.       copying src/PIL/WebPImagePlugin.py -> build/lib.linux-armv7l-cpython-37/PIL

  26.       copying src/PIL/WalImageFile.py -> build/lib.linux-armv7l-cpython-37/PIL

  27.       copying src/PIL/TiffTags.py -> build/lib.linux-armv7l-cpython-37/PIL

  28.       copying src/PIL/TiffImagePlugin.py -> build/lib.linux-armv7l-cpython-37/PIL

  29.       copying src/PIL/TgaImagePlugin.py -> build/lib.linux-armv7l-cpython-37/PIL

  30.       copying src/PIL/TarIO.py -> build/lib.linux-armv7l-cpython-37/PIL

  31.       copying src/PIL/SunImagePlugin.py -> build/lib.linux-armv7l-cpython-37/PIL

  32.       copying src/PIL/SpiderImagePlugin.py -> build/lib.linux-armv7l-cpython-37/PIL

  33.       copying src/PIL/SgiImagePlugin.py -> build/lib.linux-armv7l-cpython-37/PIL

  34.       copying src/PIL/QoiImagePlugin.py -> build/lib.linux-armv7l-cpython-37/PIL

  35.       copying src/PIL/PyAccess.py -> build/lib.linux-armv7l-cpython-37/PIL

  36.       copying src/PIL/PsdImagePlugin.py -> build/lib.linux-armv7l-cpython-37/PIL

  37.       copying src/PIL/PpmImagePlugin.py -> build/lib.linux-armv7l-cpython-37/PIL

  38.       copying src/PIL/PngImagePlugin.py -> build/lib.linux-armv7l-cpython-37/PIL

  39.       copying src/PIL/PixarImagePlugin.py -> build/lib.linux-armv7l-cpython-37/PIL

  40.       copying src/PIL/PdfParser.py -> build/lib.linux-armv7l-cpython-37/PIL

  41.       copying src/PIL/PdfImagePlugin.py -> build/lib.linux-armv7l-cpython-37/PIL

  42.       copying src/PIL/PcxImagePlugin.py -> build/lib.linux-armv7l-cpython-37/PIL

  43.       copying src/PIL/PcfFontFile.py -> build/lib.linux-armv7l-cpython-37/PIL

  44.       copying src/PIL/PcdImagePlugin.py -> build/lib.linux-armv7l-cpython-37/PIL

  45.       copying src/PIL/PalmImagePlugin.py -> build/lib.linux-armv7l-cpython-37/PIL

  46.       copying src/PIL/PaletteFile.py -> build/lib.linux-armv7l-cpython-37/PIL

  47.       copying src/PIL/PSDraw.py -> build/lib.linux-armv7l-cpython-37/PIL

  48.       copying src/PIL/MspImagePlugin.py -> build/lib.linux-armv7l-cpython-37/PIL

  49.       copying src/PIL/MpoImagePlugin.py -> build/lib.linux-armv7l-cpython-37/PIL

  50.       copying src/PIL/MpegImagePlugin.py -> build/lib.linux-armv7l-cpython-37/PIL

  51.       copying src/PIL/MicImagePlugin.py -> build/lib.linux-armv7l-cpython-37/PIL

  52.       copying src/PIL/McIdasImagePlugin.py -> build/lib.linux-armv7l-cpython-37/PIL

  53.       copying src/PIL/JpegPresets.py -> build/lib.linux-armv7l-cpython-37/PIL

  54.       copying src/PIL/JpegImagePlugin.py -> build/lib.linux-armv7l-cpython-37/PIL

  55.       copying src/PIL/Jpeg2KImagePlugin.py -> build/lib.linux-armv7l-cpython-37/PIL

  56.       copying src/PIL/IptcImagePlugin.py -> build/lib.linux-armv7l-cpython-37/PIL

  57.       copying src/PIL/ImtImagePlugin.py -> build/lib.linux-armv7l-cpython-37/PIL

  58.       copying src/PIL/ImageWin.py -> build/lib.linux-armv7l-cpython-37/PIL

  59.       copying src/PIL/ImageTransform.py -> build/lib.linux-armv7l-cpython-37/PIL

  60.       copying src/PIL/ImageTk.py -> build/lib.linux-armv7l-cpython-37/PIL

  61.       copying src/PIL/ImageStat.py -> build/lib.linux-armv7l-cpython-37/PIL

  62.       copying src/PIL/ImageShow.py -> build/lib.linux-armv7l-cpython-37/PIL

  63.       copying src/PIL/ImageSequence.py -> build/lib.linux-armv7l-cpython-37/PIL

  64.       copying src/PIL/ImageQt.py -> build/lib.linux-armv7l-cpython-37/PIL

  65.       copying src/PIL/ImagePath.py -> build/lib.linux-armv7l-cpython-37/PIL

  66.       copying src/PIL/ImagePalette.py -> build/lib.linux-armv7l-cpython-37/PIL

  67.       copying src/PIL/ImageOps.py -> build/lib.linux-armv7l-cpython-37/PIL

  68.       copying src/PIL/ImageMorph.py -> build/lib.linux-armv7l-cpython-37/PIL

  69.       copying src/PIL/ImageMode.py -> build/lib.linux-armv7l-cpython-37/PIL

  70.       copying src/PIL/ImageMath.py -> build/lib.linux-armv7l-cpython-37/PIL

  71.       copying src/PIL/ImageGrab.py -> build/lib.linux-armv7l-cpython-37/PIL

  72.       copying src/PIL/ImageFont.py -> build/lib.linux-armv7l-cpython-37/PIL

  73.       copying src/PIL/ImageFilter.py -> build/lib.linux-armv7l-cpython-37/PIL

  74.       copying src/PIL/ImageFile.py -> build/lib.linux-armv7l-cpython-37/PIL

  75.       copying src/PIL/ImageEnhance.py -> build/lib.linux-armv7l-cpython-37/PIL

  76.       copying src/PIL/ImageDraw2.py -> build/lib.linux-armv7l-cpython-37/PIL

  77.       copying src/PIL/ImageDraw.py -> build/lib.linux-armv7l-cpython-37/PIL

  78.       copying src/PIL/ImageColor.py -> build/lib.linux-armv7l-cpython-37/PIL

  79.       copying src/PIL/ImageCms.py -> build/lib.linux-armv7l-cpython-37/PIL

  80.       copying src/PIL/ImageChops.py -> build/lib.linux-armv7l-cpython-37/PIL

  81.       copying src/PIL/Image.py -> build/lib.linux-armv7l-cpython-37/PIL

  82.       copying src/PIL/ImImagePlugin.py -> build/lib.linux-armv7l-cpython-37/PIL

  83.       copying src/PIL/IcoImagePlugin.py -> build/lib.linux-armv7l-cpython-37/PIL

  84.       copying src/PIL/IcnsImagePlugin.py -> build/lib.linux-armv7l-cpython-37/PIL

  85.       copying src/PIL/Hdf5StubImagePlugin.py -> build/lib.linux-armv7l-cpython-37/PIL

  86.       copying src/PIL/GribStubImagePlugin.py -> build/lib.linux-armv7l-cpython-37/PIL

  87.       copying src/PIL/GimpPaletteFile.py -> build/lib.linux-armv7l-cpython-37/PIL

  88.       copying src/PIL/GimpGradientFile.py -> build/lib.linux-armv7l-cpython-37/PIL

  89.       copying src/PIL/GifImagePlugin.py -> build/lib.linux-armv7l-cpython-37/PIL

  90.       copying src/PIL/GdImageFile.py -> build/lib.linux-armv7l-cpython-37/PIL

  91.       copying src/PIL/GbrImagePlugin.py -> build/lib.linux-armv7l-cpython-37/PIL

  92.       copying src/PIL/FtexImagePlugin.py -> build/lib.linux-armv7l-cpython-37/PIL

  93.       copying src/PIL/FpxImagePlugin.py -> build/lib.linux-armv7l-cpython-37/PIL

  94.       copying src/PIL/FontFile.py -> build/lib.linux-armv7l-cpython-37/PIL

  95.       copying src/PIL/FliImagePlugin.py -> build/lib.linux-armv7l-cpython-37/PIL

  96.       copying src/PIL/FitsStubImagePlugin.py -> build/lib.linux-armv7l-cpython-37/PIL

  97.       copying src/PIL/FitsImagePlugin.py -> build/lib.linux-armv7l-cpython-37/PIL

  98.       copying src/PIL/ExifTags.py -> build/lib.linux-armv7l-cpython-37/PIL

  99.       copying src/PIL/EpsImagePlugin.py -> build/lib.linux-armv7l-cpython-37/PIL

  100.       copying src/PIL/DdsImagePlugin.py -> build/lib.linux-armv7l-cpython-37/PIL

  101.       copying src/PIL/DcxImagePlugin.py -> build/lib.linux-armv7l-cpython-37/PIL

  102.       copying src/PIL/CurImagePlugin.py -> build/lib.linux-armv7l-cpython-37/PIL

  103.       copying src/PIL/ContainerIO.py -> build/lib.linux-armv7l-cpython-37/PIL

  104.       copying src/PIL/BufrStubImagePlugin.py -> build/lib.linux-armv7l-cpython-37/PIL

  105.       copying src/PIL/BmpImagePlugin.py -> build/lib.linux-armv7l-cpython-37/PIL

  106.       copying src/PIL/BlpImagePlugin.py -> build/lib.linux-armv7l-cpython-37/PIL

  107.       copying src/PIL/BdfFontFile.py -> build/lib.linux-armv7l-cpython-37/PIL

  108.       running egg_info

  109.       writing src/Pillow.egg-info/PKG-INFO

  110.       writing dependency_links to src/Pillow.egg-info/dependency_links.txt

  111.       writing requirements to src/Pillow.egg-info/requires.txt

  112.       writing top-level names to src/Pillow.egg-info/top_level.txt

  113.       reading manifest file 'src/Pillow.egg-info/SOURCES.txt'

  114.       reading manifest template 'MANIFEST.in'

  115.       warning: no files found matching '*.c'

  116.       warning: no files found matching '*.h'

  117.       warning: no files found matching '*.sh'

  118.       warning: no files found matching '*.txt'

  119.       warning: no previously-included files found matching '.appveyor.yml'

  120.       warning: no previously-included files found matching '.clang-format'

  121.       warning: no previously-included files found matching '.coveragerc'

  122.       warning: no previously-included files found matching '.editorconfig'

  123.       warning: no previously-included files found matching '.readthedocs.yml'

  124.       warning: no previously-included files found matching 'codecov.yml'

  125.       warning: no previously-included files found matching 'renovate.json'

  126.       warning: no previously-included files matching '.git*' found anywhere in distribution

  127.       warning: no previously-included files matching '*.pyc' found anywhere in distribution

  128.       warning: no previously-included files matching '*.so' found anywhere in distribution

  129.       no previously-included directories found matching '.ci'

  130.       adding license file 'LICENSE'

  131.       writing manifest file 'src/Pillow.egg-info/SOURCES.txt'

  132.       running build_ext





  133.       The headers or library files could not be found for zlib,

  134.       a required dependency when compiling Pillow from source.



  135.       Please see the install instructions at:

  136.          https://pillow.readthedocs.io/en/latest/installation.html



  137.       Traceback (most recent call last):

  138.         File "/tmp/pip-install-yz5k09h7/pillow_8b5aee92001d4a69af80045755f01fde/setup.py", line 997, in <module>

  139.           zip_safe=not (debug_build() or PLATFORM_MINGW),

  140.         File "/home/orangepi/moonraker-env/lib/python3.7/site-packages/setuptools/__init__.py", line 107, in setup

  141.           return distutils.core.setup(**attrs)

  142.         File "/home/orangepi/moonraker-env/lib/python3.7/site-packages/setuptools/_distutils/core.py", line 185, in setup

  143.           return run_commands(dist)

  144.         File "/home/orangepi/moonraker-env/lib/python3.7/site-packages/setuptools/_distutils/core.py", line 201, in run_commands

  145.           dist.run_commands()

  146.         File "/home/orangepi/moonraker-env/lib/python3.7/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands

  147.           self.run_command(cmd)

  148.         File "/home/orangepi/moonraker-env/lib/python3.7/site-packages/setuptools/dist.py", line 1234, in run_command

  149.           super().run_command(command)

  150.         File "/home/orangepi/moonraker-env/lib/python3.7/site-packages/setuptools/_distutils/dist.py", line 988, in run_command

  151.           cmd_obj.run()

  152.         File "/home/orangepi/moonraker-env/lib/python3.7/site-packages/wheel/bdist_wheel.py", line 368, in run

  153.           self.run_command("build")

  154.         File "/home/orangepi/moonraker-env/lib/python3.7/site-packages/setuptools/_distutils/cmd.py", line 318, in run_command

  155.           self.distribution.run_command(command)

  156.         File "/home/orangepi/moonraker-env/lib/python3.7/site-packages/setuptools/dist.py", line 1234, in run_command

  157.           super().run_command(command)

  158.         File "/home/orangepi/moonraker-env/lib/python3.7/site-packages/setuptools/_distutils/dist.py", line 988, in run_command

  159.           cmd_obj.run()

  160.         File "/home/orangepi/moonraker-env/lib/python3.7/site-packages/setuptools/_distutils/command/build.py", line 131, in run

  161.           self.run_command(cmd_name)

  162.         File "/home/orangepi/moonraker-env/lib/python3.7/site-packages/setuptools/_distutils/cmd.py", line 318, in run_command

  163.           self.distribution.run_command(command)

  164.         File "/home/orangepi/moonraker-env/lib/python3.7/site-packages/setuptools/dist.py", line 1234, in run_command

  165.           super().run_command(command)

  166.         File "/home/orangepi/moonraker-env/lib/python3.7/site-packages/setuptools/_distutils/dist.py", line 988, in run_command

  167.           cmd_obj.run()

  168.         File "/home/orangepi/moonraker-env/lib/python3.7/site-packages/setuptools/command/build_ext.py", line 84, in run

  169.           _build_ext.run(self)

  170.         File "/home/orangepi/moonraker-env/lib/python3.7/site-packages/setuptools/_distutils/command/build_ext.py", line 345, in run

  171.           self.build_extensions()

  172.         File "/tmp/pip-install-yz5k09h7/pillow_8b5aee92001d4a69af80045755f01fde/setup.py", line 809, in build_extensions

  173.           raise RequiredDependencyException(f)

  174.       __main__.RequiredDependencyException: zlib



  175.       During handling of the above exception, another exception occurred:



  176.       Traceback (most recent call last):

  177.         File "<string>", line 36, in <module>

  178.         File "<pip-setuptools-caller>", line 34, in <module>

  179.         File "/tmp/pip-install-yz5k09h7/pillow_8b5aee92001d4a69af80045755f01fde/setup.py", line 1010, in <module>

  180.           raise RequiredDependencyException(msg)

  181.       __main__.RequiredDependencyException:



  182.       The headers or library files could not be found for zlib,

  183.       a required dependency when compiling Pillow from source.



  184.       Please see the install instructions at:

  185.          https://pillow.readthedocs.io/en/latest/installation.html





  186.       [end of output]



  187.   note: This error originates from a subprocess, and is likely not a problem with pip.

  188.   ERROR: Failed building wheel for pillow

  189.   Running setup.py clean for pillow

  190. Failed to build pillow

  191. ERROR: Could not build wheels for pillow, which is required to install pyproject.toml-based projects
复制代码


回复

 

全部评论 共 2 个

铜牌杰瑞 LV8

铜牌杰瑞 发表于 2024-8-3 23:49 显示全部楼层

这应该是版本兼容的问题。
你试试这个办法。
  1. sudo apt-get install libjpeg-dev zlib1g-dev
  2. pip3 install Pillow
  3. sudo pip install -U setuptools
复制代码


如果不行,你看看这个链接能不能帮助你。或者干脆换个开发板镜像再安装。
https://openflexure.discourse.gr ... rt-python-3-10/1058

yokie LV2

yokie 发表于 2024-8-5 12:45 显示全部楼层

铜牌杰瑞 发表于 2024-8-3 23:49
这应该是版本兼容的问题。
你试试这个办法。

感谢大大
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

快速回复 返回顶部 返回列表