hub icon indicating copy to clipboard operation
hub copied to clipboard

Not compatible with actual TF 2.17

Open shkarupa-alex opened this issue 1 year ago • 1 comments

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

shkarupa-alex avatar Jul 23 '24 07:07 shkarupa-alex

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.

malla456 avatar Mar 10 '25 12:03 malla456

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!

janasangeetha avatar Jun 30 '25 13:06 janasangeetha

Are you satisfied with the resolution of your issue? Yes No

google-ml-butler[bot] avatar Jun 30 '25 13:06 google-ml-butler[bot]