Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upGot mlagents.envs.exception.UnityEnvironmentException #14
Comments
This comment has been minimized.
This comment has been minimized.
It seems like the zipped file does not have a correct extension: upon changing This block of code from ML-agents is the most relevant: if platform == "linux" or platform == "linux2":
candidates = glob.glob(os.path.join(cwd, file_name) + '.x86_64')
if len(candidates) == 0:
candidates = glob.glob(os.path.join(cwd, file_name) + '.x86')
if len(candidates) == 0:
candidates = glob.glob(file_name + '.x86_64')
if len(candidates) == 0:
candidates = glob.glob(file_name + '.x86')
if len(candidates) > 0:
launch_string = candidates[0] My issue is resolved, but I think this issue should remain open until the environment file is fixed. |
This comment has been minimized.
This comment has been minimized.
Hi @seungjaeryanlee, I am sorry this didn't work for you out of the box. This is a bug in our automated build script, and we will be fixing it and uploading new builds tomorrow. |
awjuliani
added
the
bug
label
Jan 29, 2019
This comment has been minimized.
This comment has been minimized.
I've updated the build to include the proper extension -- thanks for reporting this issue @seungjaeryanlee! I'll close this issue now but feel free to reopen if needed. |
harperj
closed this
Jan 29, 2019
This comment has been minimized.
This comment has been minimized.
It works perfectly now! Thank you @awjuliani and @harperj |
This comment has been minimized.
This comment has been minimized.
alejgomez
commented
Feb 17, 2019
Hello, I've encountered this same issue in the latest build. I'm using MacOS and my /ObstacleTower/ folder is under the same directory as my demo.py. I've played around with the obstacletower name (obstacletower.app) or changing the directories where the file is unzipped but nothing seems to work.
Any help would be appreciated! Thanks |
This comment has been minimized.
This comment has been minimized.
pringshia
commented
Feb 17, 2019
Also having the same issue as @alejgomez on MacOSX |
seungjaeryanlee commentedJan 29, 2019
Hello! Thank you for this great new environment! I was trying to install it on Ubuntu 16.04 and encountered problem when I tried to make an environment. I downloaded the correct environment file, so I assume that I added it incorrectly? Could you help me fix this issue?
Here is what I did:
ObstacleTower/
Here is the full output:
Here is
pip freeze
:Thank you for your help!