Skip to content
← Back to Community
Is Tensorflow on Repl.it?
Profile icon
DUOLabs333

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?

Voters
Profile icon
Hooded-Hacker
Profile icon
MEA432
Profile icon
GABRIELHAYDEN
Profile icon
rtjordan99
Profile icon
DUOLabs333
Comments
hotnewtop
Profile icon
cookeydev
Profile icon
AdCharity

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

Profile icon
Hooded-Hacker

@AdCharity i tried to do the same thing and tried pip install and all it said was Package Operation Failed it even says that i installed it with pip but it tries to install tensorflow when i run my replit

Profile icon
theangryepicbanana

It seems to work for me

Profile icon
DUOLabs333
Profile icon
ash15khng

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

Profile icon
DUOLabs333

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

Profile icon
AdCharity

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

Profile icon
ash15khng

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