Not compatible with actual TF 2.17
What happened?
When installing this package, TF 2.16 is dowloaded too instead of actual TF 2.17
Relevant code
pip install -U tensorflow-hub
Relevant log output
Collecting tensorflow-hub
Using cached tensorflow_hub-0.16.1-py2.py3-none-any.whl.metadata (1.3 kB)
Collecting tf-keras>=2.14.1 (from tensorflow-hub)
Using cached tf_keras-2.17.0-py3-none-any.whl.metadata (1.6 kB)
Collecting tensorflow<2.17,>=2.16 (from tf-keras>=2.14.1->tensorflow-hub)
Using cached tensorflow-2.16.2-cp311-cp311-macosx_10_15_x86_64.whl.metadata (4.1 kB)
tensorflow_hub Version
other (please specify)
TensorFlow Version
other (please specify)
Other libraries
tensorflow==2.17.0
Python Version
3.x
OS
macOS
Hi @shkarupa-alex ,
I apologize for the delay in my response, could you please confirm which python version are you using ? if you're using python version greater than 3.10 then I would suggest you to please give it try with python version either 3.9 or 3.10 and see is it downloading only TensorFlow version 2.17 instead of 2.16.2 Please refer this official documentation for supported python versions for tensorflow_hub
Thank you for your cooperation and patience.
Closing this due to inactivity. Please take a look into the answers provided above, feel free to reopen and post your comments(if you still have queries on this). Thank you!