Project-MONAI / Project-MONAI/MONAI
ERROR: No matching distribution found for numpy==1.26.0
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 8.7k
- Forks
- 1.6k
- Avg merge
- 5d 1h
- Merged PRs (30d)
- 20
Description
Describe the bug
Installing monailabel fails due to an incompatibility with Python 3.13.2. The dependency numpymaxflow>=0.0.7 attempts to install numpy==1.26.0, but this version (and others) are not compatible with Python 3.13, leading to a build dependency error.
To Reproduce
Steps to reproduce the error:
- Install Python 3.13.2 (e.g., on macOS with Darwin Kernel Version 24.3.0).
- Run
pip install monailabel.
Expected behavior
monailabel and its dependencies should install successfully under Python 3.13, or the installer should gracefully report the incompatibility.
Error log
Collecting numpymaxflow>=0.0.7 (from monailabel)
Using cached numpymaxflow-0.0.7.tar.gz (14 kB)
Installing build dependencies ... error
error: subprocess-exited-with-error
× pip subprocess to install build dependencies did not run successfully.
│ exit code: 1
╰─> [5 lines of output]
...
ERROR: No matching distribution found for numpy==1.26.0
Environment
- OS: macOS (Darwin Kernel Version 24.3.0; arm64)
- Python version: 3.13.2
- monailabel version: latest from PyPI
- Pip version: 24.3.1
Additional context
numpy==1.26.0is not compatible with Python 3.13.2; it supports<3.13.- Many scientific Python packages may not yet fully support Python 3.13, which is still very new.
- A workaround may be to downgrade to Python 3.12.x, where the required
numpyversions are compatible and better supported.
Let me know if you'd like help creating a GitHub issue or trying a workaround (like using conda with Python 3.12).
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing pip install monailabel with Python 3.13.2 and inspect the dependency metadata for numpymaxflow>=0.0.7, especially its pinned NumPy build requirement. Done means installation succeeds on Python 3.13 or the incompatibility is reported clearly, with the relevant dependency behavior verified.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- numpy, python
- Domain
- build-system, machine-learning
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100