monai-deploy-app-sdk
monai-deploy-app-sdk copied to clipboard
[BUG] Cannot install monai-deploy-app-sdk
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
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!
Thanks @gigony
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.
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.