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

Donkey executable cannot locate libmono.so #1

Open
AbuZekry opened this issue Oct 3, 2018 · 7 comments
Open

Donkey executable cannot locate libmono.so #1

AbuZekry opened this issue Oct 3, 2018 · 7 comments

Comments

@AbuZekry
Copy link

AbuZekry commented Oct 3, 2018

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
Copy link

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

@bobbyhaliwela
Copy link

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

@AbuZekry
Copy link
Author

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

@bobbyhaliwela
Copy link

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
Copy link

Neo-47 commented Feb 21, 2019

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

@dcompgriff
Copy link

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
Copy link

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?

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

6 participants