Hi,
Could you try this?
Run this command to get the installation location information:
$ pip3 show tensorflow-gpu
Name: tensorflow-gpu
Version: 1.14.0+nv19.7
Summary: TensorFlow is an open source machine learning framework for everyone.
Home-page: https://www.tensorflow.org/
Author: Google Inc.
Author-email: packages@tensorflow.org
License: Apache 2.0
Location: /usr/local/lib/python3.6/dist-packages
Requires: absl-py, wrapt, gast, google-pasta, grpcio, astor, termcolor, wheel, protobuf, six, numpy, keras-preprocessing, tensorboard, tensorflow-estimator, keras-applications
Required-by:
Then add the location into the python path.
# export PYTHONPATH=[your path]:$PYTHONPATH.
export PYTHONPATH=/usr/local/lib/python3.6/dist-packages:$PYTHONPATH.
Thanks.