Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can I just use "pip install torcs"? #46

Open
Hanzy1996 opened this issue Dec 19, 2017 · 4 comments
Open

can I just use "pip install torcs"? #46

Hanzy1996 opened this issue Dec 19, 2017 · 4 comments

Comments

@Hanzy1996
Copy link

Hanzy1996 commented Dec 19, 2017

I failed to install libglu1-mesa-dev,so I just use "pip install torcs". But it seems that many problem occur.
When I run snakeoil3_gym.py in https://github.com/yanpanlau/DDPG-Keras-Torcs , it look like this and always relauch.
/usr/bin/python2.7 /home/hanzy/software/gym_torcs-master/snakeoil3_gym.py
Waiting for server on 3101............
Count Down : 5
Waiting for server on 3101............
Count Down : 4
Waiting for server on 3101............
Count Down : 3
Waiting for server on 3101............
Count Down : 2
Waiting for server on 3101............
Count Down : 1
Waiting for server on 3101............
Count Down : 0
Waiting for server on 3101............
Count Down : -1
relaunch torcs
Waiting for server on 3101............
Count Down : 4
Waiting for server on 3101............
Count Down : 3
Waiting for server on 3101............
Count Down : 2
Waiting for server on 3101............
Count Down : 1
Waiting for server on 3101............
Count Down : 0
Waiting for server on 3101............
Count Down : -1
relaunch torcs
Waiting for server on 3101............

When I run ddpg.py in https://github.com/yanpanlau/DDPG-Keras-Torcs , an error below happen.
/usr/bin/python2.7 /home/hanzy/software/gym_torcs-master/ddpg.py
Using TensorFlow backend.
Traceback (most recent call last):
File "/home/hanzy/software/gym_torcs-master/ddpg.py", line 10, in
from keras.engine.training import collect_trainable_weights
ImportError: cannot import name collect_trainable_weights

Process finished with exit code 1

WHY!!!

@Hanzy1996
Copy link
Author

What does relaunch mean?

@Hanzy1996
Copy link
Author

I lower the version of tensorflow and keras,the program works.But still always relaunch.

@sjtuytc
Copy link

sjtuytc commented Apr 17, 2020

I did the same as you. It doesn't work.

@sjtuytc
Copy link

sjtuytc commented Apr 18, 2020

One can refer to https://github.com/fmirus/torcs-1.3.7 for detailed installation guide.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants