Too restrictive python version for installing in pip

#1
by pzoltowski - opened

I have python 3.11.6 but currently the wheel is too restrictive requiring version 3.11

pip install "qai-hub-models[fastsam_s]"

ERROR: Ignored the following versions that require a different python version: 0.0.0 Requires-Python >=3.8, <3.11; 0.2.0 Requires-Python >=3.8, <3.11; 0.2.1 Requires-Python >=3.8, <3.11; 0.2.2 Requires-Python >=3.8, <3.11; 0.2.3 Requires-Python >=3.8, <3.11; 0.2.5 Requires-Python >=3.8, <3.11; 0.2.6 Requires-Python >=3.8, <3.11; 0.2.7 Requires-Python >=3.8, <3.11; 0.2.71 Requires-Python >=3.8, <3.11; 0.3.0 Requires-Python >=3.8, <3.11; 0.3.1 Requires-Python >=3.8, <3.11; 0.3.2 Requires-Python >=3.8, <3.11
ERROR: Could not find a version that satisfies the requirement qai-hub-models[fastsam_s] (from versions: none)
ERROR: No matching distribution found for qai-hub-models[fastsam_s]

pip --version
pip 24.0 from /Users/patryk/.pyenv/versions/3.11.6/lib/python3.11/site-packages/pip (python 3.11)
python --version
Python 3.11.6

MacOS Sonoma 14.3.1

Qualcomm org

Thanks for reporting the issue. We are working on 3.11 support and we should definitely fail with clearer message. We can look into it.

We actually don't support python 3.11 as of now due to some our dependencies. Please try again with python 3.8/3.9/3.10. That should work. Also, feel free to join our slack community (https://join.slack.com/t/qualcomm-ai-hub/shared_invite/zt-2dgf95loi-CXHTDRR1rvPgQWPO~ZZZJg) to help you resolve these issues faster!

shreyajn changed discussion status to closed
shreyajn changed discussion status to open

Sign up or log in to comment