anibali / pywebp

Python bindings for WebP
MIT License
74 stars 24 forks source link

pip3 insatll apple silicon fails #40

Closed softmarshmallow closed 1 year ago

softmarshmallow commented 1 year ago
pip3 install webp
Collecting webp
  Using cached webp-0.1.6.tar.gz (13 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Requirement already satisfied: numpy>=1.0.0 in /Users/softmarshmallow/miniconda3/lib/python3.10/site-packages (from webp) (1.23.5)
Requirement already satisfied: cffi>=1.0.0 in /Users/softmarshmallow/miniconda3/lib/python3.10/site-packages (from webp) (1.15.1)
Requirement already satisfied: Pillow>=4.0.0 in /Users/softmarshmallow/miniconda3/lib/python3.10/site-packages (from webp) (9.5.0)
Requirement already satisfied: pycparser in /Users/softmarshmallow/miniconda3/lib/python3.10/site-packages (from cffi>=1.0.0->webp) (2.21)
Building wheels for collected packages: webp
  Building wheel for webp (pyproject.toml) ... error
  error: subprocess-exited-with-error

  × Building wheel for webp (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [227 lines of output]
      A setup.py file already exists. Using it.
      genregxp 0 0|[1-9]\d*
      genregxp 1 [0-9]+
      genregxp 2 \d*[a-zA-Z-][a-zA-Z0-9-]*
      genregxp 3 (0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)
      genregxp 4 ([0-9]+)\.([0-9]+)\.([0-9]+)
      genregxp 5 (?:0|[1-9]\d*|\d*[a-zA-Z-][a-zA-Z0-9-]*)
      genregxp 6 (?:[0-9]+|\d*[a-zA-Z-][a-zA-Z0-9-]*)
      genregxp 7 (?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][a-zA-Z0-9-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][a-zA-Z0-9-]*))*))
      genregxp 8 (?:-?((?:[0-9]+|\d*[a-zA-Z-][a-zA-Z0-9-]*)(?:\.(?:[0-9]+|\d*[a-zA-Z-][a-zA-Z0-9-]*))*))
      genregxp 9 [0-9A-Za-z-]+
      genregxp 10 (?:\+([0-9A-Za-z-]+(?:\.[0-9A-Za-z-]+)*))
      genregxp 11 ^v?(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][a-zA-Z0-9-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][a-zA-Z0-9-]*))*))?(?:\+([0-9A-Za-z-]+(?:\.[0-9A-Za-z-]+)*))?$
      genregxp 12 ^[v=\s]*([0-9]+)\.([0-9]+)\.([0-9]+)(?:-?((?:[0-9]+|\d*[a-zA-Z-][a-zA-Z0-9-]*)(?:\.(?:[0-9]+|\d*[a-zA-Z-][a-zA-Z0-9-]*))*))?(?:\+([0-9A-Za-z-]+(?:\.[0-9A-Za-z-]+)*))?$
      genregxp 13 ((?:<|>)?=?)
      genregxp 14 [0-9]+|x|X|\*
      genregxp 15 0|[1-9]\d*|x|X|\*
      genregxp 16 [v=\s]*(0|[1-9]\d*|x|X|\*)(?:\.(0|[1-9]\d*|x|X|\*)(?:\.(0|[1-9]\d*|x|X|\*)(?:(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][a-zA-Z0-9-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][a-zA-Z0-9-]*))*)))?(?:\+([0-9A-Za-z-]+(?:\.[0-9A-Za-z-]+)*))?)?)?
      genregxp 17 [v=\s]*([0-9]+|x|X|\*)(?:\.([0-9]+|x|X|\*)(?:\.([0-9]+|x|X|\*)(?:(?:-?((?:[0-9]+|\d*[a-zA-Z-][a-zA-Z0-9-]*)(?:\.(?:[0-9]+|\d*[a-zA-Z-][a-zA-Z0-9-]*))*)))?(?:\+([0-9A-Za-z-]+(?:\.[0-9A-Za-z-]+)*))?)?)?
      genregxp 18 ^((?:<|>)?=?)\s*[v=\s]*(0|[1-9]\d*|x|X|\*)(?:\.(0|[1-9]\d*|x|X|\*)(?:\.(0|[1-9]\d*|x|X|\*)(?:(?:-((?:0|[1-9]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d*[a-zA-Z-][a-zA-Z0-9-]*)(?:\.(?:[0-9]+|\d*[a-zA-Z-][a-zA-Z0-9-]*))*))?
      platform.architecture: ('64bit', '')
      platform.machine: arm64
      Configuration:
      [settings]
      arch=armv8
      arch_build=armv8
      build_type=Release
      compiler=apple-clang
      compiler.libcxx=libc++
      compiler.version=14
      os=Macos
      os_build=Macos
      [options]
      [build_requires]
      [env]

      range >=1.53.0 True
      hyphen replace >=1.53.0
      comparator trim >=1.53.0, re.compile('(\\s*)((?:<|>)?=?)\\s*([v=\\s]*([0-9]+)\\.([0-9]+)\\.([0-9]+)(?:-?((?:[0-9]+|\\d*[a-zA-Z-][a-zA-Z0-9-]*)(?:\\.(?:[0-9]+|\\d*[a-zA-Z-][a-zA-Z0-9-]*))*))?(?:\\+([0-9A-Za-z-]+(?:\\.[0-9A-Za-z-]+)*))?|[v, re.MULTILINE)
      comp >=1.53.0
      caret >=1.53.0
      tildes >=1.53.0
      replaceXRanges >=1.53.0 True
      xrange >=1.53.0 >=1.53.0 >= 1 53 0 None
      xrange gtlt=>= any_x=False
      xRange return >=1.53.0
      xrange >=1.53.0
      replaceStars >=1.53.0 True
      stars >=1.53.0
      comparator: >=1.53.0 True
      parse comp=>=1.53.0
      SemVer 1.53.0, True
      Range format >=1.53.0
      SemVer 1.60.1, True
      Comparator, test 1.60.1, True
      cmp: >=
      SemVer.compare 1.60.1 True 1.53.0
      compare result 1
      libwebp/1.0.3: WARN: Package binary is corrupted, removing: fe7ea23bf45e7a673e43224b8a1e0eda39ef569b
      Starting new HTTPS connection (1): center.conan.io:443
      https://center.conan.io:443 "GET /v1/ping HTTP/1.1" 200 0
      https://center.conan.io:443 "GET /v1/conans/libwebp/1.0.3/_/_/packages/fe7ea23bf45e7a673e43224b8a1e0eda39ef569b/download_urls HTTP/1.1" 404 74
      conanfile.txt: Installing package
      Requirements
          libwebp/1.0.3 from 'conancenter' - Cache
      Packages
          libwebp/1.0.3:fe7ea23bf45e7a673e43224b8a1e0eda39ef569b - Build

      Installing (downloading, building) binaries...
      libwebp/1.0.3: WARN: Build folder is dirty, removing it: /Users/softmarshmallow/.conan/data/libwebp/1.0.3/_/_/build/fe7ea23bf45e7a673e43224b8a1e0eda39ef569b
      libwebp/1.0.3: Copying sources to build folder
      libwebp/1.0.3: Building your package in /Users/softmarshmallow/.conan/data/libwebp/1.0.3/_/_/build/fe7ea23bf45e7a673e43224b8a1e0eda39ef569b
      libwebp/1.0.3: Generator txt created conanbuildinfo.txt
      libwebp/1.0.3: Calling generate()
      libwebp/1.0.3: WARN: Using the new toolchains and generators without specifying a build profile (e.g: -pr:b=default) is discouraged and might cause failures and unexpected behavior
      libwebp/1.0.3: Preset 'release' added to CMakePresets.json. Invoke it manually using 'cmake --preset release'
      libwebp/1.0.3: If your CMake version is not compatible with CMakePresets (<3.19) call cmake like: 'cmake <path> -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE=/Users/softmarshmallow/.conan/data/libwebp/1.0.3/_/_/build/fe7ea23bf45e7a673e43224b8a1e0eda39ef569b/build/Release/generators/conan_toolchain.cmake -DCMAKE_POLICY_DEFAULT_CMP0091=NEW -DCMAKE_BUILD_TYPE=Release'
      libwebp/1.0.3: Aggregating env generators
      libwebp/1.0.3: Calling build()
      libwebp/1.0.3: Apply patch (portability): define WEBP_EXTERN for windows shared build
      libwebp/1.0.3: /Users/softmarshmallow/.conan/data/libwebp/1.0.3/_/_/build/fe7ea23bf45e7a673e43224b8a1e0eda39ef569b/patches/1.0.3-0001-fix-dll-export.patch: reading /Users/softmarshmallow/.conan/data/libwebp/1.0.3/_/_/build/fe7ea23bf45e7a673e43224b8a1e0eda39ef569b/patches/1.0.3-0001-fix-dll-export.patch
      reading /Users/softmarshmallow/.conan/data/libwebp/1.0.3/_/_/build/fe7ea23bf45e7a673e43224b8a1e0eda39ef569b/patches/1.0.3-0001-fix-dll-export.patch
      libwebp/1.0.3: /Users/softmarshmallow/.conan/data/libwebp/1.0.3/_/_/build/fe7ea23bf45e7a673e43224b8a1e0eda39ef569b/patches/1.0.3-0001-fix-dll-export.patch: total files: 1  total hunks: 1
      total files: 1  total hunks: 1
      libwebp/1.0.3: /Users/softmarshmallow/.conan/data/libwebp/1.0.3/_/_/build/fe7ea23bf45e7a673e43224b8a1e0eda39ef569b/patches/1.0.3-0001-fix-dll-export.patch: stripping a/ and b/ prefixes
      stripping a/ and b/ prefixes
      libwebp/1.0.3: /Users/softmarshmallow/.conan/data/libwebp/1.0.3/_/_/build/fe7ea23bf45e7a673e43224b8a1e0eda39ef569b/patches/1.0.3-0001-fix-dll-export.patch: processing 1/1:  b'src/webp/types.h'
      processing 1/1:      b'src/webp/types.h'
      libwebp/1.0.3: /Users/softmarshmallow/.conan/data/libwebp/1.0.3/_/_/build/fe7ea23bf45e7a673e43224b8a1e0eda39ef569b/patches/1.0.3-0001-fix-dll-export.patch:  hunk no.1 for file b'src/webp/types.h'  -- is ready to be patched
       hunk no.1 for file b'src/webp/types.h'  -- is ready to be patched
      libwebp/1.0.3: /Users/softmarshmallow/.conan/data/libwebp/1.0.3/_/_/build/fe7ea23bf45e7a673e43224b8a1e0eda39ef569b/patches/1.0.3-0001-fix-dll-export.patch: processing target file b'src/webp/types.h'
      processing target file b'src/webp/types.h'
      libwebp/1.0.3: /Users/softmarshmallow/.conan/data/libwebp/1.0.3/_/_/build/fe7ea23bf45e7a673e43224b8a1e0eda39ef569b/patches/1.0.3-0001-fix-dll-export.patch: hunk 1
      hunk 1
      libwebp/1.0.3: /Users/softmarshmallow/.conan/data/libwebp/1.0.3/_/_/build/fe7ea23bf45e7a673e43224b8a1e0eda39ef569b/patches/1.0.3-0001-fix-dll-export.patch: successfully patched 1/1:        b'src/webp/types.h'
      successfully patched 1/1:    b'src/webp/types.h'
      libwebp/1.0.3: Apply patch (conan): always build libwebpmux
      libwebp/1.0.3: /Users/softmarshmallow/.conan/data/libwebp/1.0.3/_/_/build/fe7ea23bf45e7a673e43224b8a1e0eda39ef569b/patches/1.0.3-0002-build-libwebpmux.patch: reading /Users/softmarshmallow/.conan/data/libwebp/1.0.3/_/_/build/fe7ea23bf45e7a673e43224b8a1e0eda39ef569b/patches/1.0.3-0002-build-libwebpmux.patch
      reading /Users/softmarshmallow/.conan/data/libwebp/1.0.3/_/_/build/fe7ea23bf45e7a673e43224b8a1e0eda39ef569b/patches/1.0.3-0002-build-libwebpmux.patch
      libwebp/1.0.3: /Users/softmarshmallow/.conan/data/libwebp/1.0.3/_/_/build/fe7ea23bf45e7a673e43224b8a1e0eda39ef569b/patches/1.0.3-0002-build-libwebpmux.patch: total files: 1  total hunks: 1
      total files: 1  total hunks: 1
      libwebp/1.0.3: /Users/softmarshmallow/.conan/data/libwebp/1.0.3/_/_/build/fe7ea23bf45e7a673e43224b8a1e0eda39ef569b/patches/1.0.3-0002-build-libwebpmux.patch: broken patch from Google Code, stripping prefixes..
      broken patch from Google Code, stripping prefixes..
      libwebp/1.0.3: /Users/softmarshmallow/.conan/data/libwebp/1.0.3/_/_/build/fe7ea23bf45e7a673e43224b8a1e0eda39ef569b/patches/1.0.3-0002-build-libwebpmux.patch:    b'CMakeLists.txt'
         b'CMakeLists.txt'
      libwebp/1.0.3: /Users/softmarshmallow/.conan/data/libwebp/1.0.3/_/_/build/fe7ea23bf45e7a673e43224b8a1e0eda39ef569b/patches/1.0.3-0002-build-libwebpmux.patch:    b'CMakeLists.txt'
         b'CMakeLists.txt'
      libwebp/1.0.3: /Users/softmarshmallow/.conan/data/libwebp/1.0.3/_/_/build/fe7ea23bf45e7a673e43224b8a1e0eda39ef569b/patches/1.0.3-0002-build-libwebpmux.patch: processing 1/1:        b'CMakeLists.txt'
      processing 1/1:      b'CMakeLists.txt'
      libwebp/1.0.3: /Users/softmarshmallow/.conan/data/libwebp/1.0.3/_/_/build/fe7ea23bf45e7a673e43224b8a1e0eda39ef569b/patches/1.0.3-0002-build-libwebpmux.patch:  hunk no.1 for file b'CMakeLists.txt'  -- is ready to be patched
       hunk no.1 for file b'CMakeLists.txt'  -- is ready to be patched
      libwebp/1.0.3: /Users/softmarshmallow/.conan/data/libwebp/1.0.3/_/_/build/fe7ea23bf45e7a673e43224b8a1e0eda39ef569b/patches/1.0.3-0002-build-libwebpmux.patch: processing target file b'CMakeLists.txt'
      processing target file b'CMakeLists.txt'
      libwebp/1.0.3: /Users/softmarshmallow/.conan/data/libwebp/1.0.3/_/_/build/fe7ea23bf45e7a673e43224b8a1e0eda39ef569b/patches/1.0.3-0002-build-libwebpmux.patch: hunk 1
      hunk 1
      libwebp/1.0.3: /Users/softmarshmallow/.conan/data/libwebp/1.0.3/_/_/build/fe7ea23bf45e7a673e43224b8a1e0eda39ef569b/patches/1.0.3-0002-build-libwebpmux.patch: successfully patched 1/1:      b'CMakeLists.txt'
      successfully patched 1/1:    b'CMakeLists.txt'
      libwebp/1.0.3: CMake command: cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/Users/softmarshmallow/.conan/data/libwebp/1.0.3/_/_/build/fe7ea23bf45e7a673e43224b8a1e0eda39ef569b/build/Release/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="/Users/softmarshmallow/.conan/data/libwebp/1.0.3/_/_/package/fe7ea23bf45e7a673e43224b8a1e0eda39ef569b" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Release" "/Users/softmarshmallow/.conan/data/libwebp/1.0.3/_/_/build/fe7ea23bf45e7a673e43224b8a1e0eda39ef569b/src"
      /bin/sh: cmake: command not found
      libwebp/1.0.3:
      libwebp/1.0.3: ERROR: Package 'fe7ea23bf45e7a673e43224b8a1e0eda39ef569b' build failed
      libwebp/1.0.3: WARN: Build folder /Users/softmarshmallow/.conan/data/libwebp/1.0.3/_/_/build/fe7ea23bf45e7a673e43224b8a1e0eda39ef569b/build/Release
      Traceback (most recent call last):
        File "/private/var/folders/1m/n43khkz55sx8lsshns492g0c0000gn/T/pip-build-env-9llz2z2c/overlay/lib/python3.10/site-packages/conans/errors.py", line 34, in conanfile_exception_formatter
          yield
        File "/private/var/folders/1m/n43khkz55sx8lsshns492g0c0000gn/T/pip-build-env-9llz2z2c/overlay/lib/python3.10/site-packages/conans/client/conanfile/build.py", line 16, in run_build_method
          conanfile.build()
        File "/Users/softmarshmallow/.conan/data/libwebp/1.0.3/_/_/export/conanfile.py", line 87, in build
          cmake.configure()
        File "/private/var/folders/1m/n43khkz55sx8lsshns492g0c0000gn/T/pip-build-env-9llz2z2c/overlay/lib/python3.10/site-packages/conan/tools/cmake/cmake.py", line 101, in configure
          self._conanfile.run(command)
        File "/private/var/folders/1m/n43khkz55sx8lsshns492g0c0000gn/T/pip-build-env-9llz2z2c/overlay/lib/python3.10/site-packages/conans/model/conan_file.py", line 464, in run
          raise ConanException("Error %d while executing %s" % (retcode, command))
      conans.errors.ConanException: Error 127 while executing cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/Users/softmarshmallow/.conan/data/libwebp/1.0.3/_/_/build/fe7ea23bf45e7a673e43224b8a1e0eda39ef569b/build/Release/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="/Users/softmarshmallow/.conan/data/libwebp/1.0.3/_/_/package/fe7ea23bf45e7a673e43224b8a1e0eda39ef569b" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Release" "/Users/softmarshmallow/.conan/data/libwebp/1.0.3/_/_/build/fe7ea23bf45e7a673e43224b8a1e0eda39ef569b/src"

      During handling of the above exception, another exception occurred:

      Traceback (most recent call last):
        File "/private/var/folders/1m/n43khkz55sx8lsshns492g0c0000gn/T/pip-install-ups8vglu/webp_e21bc5edaef445fe905a05d65a5e666b/setup.py", line 31, in <module>
          setup(**setup_kwargs)
        File "/private/var/folders/1m/n43khkz55sx8lsshns492g0c0000gn/T/pip-build-env-9llz2z2c/overlay/lib/python3.10/site-packages/setuptools/__init__.py", line 107, in setup
          return distutils.core.setup(**attrs)
        File "/private/var/folders/1m/n43khkz55sx8lsshns492g0c0000gn/T/pip-build-env-9llz2z2c/overlay/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 147, in setup
          _setup_distribution = dist = klass(attrs)
        File "/private/var/folders/1m/n43khkz55sx8lsshns492g0c0000gn/T/pip-build-env-9llz2z2c/overlay/lib/python3.10/site-packages/setuptools/dist.py", line 486, in __init__
          _Distribution.__init__(
        File "/private/var/folders/1m/n43khkz55sx8lsshns492g0c0000gn/T/pip-build-env-9llz2z2c/overlay/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 283, in __init__
          self.finalize_options()
        File "/private/var/folders/1m/n43khkz55sx8lsshns492g0c0000gn/T/pip-build-env-9llz2z2c/overlay/lib/python3.10/site-packages/setuptools/dist.py", line 925, in finalize_options
          ep(self)
        File "/private/var/folders/1m/n43khkz55sx8lsshns492g0c0000gn/T/pip-build-env-9llz2z2c/overlay/lib/python3.10/site-packages/setuptools/dist.py", line 945, in _finalize_setup_keywords
          ep.load()(self, ep.name, value)
        File "/private/var/folders/1m/n43khkz55sx8lsshns492g0c0000gn/T/pip-build-env-9llz2z2c/overlay/lib/python3.10/site-packages/cffi/setuptools_ext.py", line 219, in cffi_modules
          add_cffi_module(dist, cffi_module)
        File "/private/var/folders/1m/n43khkz55sx8lsshns492g0c0000gn/T/pip-build-env-9llz2z2c/overlay/lib/python3.10/site-packages/cffi/setuptools_ext.py", line 49, in add_cffi_module
          execfile(build_file_name, mod_vars)
        File "/private/var/folders/1m/n43khkz55sx8lsshns492g0c0000gn/T/pip-build-env-9llz2z2c/overlay/lib/python3.10/site-packages/cffi/setuptools_ext.py", line 25, in execfile
          exec(code, glob, glob)
        File "webp_build/builder.py", line 21, in <module>
          conan.install(path=getcwd(), cwd=tmp_dir, settings=settings, build=['missing'])
        File "/private/var/folders/1m/n43khkz55sx8lsshns492g0c0000gn/T/pip-build-env-9llz2z2c/overlay/lib/python3.10/site-packages/conans/client/conan_api.py", line 93, in wrapper
          return f(api, *args, **kwargs)
        File "/private/var/folders/1m/n43khkz55sx8lsshns492g0c0000gn/T/pip-build-env-9llz2z2c/overlay/lib/python3.10/site-packages/conans/client/conan_api.py", line 609, in install
          deps_install(app=self.app,
        File "/private/var/folders/1m/n43khkz55sx8lsshns492g0c0000gn/T/pip-build-env-9llz2z2c/overlay/lib/python3.10/site-packages/conans/client/manager.py", line 95, in deps_install
          installer.install(deps_graph, remotes, build_modes, update, profile_host, profile_build,
        File "/private/var/folders/1m/n43khkz55sx8lsshns492g0c0000gn/T/pip-build-env-9llz2z2c/overlay/lib/python3.10/site-packages/conans/client/installer.py", line 317, in install
          self._build(nodes_by_level, keep_build, root_node, profile_host, profile_build,
        File "/private/var/folders/1m/n43khkz55sx8lsshns492g0c0000gn/T/pip-build-env-9llz2z2c/overlay/lib/python3.10/site-packages/conans/client/installer.py", line 466, in _build
          self._handle_node_cache(node, keep_build, processed_package_refs, remotes)
        File "/private/var/folders/1m/n43khkz55sx8lsshns492g0c0000gn/T/pip-build-env-9llz2z2c/overlay/lib/python3.10/site-packages/conans/client/installer.py", line 559, in _handle_node_cache
          pref = self._build_package(node, output, keep_build, remotes)
        File "/private/var/folders/1m/n43khkz55sx8lsshns492g0c0000gn/T/pip-build-env-9llz2z2c/overlay/lib/python3.10/site-packages/conans/client/installer.py", line 602, in _build_package
          pref = builder.build_package(node, keep_build, self._recorder, remotes)
        File "/private/var/folders/1m/n43khkz55sx8lsshns492g0c0000gn/T/pip-build-env-9llz2z2c/overlay/lib/python3.10/site-packages/conans/client/installer.py", line 240, in build_package
          raise exc
        File "/private/var/folders/1m/n43khkz55sx8lsshns492g0c0000gn/T/pip-build-env-9llz2z2c/overlay/lib/python3.10/site-packages/conans/client/installer.py", line 227, in build_package
          self._build(conanfile, pref)
        File "/private/var/folders/1m/n43khkz55sx8lsshns492g0c0000gn/T/pip-build-env-9llz2z2c/overlay/lib/python3.10/site-packages/conans/client/installer.py", line 156, in _build
          raise exc
        File "/private/var/folders/1m/n43khkz55sx8lsshns492g0c0000gn/T/pip-build-env-9llz2z2c/overlay/lib/python3.10/site-packages/conans/client/installer.py", line 148, in _build
          run_build_method(conanfile, self._hook_manager, reference=pref.ref, package_id=pref.id)
        File "/private/var/folders/1m/n43khkz55sx8lsshns492g0c0000gn/T/pip-build-env-9llz2z2c/overlay/lib/python3.10/site-packages/conans/client/conanfile/build.py", line 15, in run_build_method
          with conanfile_exception_formatter(str(conanfile), "build"):
        File "/Users/softmarshmallow/miniconda3/lib/python3.10/contextlib.py", line 153, in __exit__
          self.gen.throw(typ, value, traceback)
        File "/private/var/folders/1m/n43khkz55sx8lsshns492g0c0000gn/T/pip-build-env-9llz2z2c/overlay/lib/python3.10/site-packages/conans/errors.py", line 44, in conanfile_exception_formatter
          raise ConanExceptionInUserConanfileMethod(msg)
      conans.errors.ConanExceptionInUserConanfileMethod: libwebp/1.0.3: Error in build() method, line 87
          cmake.configure()
          ConanException: Error 127 while executing cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/Users/softmarshmallow/.conan/data/libwebp/1.0.3/_/_/build/fe7ea23bf45e7a673e43224b8a1e0eda39ef569b/build/Release/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="/Users/softmarshmallow/.conan/data/libwebp/1.0.3/_/_/package/fe7ea23bf45e7a673e43224b8a1e0eda39ef569b" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Release" "/Users/softmarshmallow/.conan/data/libwebp/1.0.3/_/_/build/fe7ea23bf45e7a673e43224b8a1e0eda39ef569b/src"
      Traceback (most recent call last):
        File "/Users/softmarshmallow/miniconda3/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 351, in <module>
          main()
        File "/Users/softmarshmallow/miniconda3/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 333, in main
          json_out['return_val'] = hook(**hook_input['kwargs'])
        File "/Users/softmarshmallow/miniconda3/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 249, in build_wheel
          return _build_backend().build_wheel(wheel_directory, config_settings,
        File "/private/var/folders/1m/n43khkz55sx8lsshns492g0c0000gn/T/pip-build-env-9llz2z2c/overlay/lib/python3.10/site-packages/poetry/core/masonry/api.py", line 57, in build_wheel
          return WheelBuilder.make_in(
        File "/private/var/folders/1m/n43khkz55sx8lsshns492g0c0000gn/T/pip-build-env-9llz2z2c/overlay/lib/python3.10/site-packages/poetry/core/masonry/builders/wheel.py", line 88, in make_in
          wb.build(target_dir=directory)
        File "/private/var/folders/1m/n43khkz55sx8lsshns492g0c0000gn/T/pip-build-env-9llz2z2c/overlay/lib/python3.10/site-packages/poetry/core/masonry/builders/wheel.py", line 121, in build
          self._build(zip_file)
        File "/private/var/folders/1m/n43khkz55sx8lsshns492g0c0000gn/T/pip-build-env-9llz2z2c/overlay/lib/python3.10/site-packages/poetry/core/masonry/builders/wheel.py", line 182, in _build
          self._run_build_command(setup)
        File "/private/var/folders/1m/n43khkz55sx8lsshns492g0c0000gn/T/pip-build-env-9llz2z2c/overlay/lib/python3.10/site-packages/poetry/core/masonry/builders/wheel.py", line 220, in _run_build_command
          subprocess.check_call(
        File "/Users/softmarshmallow/miniconda3/lib/python3.10/subprocess.py", line 369, in check_call
          raise CalledProcessError(retcode, cmd)
      subprocess.CalledProcessError: Command '['/Users/softmarshmallow/miniconda3/bin/python', '/private/var/folders/1m/n43khkz55sx8lsshns492g0c0000gn/T/pip-install-ups8vglu/webp_e21bc5edaef445fe905a05d65a5e666b/setup.py', 'build', '-b', '/private/var/folders/1m/n43khkz55sx8lsshns492g0c0000gn/T/pip-install-ups8vglu/webp_e21bc5edaef445fe905a05d65a5e666b/build']' returned non-zero exit status 1.
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for webp
Failed to build webp
ERROR: Could not build wheels for webp, which is required to install pyproject.toml-based projects
anibali commented 1 year ago

See this line: /bin/sh: cmake: command not found

You need to have cmake installed.