Search code examples
tensorflowkerasrecurrent-neural-network

ModuleNotFoundError: No module named 'tensoflow'


%matplotlib inline

import tensoflow as tf
import matplotlib.pyplot as plt

from rnn.lstm_recurrent_model import LSTMRecurrentModel
from rnn.lstm_solver import LSTMSolver
from rnn.data_util import load_word_based_text_input

But I got error like below

ModuleNotFoundError Traceback (most recent call last) in 1 get_ipython().run_line_magic('matplotlib', 'inline') 2 ----> 3 import tensoflow as tf 4 import matplotlib.pyplot as plt 5

ModuleNotFoundError: No module named 'tensoflow'

Tensoflow version : 1.15 Keras version : 2.2.0


Solution

  • it should be

    import tensorflow as tf
    

    You have mistakenly written

    import tensoflow as tf
    

    Typing mistake.