-
Notifications
You must be signed in to change notification settings - Fork 20
Open
Description
Trying
uv tool run nii2dcm
Fails b/c numpy 1.23.2 (Aug 13, 2022) depends on distutils, removed in python 3.12 (released Oct. 2, 2023)
× Failed to build `numpy==1.23.2`
├─▶ The build backend returned an error
╰─▶ Call to `setuptools.build_meta:__legacy__.build_wheel` failed (exit status: 1)
[stderr]
Traceback (most recent call last):
File "<string>", line 8, in <module>
File "/home/recontwix/.cache/uv/builds-v0/.tmpgSrEYF/lib/python3.12/site-packages/setuptools/__init__.py", line 10, in <module>
import distutils.core
ModuleNotFoundError: No module named 'distutils'
hint: `distutils` was removed from the standard library in Python 3.12. Consider adding a constraint (like `numpy >1.23.2`) to avoid building a
version of `numpy` that depends on `distutils`.
help: `numpy` (v1.23.2) was included because `nii2dcm` (v0.1.6) depends on `numpy`
Metadata
Metadata
Assignees
Labels
No labels