Ask coding questions

← Back to all posts
how to installed keras package in repl
nhqazi (0)

Hi there
Please see me attached repl named as ActivityDetection. It just includes packages.I need to run my code. I already have installed the keras package using the packages icon. however, when I run the repl i found following error:
Traceback (most recent call last):
File "main.py", line 2, in <module>
from keras.models import Sequential
ModuleNotFoundError: No module named 'keras'

Comments
hotnewtop
AdCharity (1313)

1) why do you need oauth libraries
2) i'm not a python genius, but I recommend manually installing keras with the little packages button on the side/importing it at line one

nhqazi (0)

@AdCharity Actually This is my second day on repl so do not know much on it. Can u please elaborate what is another way of importing the keras in the repl.much appreciated

AdCharity (1313)

@nhqazi honestly I suck at python and my only attempts at neural networks failed. Basically, there should be a button on the side where you can manually install packages. It looks something like this :

If keras isn't in the packages, chances are repl doesn't support it (I think it does) or you're using the wrong language (ie: using js instead of python) to install keras.