Couldn't install tensor flow-text

To satisfy the dependency of keras_nlp for LLM work, I tried to install tensor flow-text but it doesn't install:

python -m pip install tensorflow-text ERROR: Could not find a version that satisfies the requirement tensorflow-text (from versions: none) ERROR: No matching distribution found for tensorflow-text

Tokenizer

gpt2_tokenizer = keras_nlp.models.GPT2Tokenizer( vocabulary=GPT2_vocab_file, merges=GPT2_merges_file, )

78 """Detokenize and convert tensor to nested lists of python strings.""" 79 if tf_text is None:

---> 80 raise ImportError( 81 f"{symbol_name} requires the tensorflow-text package. " 82 "Please install with pip install tensorflow-text." 83 )

ImportError: GPT2Tokenizer requires the tensorflow-text package. Please install with pip install tensorflow-text.

Couldn't install tensor flow-text
 
 
Q