Unity-Technologies / obstacle-tower-env

Obstacle Tower Environment
Apache License 2.0
540 stars 124 forks source link

Obstacle tower is incompatible with current numpy versions and mlagents_envs version #127

Open JustinS6626 opened 2 years ago

JustinS6626 commented 2 years ago

I am trying to install the obstacle tower gym environment, and it appears that it is not compatible with the latest numpy release, and will only work with older versions up to a certain point. When I attempt to install using setup.py, I get the following error:

When I tried to run the evaluation example, I got the following error:

Traceback (most recent call last):
  File "evaluation.py", line 21, in <module>
    env = ObstacleTowerEnv("./ObstacleTower/obstacletower")
  File "/usr/local/lib/python3.8/dist-packages/obstacle_tower_env-4.1-py3.8.egg/obstacle_tower_env.py", line 70, in __init__
  File "/usr/local/lib/python3.8/dist-packages/mlagents_envs-0.18.1-py3.8.egg/mlagents_envs/environment.py", line 191, in __init__
    self._proc1 = env_utils.launch_executable(
  File "/usr/local/lib/python3.8/dist-packages/mlagents_envs-0.18.1-py3.8.egg/mlagents_envs/env_utils.py", line 85, in launch_executable
    raise UnityEnvironmentException(
mlagents_envs.exception.UnityEnvironmentException: Couldn't launch the ./ObstacleTower/obstacletower environment. Provided filename does not match any environments.

I tried to install the newest mlagents_envs version to fix the problem, but now it causes the following error:

ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
obstacle-tower-env 4.1 requires mlagents-envs<0.19,>=0.17, but you have mlagents-envs 0.27.0 which is incompatible.

I would really appreciate if you would be willing to fix this. The current version of this package is more than a year out of date.