Too restrictive python version for installing in pip
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
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!
At this moment, do you guys not support 3.11 still?
@mynameisjun Python 3.11 is officially supported and tested as part of our test suites. However, it's possible that it will trip up on some dependency on select platforms.
If you could try to narrow down what package fails to install, that would be very helpful for us. I just tried to install fastsam-s on python 3.11, and I had no issues. This was on Windows though and not macOS as the original poster.
Also note that it should be pip install "qai-hub-models[fastsam-s]"
(with dashes). There is a very subtle pip issue with underscores.