Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
vikashg opened this issue Dec 13, 2024 · 4 comments
Open

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

vikashg opened this issue Dec 13, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@vikashg
Copy link
Collaborator

vikashg commented Dec 13, 2024

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 vikashg added the bug Something isn't working label Dec 13, 2024
@gigony
Copy link
Collaborator

gigony commented Dec 17, 2024

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 (

holoscan~=2.0
) to use the higher version of holoscan.
Thanks!

@vikashg
Copy link
Collaborator Author

vikashg commented Dec 18, 2024

Thanks @gigony

@gigony gigony closed this as completed Dec 18, 2024
@vikashg vikashg reopened this Jan 8, 2025
@vikashg
Copy link
Collaborator Author

vikashg commented Jan 8, 2025

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.

@MMelQin
Copy link
Collaborator

MMelQin commented Jan 17, 2025

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants