GeezerVison is showing github.com — Problems with numba installation · Issue #146 · GMPavanLab/dynsight
Problems with numba installation #146Description@SimoneMartino98 correct me if I'm wrong.
First of all, we forget to add "numba" to the list of dependencies in pyproject.toml.
But, even when it's added, if we try to install dynsight, there are errors and the installation fails.
However, if numba is installed with conda install numba, then dynsight is can be installed correctly. Activitymatteobecchi commented on Dec 11, 2025 CollaboratorAuthor More actions The error look like this
error: subprocess-exited-with-error
× Building wheel for llvmlite (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [44 lines of output]
running bdist_wheel
/Users/mattebecchi/miniconda3/envs/tmp_dyns/bin/python3.11 /private/var/folders/_9/9h5yqczn5zzfs31kt2z2c4940000gn/T/pip-install-w6iplt4h/llvmlite_6c8a2fe2b2ae4876af8169da812a9913/ffi/build.py
-- The C compiler identification is AppleClang 17.0.0.17000404
-- The CXX compiler identification is AppleClang 17.0.0.17000404
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at CMakeLists.txt:21 (find_package):
Could not find a package configuration file provided by "LLVM" with any of
the following names:
LLVMConfig.cmake
llvm-config.cmake
Add the installation prefix of "LLVM" to CMAKE_PREFIX_PATH or set
"LLVM_DIR" to a directory containing one of the above files. If "LLVM"
provides a separate development package or SDK, be sure it has been
installed.
-- Configuring incomplete, errors occurred!
See also "/private/var/folders/_9/9h5yqczn5zzfs31kt2z2c4940000gn/T/pip-install-w6iplt4h/llvmlite_6c8a2fe2b2ae4876af8169da812a9913/ffi/build/CMakeFiles/CMakeOutput.log".
See also "/private/var/folders/_9/9h5yqczn5zzfs31kt2z2c4940000gn/T/pip-install-w6iplt4h/llvmlite_6c8a2fe2b2ae4876af8169da812a9913/ffi/build/CMakeFiles/CMakeError.log".
Running: cmake -G Unix Makefiles /private/var/folders/_9/9h5yqczn5zzfs31kt2z2c4940000gn/T/pip-install-w6iplt4h/llvmlite_6c8a2fe2b2ae4876af8169da812a9913/ffi
Traceback (most recent call last):
File "/private/var/folders/_9/9h5yqczn5zzfs31kt2z2c4940000gn/T/pip-install-w6iplt4h/llvmlite_6c8a2fe2b2ae4876af8169da812a9913/ffi/build.py", line 209, in <module>
main()
File "/private/var/folders/_9/9h5yqczn5zzfs31kt2z2c4940000gn/T/pip-install-w6iplt4h/llvmlite_6c8a2fe2b2ae4876af8169da812a9913/ffi/build.py", line 203, in main
main_posix('.dylib')
File "/private/var/folders/_9/9h5yqczn5zzfs31kt2z2c4940000gn/T/pip-install-w6iplt4h/llvmlite_6c8a2fe2b2ae4876af8169da812a9913/ffi/build.py", line 189, in main_posix
try_cmake(here_dir, build_dir, generator)
File "/private/var/folders/_9/9h5yqczn5zzfs31kt2z2c4940000gn/T/pip-install-w6iplt4h/llvmlite_6c8a2fe2b2ae4876af8169da812a9913/ffi/build.py", line 127, in try_cmake
subprocess.check_call(args)
File "/Users/mattebecchi/miniconda3/envs/tmp_dyns/lib/python3.11/subprocess.py", line 413, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['cmake', '-G', 'Unix Makefiles', '/private/var/folders/_9/9h5yqczn5zzfs31kt2z2c4940000gn/T/pip-install-w6iplt4h/llvmlite_6c8a2fe2b2ae4876af8169da812a9913/ffi']' returned non-zero exit status 1.
error: command '/Users/mattebecchi/miniconda3/envs/tmp_dyns/bin/python3.11' failed with exit code 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 dynsight numba
Failed to build llvmlite
error: failed-wheel-build-for-install
× Failed to build installable wheels for some pyproject.toml based projects
╰─> llvmlite
error: Recipe `dev` failed on line 13 with exit code 1
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|