Beginner here! I've successfully (I think) set up and installed all the required libraries for Deep Learning environment with Anaconda
according to this post but now when I build the following code in SublimeText
:
from numpy import loadtxt
from keras.models import Sequential
from keras.layers import Dense
it gives me the error:
ModuleNotFoundError: No module named 'keras'
[Finished in 1.8s with exit code 1]
[cmd: ['/Library/Frameworks/Python.framework/Versions/3.7/bin/python3', '-u', '/Users/Nik/Desktop/keras_first_network.py']]
[dir: /Users/Nik/Desktop]
[path: /usr/bin:/bin:/usr/sbin:/sbin]
I thought it was a compatibility issue so i downgraded Python using conda install python=3.6.4
but the error keep coming up. What's happening?
I've tried downgrading Python
to a lower version. When I run the above code directly in Python from the terminal there's no error.