While trying to load the following Openai-gym environment:
import gym
env = gym.make('Breakout-v4', render_mode='human')
I'm encountering this error: FileNotFoundError: Could not find module 'C:\Users\...\atari_py\ale_interface\ale_c.dll'. Try using the full path with constructor syntax.
I am in windows, using python 3.8.0
What I have tried:
Following this solution, nothing changed.
When trying to follow that solution, looking into
__init__.py
, I have encountered the problem:import "nt" could not be resolved
Trying to replace
__init__.py
file with this file, as they were not the same. The same problem still occurs.
I suspect that this is the root cause of the problem.
Am I right? How can it be solved?
Edit: the problem was rooted in gym version. I have updated the version and solved the issue.