How to overcome importerror for tensorflow
I'm working on ubuntu, and i'm trying to train my python model but i receive the following error
Traceback (most recent call last):
File trial.py, line 2, in module
import tensorflow as tf
ImportError: No module named tensorflow
I've tried to install tensorflow via
pip install tensorfow
and ensure being installed via the following command
pip show tensor
and this is the output
Name: tensorflow
Version: 2.6.2
Summary: TensorFlow is an open source machine learning framework for everyone.
Home-page: https://www.tensorflow.org/
Author: Google Inc.
Author-email: [email protected]
License: Apache 2.0
Location: /home/eg07/.local/lib/python3.6/site-packages
Requires: absl-py, astunparse, clang, flatbuffers, gast, google-pasta, grpcio, h5py, keras, keras-preprocessing, numpy, opt-einsum, protobuf, six, tensorboard, tensorflow-estimator, termcolor, typing-extensions, wheel, wrapt
Required-by: tensorflowjs
after which i run python trial.py
but i recieved same ImportError message
any help how to overcome this
Topic cnn tensorflow deep-learning python machine-learning
Category Data Science