ntasfi / PyGame-Learning-Environment

PyGame Learning Environment (PLE) -- Reinforcement Learning Environment in Python.
MIT License
1.02k stars 231 forks source link

can't import doom and doomish #55

Open wushichatong opened 6 years ago

wushichatong commented 6 years ago

when I installed PLE, I want to import ple but got this error

import ple pygame 1.9.4 Hello from the pygame community. https://www.pygame.org/contribute.html couldn't import doomish Couldn't import doom

dbsxdbsx commented 6 years ago

Yes, i get same issue.

jg-fisher commented 5 years ago

did either of you guys find a resolution for this @wushichatong @dbsxdbsx

jg-fisher commented 5 years ago

same issue with python 2.7 and 3.6 with all other dependencies installed in a virtual env

zylo117 commented 5 years ago

same here

dbsxdbsx commented 5 years ago

@jg-fisher ,at present, no.

Kunlun-Zhu commented 5 years ago

Same

yicijohncy commented 5 years ago

Couldn't import doom +1

robertjankowski commented 5 years ago

Same here

pygame 1.9.6 Hello from the pygame community. https://www.pygame.org/contribute.html couldn't import doomish Couldn't import doom

peidaqi commented 4 years ago

It uses the doom-py library, which hasn't been updated since 4 years ago.

doom-py doesn't compile with newer versions of gcc so I suggest give it up...

dbsxdbsx commented 4 years ago

Why this bug is not fixed even almost 2 years after?

valentin-stamate commented 2 years ago

same here

hhorace commented 2 years ago

I just face the same issue, but I accidentally solve the problem by importing 'ple' twice. It's really weird. BTW, I used to pip install doom, but I don't think it's the solution.

nuomifan commented 1 year ago

just remove the code in PyGame-Learning-Environment-master/ple/games/init.py try: from ple.games.doom import Doom except: print("Couldn't import doom")

and remove the code in PyGame-Learning-Environment-master/ple/games/base/init.py

try: from .doomwrapper import DoomWrapper except: print("couldn't import doomish")