I followed instructions given in the TensorFlow website to install tensorflow_hub and installed it within a conda environment.
$ pip install "tensorflow>=2.0.0"
$ pip install --upgrade tensorflow-hub
I ran the above in anaconda prompt
But I'm still getting ModuleNotFoundError
for 'tensorflow_hub'.
Any help here is appreciated. Thanks in advance
python -m pip install --upgrade tensorflow-hub
, and replacepython
with whichever python interpreter you want to use.importing tensorflow hub
in the samevirtual environment
in which you have installed it. Thanks!importing tensorflow_hub
in yourVirtual Environment
,py3_TF2.0
. If it is still resulting in error, please share your code.