donkey_rl icon indicating copy to clipboard operation
donkey_rl copied to clipboard

Donkey executable cannot locate libmono.so

Open AbuZekry opened this issue 6 years ago • 7 comments

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 ?

AbuZekry avatar Oct 03 '18 14:10 AbuZekry

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

XiaoZzai avatar Nov 15 '18 17:11 XiaoZzai

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

bobbyhaliwela avatar Dec 16 '18 07:12 bobbyhaliwela

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

AbuZekry avatar Dec 16 '18 10:12 AbuZekry

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.

bobbyhaliwela avatar Dec 17 '18 01:12 bobbyhaliwela

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

Neo-47 avatar Feb 21 '19 00:02 Neo-47

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'

dcompgriff avatar Oct 10 '19 16:10 dcompgriff

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?

Saikat-M avatar Oct 15 '21 03:10 Saikat-M