when running the following code from a jupyter notebook in the ec2 instance:
from keras.datasets import imdb
the following error message pops out:
ModuleNotFoundError: No module named 'tensorflow'
I tried installing tensorflow using pip / conda e.g. pip install tensorflow
but the error still persists.
Aren't these packages pre-installed already in the deep learning instance and why does it not let me install it on my own?
CodePudding user response: