araffin / learning-to-drive-in-5-minutes

Implementation of reinforcement learning approach to make a car learn to drive smoothly in minutes
https://towardsdatascience.com/learning-to-drive-smoothly-in-minutes-450a7cdb35f4
MIT License
284 stars 88 forks source link

Missing DONKEY_SIM_PATH #15

Closed srs3 closed 4 years ago

srs3 commented 4 years ago

Hi,

I am trying to run the VAE trainer on a Macbook. However, I obtain a missing DONKEY_SIM_PATH environment var followed by repeated "waiting for sim to start". I have tried to point the DONKEY_SIM_PATH to the .app executable file by setting an environment variable.

(base) Surajs-MacBook-Pro:DDPGDonkey suraj$ sudo python -m teleop.teleop_client --record-folder logs/ddpg/
pygame 1.9.6
Hello from the pygame community. https://www.pygame.org/contribute.html
Missing DONKEY_SIM_PATH environment var. We assume the unity env is already started
Binding to ('0.0.0.0', 9091)
Waiting for sim to start...if the simulation is running, press EXIT to go back to the menu

Note: I have also tried to open the executable manually, leave it running in the background and then run the teleop client command.

Any help would be really appreciated.

Thanks Suraj

srs3 commented 4 years ago

I've managed to resolve this. Seems like I had an older version of the simulator for the mac.