monai-deploy-app-sdk icon indicating copy to clipboard operation
monai-deploy-app-sdk copied to clipboard

[BUG] Cannot install monai-deploy-app-sdk

Open vikashg opened this issue 11 months ago • 4 comments

Describe the bug When I try to install monai-deploy-app-sdk using the following statement python setup.py install I get the following error

Installed /opt/anaconda3/lib/python3.12/site-packages/monai_deploy_app_sdk-0+untagged.502.gd03c0eb-py3.12.egg
Processing dependencies for monai-deploy-app-sdk==0+untagged.502.gd03c0eb
Searching for holoscan~=2.0
Reading https://pypi.org/simple/holoscan/
No local packages or working download links found for holoscan~=2.0
error: Could not find suitable distribution for Requirement.parse('holoscan~=2.0')

Steps/Code to reproduce bug Clone the repository, and run the following command python setup.py install I get the following error

Installed /opt/anaconda3/lib/python3.12/site-packages/monai_deploy_app_sdk-0+untagged.502.gd03c0eb-py3.12.egg
Processing dependencies for monai-deploy-app-sdk==0+untagged.502.gd03c0eb
Searching for holoscan~=2.0
Reading https://pypi.org/simple/holoscan/
No local packages or working download links found for holoscan~=2.0
error: Could not find suitable distribution for Requirement.parse('holoscan~=2.0')

Steps/Code to reproduce bug Clone the repository, and run the following command python setup.py install

vikashg avatar Dec 13 '24 19:12 vikashg

Hi @vikashg , Holoscan 2.0 PyPI package doesn't support Python 3.12 (please see https://pypi.org/project/holoscan/2.0.0/#files). Python 3.12 is supported from Holoscan 2.6.0 + (https://pypi.org/project/holoscan/2.6.0/#files).

Please use Python 3.11 or update setup.cfg file (https://github.com/Project-MONAI/monai-deploy-app-sdk/blob/9608cd77d00a71089526cc8f46f17826ef99463c/setup.cfg#L27) to use the higher version of holoscan. Thanks!

gigony avatar Dec 17 '24 02:12 gigony

Thanks @gigony

vikashg avatar Dec 18 '24 01:12 vikashg

Hello @gigony So I tried doing what you said. I created an env with python 3.11. I also looked at the holoscan website https://pypi.org/project/holoscan/. If I do pip install holoscan. It by default installs the 0.6.0 version. Even if I upgrade the pip nothing particularly changes. Can you please suggest what can I do.

vikashg avatar Jan 08 '25 19:01 vikashg

Hello @gigony So I tried doing what you said. I created an env with python 3.11. I also looked at the holoscan website https://pypi.org/project/holoscan/. If I do pip install holoscan. It by default installs the 0.6.0 version. Even if I upgrade the pip nothing particularly changes. Can you please suggest what can I do.

This was seen happening before, due to the host configuration in terms of OS version, CUDA version, driver version etc. Please ensure the host env match what holoscan v2.x requires.

MMelQin avatar Jan 17 '25 19:01 MMelQin