You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to build any project with the numpy dependency fails on my system.
Here is the output of python3 -m pip install numpy (ran just to isolate the error):
Collecting numpy
Using cached numpy-2.2.5.tar.gz (20.3 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Installing backend dependencies ... error
error: subprocess-exited-with-error
× pip subprocess to install backend dependencies did not run successfully.
│ exit code: 1
╰─> [81 lines of output]
Collecting ninja>=1.8.2
Using cached ninja-1.11.1.4.tar.gz (201 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 patchelf>=0.11.0
Using cached patchelf-0.17.2.2.tar.gz (149 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'
Building wheels for collected packages: ninja, patchelf
Building wheel for ninja (pyproject.toml): started
Building wheel for ninja (pyproject.toml): finished with status 'error'
error: subprocess-exited-with-error
× Building wheel for ninja (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [20 lines of output]
/tmp/pip-build-env-e69asi0i/normal/lib/python3.12/site-packages/setuptools_scm/git.py:310: UserWarning: git archive did not support describe output
warnings.warn("git archive did not support describe output")
/tmp/pip-build-env-e69asi0i/normal/lib/python3.12/site-packages/setuptools_scm/git.py:328: UserWarning: unprocessed git archival found (no export subst applied)
warnings.warn("unprocessed git archival found (no export subst applied)")
*** scikit-build-core 0.11.2 using CMake 3.30.3 (wheel)
*** Configuring CMake...
loading initial cache file build/py3-none-linux_x86_64/CMakeInit.txt
CMake Error at /usr/share/cmake-3.30/Modules/CMakeDetermineCCompiler.cmake:49 (message):
Could not find compiler set in environment variable CC:
musl-clang.
Call Stack (most recent call first):
CMakeLists.txt:3 (project)
CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
-- Configuring incomplete, errors occurred!
*** CMake configuration failed
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for ninja
Building wheel for patchelf (pyproject.toml): started
Building wheel for patchelf (pyproject.toml): finished with status 'error'
error: subprocess-exited-with-error
× Building wheel for patchelf (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [16 lines of output]
*** scikit-build-core 0.11.2 using CMake 3.30.3 (wheel)
*** Configuring CMake...
loading initial cache file build/py3-none-linux_x86_64/CMakeInit.txt
CMake Error at /usr/share/cmake-3.30/Modules/CMakeDetermineCCompiler.cmake:49 (message):
Could not find compiler set in environment variable CC:
musl-clang.
Call Stack (most recent call first):
CMakeLists.txt:3 (project)
CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
-- Configuring incomplete, errors occurred!
*** CMake configuration failed
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for patchelf
Failed to build ninja patchelf
ERROR: Failed to build installable wheels for some pyproject.toml based projects (ninja, patchelf)
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
I have musl-tools, musl-dev, llvm, gcc, clang, make and cmake installed.
Any idea what's causing this? Thanks!
The text was updated successfully, but these errors were encountered:
That ninja version has a musllinux wheel (https://pypi.org/project/ninja/1.11.1.4/#files), but apparently pip thinks that your system isn't compatible. If you install ninja with your system package manager, you'll avoid this problem.
Uh oh!
There was an error while loading. Please reload this page.
Trying to build any project with the
numpy
dependency fails on my system.Here is the output of
python3 -m pip install numpy
(ran just to isolate the error):I have
musl-tools
,musl-dev
,llvm
,gcc
,clang
,make
andcmake
installed.Any idea what's causing this? Thanks!
The text was updated successfully, but these errors were encountered: