Skip to content

Bug: tensorflow_hub is not working in 3.12 #939

@hemilparmar

Description

@hemilparmar

What happened?

tensorflow_hub is giving an error while installing in python 3.12 what is the dependency on it ? what is the alternative way to use model present in hub ?

Relevant code

import tensorflow_hub as hub
use_model = hub.KerasLayer("https://tfhub.dev/google/universal-sentence-encoder-qa/3")

Relevant log output

can not install.
It say no wheel found for this version

tensorflow_hub Version

0.12.0 (latest stable release)

TensorFlow Version

2.8 (latest stable release)

Other libraries

rom pkg_resources import parse_version
No package found

Python Version

3.x

OS

Linux

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions