-
Notifications
You must be signed in to change notification settings - Fork 258
Closed
Description
Installation of MONAILablel as specified on https://monai.io/label.html#getting-started fails on Linux Mint 22
To Reproduce
Steps to reproduce the behavior:
conda create --name monaito create a new conda environment (withconda 24.11.1)conda activate monaito activate that new environment (withpython v3.13.2)conda install pipto installpippip install monaipip install monailabeland get the traceback below
~ via 🐍 v3.13.2 via 🅒 monai
❯ pip install monailabel
Collecting monailabel
Using cached monailabel-0.8.5-202411252313-py3-none-any.whl.metadata (23 kB)
Requirement already satisfied: monai>=1.4.0 in ./miniconda3/envs/monai/lib/python3.13/site-packages (from monai[fire,gdown,ignite,itk,lmdb,mlflow,nibabel,openslide,pillow,psutil,skimage,tensorboard,torchvision,tqdm]>=1.4.0->monailabel) (1.4.0)
Collecting uvicorn>=0.29.0 (from monailabel)
Using cached uvicorn-0.34.0-py3-none-any.whl.metadata (6.5 kB)
Collecting pydantic>=2.7.0 (from monailabel)
Using cached pydantic-2.10.6-py3-none-any.whl.metadata (30 kB)
Collecting pydantic-settings>=2.2.1 (from monailabel)
Using cached pydantic_settings-2.8.1-py3-none-any.whl.metadata (3.5 kB)
Collecting python-dotenv>=1.0.1 (from monailabel)
Using cached python_dotenv-1.0.1-py3-none-any.whl.metadata (23 kB)
Collecting fastapi>=0.110.2 (from monailabel)
Using cached fastapi-0.115.11-py3-none-any.whl.metadata (27 kB)
Collecting python-multipart>=0.0.9 (from monailabel)
Using cached python_multipart-0.0.20-py3-none-any.whl.metadata (1.8 kB)
Collecting httpx>=0.27.0 (from monailabel)
Using cached httpx-0.28.1-py3-none-any.whl.metadata (7.1 kB)
Collecting schedule>=1.2.1 (from monailabel)
Using cached schedule-1.2.2-py3-none-any.whl.metadata (3.8 kB)
Collecting dicomweb-client>=0.59.1 (from dicomweb-client[gcp]>=0.59.1->monailabel)
Using cached dicomweb_client-0.59.3-py3-none-any.whl.metadata (4.5 kB)
Collecting timeloop>=1.0.2 (from monailabel)
Using cached timeloop-1.0.2.tar.gz (2.9 kB)
Preparing metadata (setup.py) ... done
Collecting expiringdict>=1.2.2 (from monailabel)
Using cached expiringdict-1.2.2-py3-none-any.whl.metadata (3.7 kB)
Collecting expiring_dict>=1.1.0 (from monailabel)
Using cached expiring_dict-1.1.2-py3-none-any.whl.metadata (1.3 kB)
Collecting cachetools>=5.3.3 (from monailabel)
Using cached cachetools-5.5.2-py3-none-any.whl.metadata (5.4 kB)
Collecting watchdog>=4.0.0 (from monailabel)
Using cached watchdog-6.0.0-py3-none-manylinux2014_x86_64.whl.metadata (44 kB)
Collecting pydicom>=2.4.4 (from monailabel)
Using cached pydicom-3.0.1-py3-none-any.whl.metadata (9.4 kB)
Collecting pydicom-seg>=0.4.1 (from monailabel)
Using cached pydicom_seg-0.4.1-py3-none-any.whl.metadata (5.2 kB)
Collecting pynetdicom>=2.0.2 (from monailabel)
Using cached pynetdicom-2.1.1-py3-none-any.whl.metadata (23 kB)
Collecting pynrrd>=1.0.0 (from monailabel)
Using cached pynrrd-1.1.3-py3-none-any.whl.metadata (5.4 kB)
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
╰─> [4 lines of output]
Collecting setuptools
Using cached setuptools-75.8.2-py3-none-any.whl.metadata (6.7 kB)
ERROR: Could not find a version that satisfies the requirement numpy==1.26.0 (from versions: 1.3.0, 1.4.1, 1.5.0, 1.5.1, 1.6.0, 1.6.1, 1.6.2, 1.7.0, 1.7.1, 1.7.2, 1.8.0, 1.8.1, 1.8.2, 1.9.0, 1.9.1, 1.9.2, 1.9.3, 1.10.0.post2, 1.10.1, 1.10.2, 1.10.4, 1.11.0, 1.11.1, 1.11.2, 1.11.3, 1.12.0, 1.12.1, 1.13.0, 1.13.1, 1.13.3, 1.14.0, 1.14.1, 1.14.2, 1.14.3, 1.14.4, 1.14.5, 1.14.6, 1.15.0, 1.15.1, 1.15.2, 1.15.3, 1.15.4, 1.16.0, 1.16.1, 1.16.2, 1.16.3, 1.16.4, 1.16.5, 1.16.6, 1.17.0, 1.17.1, 1.17.2, 1.17.3, 1.17.4, 1.17.5, 1.18.0, 1.18.1, 1.18.2, 1.18.3, 1.18.4, 1.18.5, 1.19.0, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.19.5, 1.20.0, 1.20.1, 1.20.2, 1.20.3, 1.21.0, 1.21.1, 1.22.0, 1.22.1, 1.22.2, 1.22.3, 1.22.4, 1.23.0, 1.23.1, 1.23.2, 1.23.3, 1.23.4, 1.23.5, 1.24.0, 1.24.1, 1.24.2, 1.24.3, 1.24.4, 1.25.0, 1.25.1, 1.25.2, 1.26.2, 1.26.3, 1.26.4, 2.0.0, 2.0.1, 2.0.2, 2.1.0rc1, 2.1.0, 2.1.1, 2.1.2, 2.1.3, 2.2.0rc1, 2.2.0, 2.2.1, 2.2.2, 2.2.3)
ERROR: No matching distribution found for numpy==1.26.0
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× pip subprocess to install build dependencies did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
Environment
~ via 🐍 v3.13.2 via 🅒 monai
❯ python -c 'import monai; monai.config.print_debug_info()'
================================
Printing MONAI config...
================================
MONAI version: 1.4.0
Numpy version: 1.26.4
Pytorch version: 2.6.0+cu124
MONAI flags: HAS_EXT = False, USE_COMPILED = False, USE_META_DICT = False
MONAI rev id: 46a5272196a6c2590ca2589029eed8e4d56ff008
MONAI __file__: /home/<username>/miniconda3/envs/monai/lib/python3.13/site-packages/monai/__init__.py
Optional dependencies:
Pytorch Ignite version: NOT INSTALLED or UNKNOWN VERSION.
ITK version: NOT INSTALLED or UNKNOWN VERSION.
Nibabel version: NOT INSTALLED or UNKNOWN VERSION.
scikit-image version: NOT INSTALLED or UNKNOWN VERSION.
scipy version: NOT INSTALLED or UNKNOWN VERSION.
Pillow version: NOT INSTALLED or UNKNOWN VERSION.
Tensorboard version: NOT INSTALLED or UNKNOWN VERSION.
gdown version: NOT INSTALLED or UNKNOWN VERSION.
TorchVision version: NOT INSTALLED or UNKNOWN VERSION.
tqdm version: NOT INSTALLED or UNKNOWN VERSION.
lmdb version: NOT INSTALLED or UNKNOWN VERSION.
psutil version: NOT INSTALLED or UNKNOWN VERSION.
pandas version: NOT INSTALLED or UNKNOWN VERSION.
einops version: NOT INSTALLED or UNKNOWN VERSION.
transformers version: NOT INSTALLED or UNKNOWN VERSION.
mlflow version: NOT INSTALLED or UNKNOWN VERSION.
pynrrd version: NOT INSTALLED or UNKNOWN VERSION.
clearml version: NOT INSTALLED or UNKNOWN VERSION.
For details about installing the optional dependencies, please visit:
https://docs.monai.io/en/latest/installation.html#installing-the-recommended-dependencies
================================
Printing system config...
================================
`psutil` required for `print_system_info`
================================
Printing GPU config...
================================
Num GPUs: 1
Has CUDA: True
CUDA version: 12.4
cuDNN enabled: True
NVIDIA_TF32_OVERRIDE: None
TORCH_ALLOW_TF32_CUBLAS_OVERRIDE: None
cuDNN version: 90100
Current device: 0
Library compiled for CUDA architectures: ['sm_50', 'sm_60', 'sm_70', 'sm_75', 'sm_80', 'sm_86', 'sm_90']
GPU 0 Name: NVIDIA RTX A6000
GPU 0 Is integrated: False
GPU 0 Is multi GPU board: False
GPU 0 Multi processor count: 84
GPU 0 Total memory (GB): 47.5
GPU 0 CUDA capability (maj.min): 8.6
Ensuring you use the relevant python executable, please paste the output of:
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels