flyyufelix / donkey_rl

Reinforcement Learning Simulator for Donkey Car
https://flyyufelix.github.io/2018/09/11/donkey-rl-simulation.html
133 stars 67 forks source link

Donkey executable cannot locate libmono.so #1

Open AbuZekry opened 6 years ago

AbuZekry commented 6 years ago

I set up the environment exactly as in the ReadMe file but when i try to run the script ddqn.py it gives me this error "Unable to load mono library from /home/abuzekry/Documents/Code/donkey_rl/donkey_rl/src/donkey_Data/Mono/x86_64/libmono.so"

The donkey executable cannot locate this library. Is there anything missing I should do or an environment variable that should be set or something ?

XiaoZzai commented 5 years ago

Hi @AbuZekry I am also blocked by this problem. How do you solve it ?

bobbyhaliwela commented 5 years ago

Having the same problem. If someone know how to solve this, please let us know

AbuZekry commented 5 years ago

When I installed Unity on Linux I copied the file into the donkey_Data/Mono/x86_64/

bobbyhaliwela commented 5 years ago

Thanks for the response. I solved the problem by cloning Tawn Kramer's donkey gym repo and follow his instruction to run the reinforcement learning example.

Neo-47 commented 5 years ago

did it work for you? and where did you find that file ? @AbuZekry

dcompgriff commented 5 years ago

The method proposed by @AbuZekry worked for me. I found the libmono.so file after I installed the latest version of unity from the unity hub manager (Although i'm not sure how to download unity in a headless environment like an AWS instance...). I found in the folder where unity was installed under 'Data/PlaybackEngines/LinuxStandaloneSupport/Variations/linux64_headless_nondevelopment_mono/Data/Mono/x86_64/libmono.so'

Saikat-M commented 3 years ago

I am also getting this Error: Found path: /home/warhorse/Project_new/donkey_rl-master/donkey_rl/src/donkey.x86_64 Unable to load mono library from /home/warhorse/Project_new/donkey_rl-master/donkey_rl/src/donkey_Data/Mono/x86_64/libmono.so Failed to load mono /home/warhorse/.local/lib/python3.8/site-packages/keras/optimizer_v2/optimizer_v2.py:355: UserWarning: The lr argument is deprecated, use learning_rate instead. warnings.warn( We finished building the model Now we build the model We finished building the model Episode: 0

Also after installing several version of Unity I am not getting libmono.so anywhere. Can anyone please attach the file here?