Skip to content

Commit

Permalink
Wrapped import pybullet_envs statement in utils.py (#40)
Browse files Browse the repository at this point in the history
* wrapped if statement in utils.py to allow enjoy.py to run without pybullet dependency on atari environments

* restoring benchmark.md after test suite

* respecting formatting
  • Loading branch information
ClonedOne authored and araffin committed Sep 21, 2019
1 parent 3bc34f9 commit ccf95e3
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion utils/utils.py
Expand Up @@ -6,7 +6,11 @@
import importlib

import gym
import pybullet_envs
try:
import pybullet_envs
except ImportError:
pybullet_envs = None

from gym.envs.registration import load

from stable_baselines.deepq.policies import FeedForwardPolicy
Expand Down

0 comments on commit ccf95e3

Please sign in to comment.