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

can't import doom and doomish #55

Open
wushichatong opened this issue Aug 11, 2018 · 13 comments
Open

can't import doom and doomish #55

wushichatong opened this issue Aug 11, 2018 · 13 comments

Comments

@wushichatong
Copy link

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
Copy link

Yes, i get same issue.

@jg-fisher
Copy link

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

@jg-fisher
Copy link

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

@zylo117
Copy link

zylo117 commented Feb 14, 2019

same here

@dbsxdbsx
Copy link

@jg-fisher ,at present, no.

@Kunlun-Zhu
Copy link

Same

@yicijohncy
Copy link

Couldn't import doom +1

@robertjankowski
Copy link

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
Copy link

peidaqi commented Jul 6, 2020

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
Copy link

dbsxdbsx commented Jul 6, 2020

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

@valentin-stamate
Copy link

same here

@hhorace
Copy link

hhorace commented Dec 2, 2021

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
Copy link

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")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests