Home > Enterprise >  Tensorflow module is not found when running a code on AWS Deep Learning AMI (p2.xlarge)
Tensorflow module is not found when running a code on AWS Deep Learning AMI (p2.xlarge)

Time:04-04

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:

  • Related