Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DQN] No module named 'ale_python_interface' #1091

Closed
JamesBrightman opened this Issue Feb 21, 2019 · 2 comments

Comments

Projects
None yet
2 participants
@JamesBrightman
Copy link

JamesBrightman commented Feb 21, 2019

1. What you did:

I'm trying to use the DQN implementation with Gym. To do this I run

python! DQN.py --env = BreakoutDeterministic-v4

(as suggested in the readme).

However, it gives this error -

Traceback (most recent call last):
File "./DQN.py", line 15, in
from atari import AtariPlayer
File "/content/drive/Dissertation/DQN-Tensorpack/atari.py", line 11, in
from ale_python_interface import ALEInterface
ModuleNotFoundError: No module named 'ale_python_interface'

I can't seem to find a way to install 'ale_python_interface' on google colab. I don't even want to use ALE, but it seems it is necessary for running the DQN training, even with Gym as it has to reference the Atari.py file, which contains ALE import.

Any help would be greatly appreciated.
Thanks.

@ppwwyyxx ppwwyyxx closed this in 7b9d9b8 Feb 21, 2019

@ppwwyyxx

This comment has been minimized.

Copy link
Collaborator

ppwwyyxx commented Feb 21, 2019

Thanks for the suggestions. Now ale_python_interface will not be required if you use gym environment.

@JamesBrightman

This comment has been minimized.

Copy link
Author

JamesBrightman commented Feb 21, 2019

Thanks for the quick change - pulled the master again and all works well.

Regards,
James

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.