Open kk2491 opened 6 years ago
Hi Guys,
Just to update, I have fixed the issue installing the following packages.
xvfb
libav-tools
xorg-dev
libsdl2-dev
swig
cmake
I was able to fix the error in
pip install gym[all]
Tried running python DDPG.py again.
Got the below error:
kk@kk-Lenovo-ideapad-320-15ISK:~/gym_torcs$ python ddpg.py
Traceback (most recent call last):
File "ddpg.py", line 5, in <module>
from keras.models import model_from_json, Model
ImportError: No module named keras.models
Fixed it by running:
kk@kk-Lenovo-ideapad-320-15ISK:~/gym_torcs$ sudo pip install keras==1.1.0
Now getting the below error:
kk@kk-Lenovo-ideapad-320-15ISK:~/gym_torcs$ python ddpg.py
Using TensorFlow backend.
Traceback (most recent call last):
File "ddpg.py", line 5, in <module>
from keras.models import model_from_json, Model
File "/usr/local/lib/python2.7/dist-packages/keras/__init__.py", line 2, in <module>
from . import backend
File "/usr/local/lib/python2.7/dist-packages/keras/backend/__init__.py", line 64, in <module>
from .tensorflow_backend import *
File "/usr/local/lib/python2.7/dist-packages/keras/backend/tensorflow_backend.py", line 1, in <module>
import tensorflow as tf
ImportError: No module named tensorflow
I am stuck here. Please help me to fix this error.
Thank you, KK
Thank you, KK
How do you install the packages you used to solve the errors on pip install gym[all], are the any special procedures because i noticed it while installing swig, the procedure involves using environmental variables.
Hi Guys,
I have started working on Torcs using DDPG-Keras. This question is quite long, please bear with me.
As mentioned in the README, I followed the below procedure.
While running python ddpg.py I got the below error:
To fix this error, I started installing gym by running the below command
But I ended up in the below errors while installing gym.
I tried running python ddpg.py again, but still getting the same error as before.
Please help me to fix this error.
Thank you, KK