harvitronix / reinforcement-learning-car

Using reinforcement learning to teach a car to avoid obstacles.
MIT License
488 stars 202 forks source link

Error module import #12

Closed LORDTEK closed 7 years ago

LORDTEK commented 7 years ago

:~/reinforcement-learning-car$ python3 learning.py Loading chipmunk for Linux (64bit) [/usr/local/lib/python3.5/dist-packages/pymunk/libchipmunk64.so] Using TensorFlow backend. Traceback (most recent call last): File "learning.py", line 5, in from nn import neural_net, LossHistory File "/home/archer/reinforcement-learning-car/nn.py", line 6, in from keras.models import Sequential File "/home/archer/.local/lib/python3.5/site-packages/keras/init.py", line 3, in from . import activations File "/home/archer/.local/lib/python3.5/site-packages/keras/activations.py", line 4, in from . import backend as K File "/home/archer/.local/lib/python3.5/site-packages/keras/backend/init.py", line 73, in from .tensorflow_backend import * File "/home/archer/.local/lib/python3.5/site-packages/keras/backend/tensorflow_backend.py", line 1, in import tensorflow as tf ImportError: No module named 'tensorflow'

Microos commented 7 years ago

keras uses tensorflow as its backend and you may need to get that installed.