Skip to content

Commit

Permalink
Catch FileNotFoundError when dependency of atari_py module does not e…
Browse files Browse the repository at this point in the history
…xist.

PiperOrigin-RevId: 592278849
Change-Id: I7b96b9a5f57ef95a4edf790695f41a9377f8c98a
  • Loading branch information
TF-Agents Team authored and copybara-github committed Dec 19, 2023
1 parent d185fb8 commit 01e435e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tf_agents/environments/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
from tf_agents.environments import suite_mujoco
from tf_agents.environments import suite_pybullet
from tf_agents.environments.gym_wrapper import GymWrapper
except (ImportError, ModuleNotFoundError):
except (ImportError, ModuleNotFoundError, FileNotFoundError):
pass

from tf_agents.environments.batched_py_environment import BatchedPyEnvironment
Expand Down

0 comments on commit 01e435e

Please sign in to comment.