-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Closed
Labels
questionAsking for clarification or supportAsking for clarification or support
Description
I'm trying to add numba as a dependency on my project but it's failing to install llvmlite. I tried the solutions in #6281 namely adding "llvmlite >=0.43.0" to constraint-dependencies, but even with the newest version of llvmlite, the installation fails. I've tried clearing the uv cache and updating Visual Studio with no change in the result. Any help is greatly appreciated.
> uv add llvmlite
Resolved 51 packages in 231ms
× Failed to download and build `llvmlite==0.43.0`
╰─▶ Build backend failed to build wheel through `build_wheel` (exit code: 1)
[stdout]
running bdist_wheel
C:\Users\gobbo\AppData\Local\uv\cache\builds-v0\.tmpTdaGAp\Scripts\python.exe
C:\Users\gobbo\AppData\Local\uv\cache\sdists-v6\pypi\llvmlite\0.43.0\FEFslMc92T44SRRD8uayn\src\ffi\build.py
Trying generator ('Visual Studio 16 2019', 'x64', 'v142')
Running: cmake -G Visual Studio 16 2019 -A x64 -T v142
C:\Users\gobbo\AppData\Local\uv\cache\sdists-v6\pypi\llvmlite\0.43.0\FEFslMc92T44SRRD8uayn\src\ffi\dummy
[stderr]
Traceback (most recent call last):
File "C:\Users\gobbo\AppData\Local\uv\cache\sdists-v6\pypi\llvmlite\0.43.0\FEFslMc92T44SRRD8uayn\src\ffi\build.py", line 235, in
<module>
main()
~~~~^^
File "C:\Users\gobbo\AppData\Local\uv\cache\sdists-v6\pypi\llvmlite\0.43.0\FEFslMc92T44SRRD8uayn\src\ffi\build.py", line 222, in
main
main_windows()
~~~~~~~~~~~~^^
File "C:\Users\gobbo\AppData\Local\uv\cache\sdists-v6\pypi\llvmlite\0.43.0\FEFslMc92T44SRRD8uayn\src\ffi\build.py", line 103, in
main_windows
generator = find_windows_generator()
File "C:\Users\gobbo\AppData\Local\uv\cache\sdists-v6\pypi\llvmlite\0.43.0\FEFslMc92T44SRRD8uayn\src\ffi\build.py", line 91, in
find_windows_generator
try_cmake(cmake_dir, build_dir, *generator)
~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\gobbo\AppData\Local\uv\cache\sdists-v6\pypi\llvmlite\0.43.0\FEFslMc92T44SRRD8uayn\src\ffi\build.py", line 36, in
try_cmake
subprocess.check_call(args)
~~~~~~~~~~~~~~~~~~~~~^^^^^^
File "C:\Users\gobbo\AppData\Roaming\uv\python\cpython-3.13.1-windows-x86_64-none\Lib\subprocess.py", line 414, in check_call
retcode = call(*popenargs, **kwargs)
File "C:\Users\gobbo\AppData\Roaming\uv\python\cpython-3.13.1-windows-x86_64-none\Lib\subprocess.py", line 395, in call
with Popen(*popenargs, **kwargs) as p:
~~~~~^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\gobbo\AppData\Roaming\uv\python\cpython-3.13.1-windows-x86_64-none\Lib\subprocess.py", line 1036, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
pass_fds, cwd, env,
^^^^^^^^^^^^^^^^^^^
...<5 lines>...
gid, gids, uid, umask,
^^^^^^^^^^^^^^^^^^^^^^
start_new_session, process_group)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\gobbo\AppData\Roaming\uv\python\cpython-3.13.1-windows-x86_64-none\Lib\subprocess.py", line 1548, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^
# no special security
^^^^^^^^^^^^^^^^^^^^^
...<4 lines>...
cwd,
^^^^
startupinfo)
^^^^^^^^^^^^
FileNotFoundError: [WinError 2] The system cannot find the file specified
error: command 'C:\\Users\\gobbo\\AppData\\Local\\uv\\cache\\builds-v0\\.tmpTdaGAp\\Scripts\\python.exe' failed with exit code 1
help: `llvmlite` (v0.43.0) was included because `arpes-uv` (v0.1.0) depends on `llvmlite`
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
questionAsking for clarification or supportAsking for clarification or support