Ask coding questions

← Back to all posts
Is Tensorflow on Repl.it?
DAVIDUGOOMENUKW (3)

I'm working on a deep learning challenge, so I went to import tensorflow.keras as keras
However, I got greeted with this message:

Traceback (most recent call last):
  File "main.py", line 7, in <module>
    import tensorflow.keras as keras
ModuleNotFoundError: No module named 'tensor
flow'

What's going on? Is there a way to fix this?

Comments
hotnewtop
AdCharity (1317)

manually install each dependency with the package manager on the left hand side.

ash15khng (712)

@theangryepicbanana Same here. Not sure why sometimes some people can get the modules downloaded but not others.

DAVIDUGOOMENUKW (3)

@ash15khng I wonder do you have it already installed on your computer?

AdCharity (1317)

@DAVIDUGOOMENUKW repl is online; it doesn't matter if it's on the computer or not.

ash15khng (712)

@DAVIDUGOOMENUKW 1) it doesn't matter repl is online
2) I don't