Skip to content

issue while installing on Mac Pro 2029 with Intel processor #30

Description

@mdelgadoblasco

Building wheels for collected packages: sarpyx, pykeops, keopscore, numba, llvmlite
Building editable for sarpyx (pyproject.toml) ... done
Created wheel for sarpyx: filename=sarpyx-1.0.0-0.editable-py3-none-any.whl size=9484 sha256=aaa5d3af20b8d89813c076cd041cf109d29b6f335394e74f7019247470efc4ef
Stored in directory: /private/var/folders/ml/mdmjmndd6jdd7wvyw4576m980000gn/T/pip-ephem-wheel-cache-8kzmbsck/wheels/6f/c0/a1/4d7e8f7f5f1c43e3973531f367dade78d8b5d66c2e11521cfc
Building wheel for pykeops (pyproject.toml) ... done
Created wheel for pykeops: filename=pykeops-2.3-py3-none-any.whl size=120568 sha256=127ecad0d022dbcf6bf523097ccefaaa7ba14e4508617834ff50d9a2aca87cb6
Stored in directory: /Users/josemanueldelgadoblasco/Library/Caches/pip/wheels/b0/ac/34/a732caf88f9754536a4e2389a3f08c035ad33c0ae6f4cfbc38
Building wheel for keopscore (pyproject.toml) ... done
Created wheel for keopscore: filename=keopscore-2.3-py3-none-any.whl size=185957 sha256=73013b1bb0ef1f8bb4c87c50a9bb26d1041f18160ba63ea34bd7962f2e223de1
Stored in directory: /Users/josemanueldelgadoblasco/Library/Caches/pip/wheels/4f/f8/36/9335901e1bdbd1b6c466d8f33800f66f09c60e457ebc921d29
Building wheel for numba (pyproject.toml) ... done
Created wheel for numba: filename=numba-0.65.1-cp312-cp312-macosx_11_0_x86_64.whl size=2665743 sha256=831f0b07ed5b27b6874382da5a43ab90c2023267da6cbcc86c30939df752964c
Stored in directory: /Users/josemanueldelgadoblasco/Library/Caches/pip/wheels/0a/2b/6e/c0ebc994d4bb4f77c0d60ac2298f63f4d3503bf723dcebe0da
Building wheel for llvmlite (pyproject.toml) ... error
error: subprocess-exited-with-error

× Building wheel for llvmlite (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [70 lines of output]
/private/var/folders/ml/mdmjmndd6jdd7wvyw4576m980000gn/T/pip-build-env-0y0r5w9g/overlay/lib/python3.12/site-packages/setuptools/_vendor/wheel/bdist_wheel.py:4: FutureWarning: The 'wheel' package is no longer the canonical location of the 'bdist_wheel' command, and will be removed in a future release. Please update to setuptools v70.1 or later which contains an integrated version of this command.
warn(
running bdist_wheel
Traceback (most recent call last):
File "/private/var/folders/ml/mdmjmndd6jdd7wvyw4576m980000gn/T/pip-install-x2hsxkwo/llvmlite_581ace121dfa475db9afb4cda98914cc/ffi/build.py", line 86, in check_cmake
subprocess.run(("cmake", ), check=True, stdout=subprocess.PIPE,
File "/Users/josemanueldelgadoblasco/Applications/anaconda3/envs/sarpyx/lib/python3.12/subprocess.py", line 548, in run
with Popen(*popenargs, **kwargs) as process:
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/josemanueldelgadoblasco/Applications/anaconda3/envs/sarpyx/lib/python3.12/subprocess.py", line 1026, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "/Users/josemanueldelgadoblasco/Applications/anaconda3/envs/sarpyx/lib/python3.12/subprocess.py", line 1955, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'cmake'

  The above exception was the direct cause of the following exception:
  
  Traceback (most recent call last):
    File "/private/var/folders/ml/mdmjmndd6jdd7wvyw4576m980000gn/T/pip-install-x2hsxkwo/llvmlite_581ace121dfa475db9afb4cda98914cc/ffi/build.py", line 209, in <module>
      main()
    File "/private/var/folders/ml/mdmjmndd6jdd7wvyw4576m980000gn/T/pip-install-x2hsxkwo/llvmlite_581ace121dfa475db9afb4cda98914cc/ffi/build.py", line 203, in main
      main_posix('.dylib')
    File "/private/var/folders/ml/mdmjmndd6jdd7wvyw4576m980000gn/T/pip-install-x2hsxkwo/llvmlite_581ace121dfa475db9afb4cda98914cc/ffi/build.py", line 189, in main_posix
      try_cmake(here_dir, build_dir, generator)
    File "/private/var/folders/ml/mdmjmndd6jdd7wvyw4576m980000gn/T/pip-install-x2hsxkwo/llvmlite_581ace121dfa475db9afb4cda98914cc/ffi/build.py", line 107, in try_cmake
      check_cmake()
    File "/private/var/folders/ml/mdmjmndd6jdd7wvyw4576m980000gn/T/pip-install-x2hsxkwo/llvmlite_581ace121dfa475db9afb4cda98914cc/ffi/build.py", line 100, in check_cmake
      raise FileNotFoundError(msg) from e
  FileNotFoundError: llvmlite needs CMake tools to build. It appears that the 'cmake' tool is either not installed or not found on the path. Please add CMake tools to the build environment and path, they are available from many package managers.
  Traceback (most recent call last):
    File "/Users/josemanueldelgadoblasco/Applications/anaconda3/envs/sarpyx/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 389, in <module>
      main()
    File "/Users/josemanueldelgadoblasco/Applications/anaconda3/envs/sarpyx/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 373, in main
      json_out["return_val"] = hook(**hook_input["kwargs"])
                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/Users/josemanueldelgadoblasco/Applications/anaconda3/envs/sarpyx/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 280, in build_wheel
      return _build_backend().build_wheel(
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/private/var/folders/ml/mdmjmndd6jdd7wvyw4576m980000gn/T/pip-build-env-0y0r5w9g/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 441, in build_wheel
      return _build(['bdist_wheel', '--dist-info-dir', str(metadata_directory)])
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/private/var/folders/ml/mdmjmndd6jdd7wvyw4576m980000gn/T/pip-build-env-0y0r5w9g/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 429, in _build
      return self._build_with_temp_dir(
             ^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/private/var/folders/ml/mdmjmndd6jdd7wvyw4576m980000gn/T/pip-build-env-0y0r5w9g/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 410, in _build_with_temp_dir
      self.run_setup()
    File "/private/var/folders/ml/mdmjmndd6jdd7wvyw4576m980000gn/T/pip-build-env-0y0r5w9g/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 520, in run_setup
      super().run_setup(setup_script=setup_script)
    File "/private/var/folders/ml/mdmjmndd6jdd7wvyw4576m980000gn/T/pip-build-env-0y0r5w9g/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 317, in run_setup
      exec(code, locals())
    File "<string>", line 200, in <module>
    File "/private/var/folders/ml/mdmjmndd6jdd7wvyw4576m980000gn/T/pip-build-env-0y0r5w9g/overlay/lib/python3.12/site-packages/setuptools/__init__.py", line 117, in setup
      return distutils.core.setup(**attrs)  # type: ignore[return-value]
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/private/var/folders/ml/mdmjmndd6jdd7wvyw4576m980000gn/T/pip-build-env-0y0r5w9g/overlay/lib/python3.12/site-packages/setuptools/_distutils/core.py", line 186, in setup
      return run_commands(dist)
             ^^^^^^^^^^^^^^^^^^
    File "/private/var/folders/ml/mdmjmndd6jdd7wvyw4576m980000gn/T/pip-build-env-0y0r5w9g/overlay/lib/python3.12/site-packages/setuptools/_distutils/core.py", line 202, in run_commands
      dist.run_commands()
    File "/private/var/folders/ml/mdmjmndd6jdd7wvyw4576m980000gn/T/pip-build-env-0y0r5w9g/overlay/lib/python3.12/site-packages/setuptools/_distutils/dist.py", line 1000, in run_commands
      self.run_command(cmd)
    File "/private/var/folders/ml/mdmjmndd6jdd7wvyw4576m980000gn/T/pip-build-env-0y0r5w9g/overlay/lib/python3.12/site-packages/setuptools/dist.py", line 1107, in run_command
      super().run_command(command)
    File "/private/var/folders/ml/mdmjmndd6jdd7wvyw4576m980000gn/T/pip-build-env-0y0r5w9g/overlay/lib/python3.12/site-packages/setuptools/_distutils/dist.py", line 1019, in run_command
      cmd_obj.run()
    File "<string>", line 170, in run
    File "<string>", line 62, in build_library_files
    File "/Users/josemanueldelgadoblasco/Applications/anaconda3/envs/sarpyx/lib/python3.12/subprocess.py", line 571, in run
      raise CalledProcessError(retcode, process.args,
  subprocess.CalledProcessError: Command '['/Users/josemanueldelgadoblasco/Applications/anaconda3/envs/sarpyx/bin/python', '/private/var/folders/ml/mdmjmndd6jdd7wvyw4576m980000gn/T/pip-install-x2hsxkwo/llvmlite_581ace121dfa475db9afb4cda98914cc/ffi/build.py']' 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 llvmlite
Successfully built sarpyx pykeops keopscore numba
Failed to build llvmlite
error: failed-wheel-build-for-install

× Failed to build installable wheels for some pyproject.toml based projects
╰─> llvmlite

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions