PyGame-Learning-Environment icon indicating copy to clipboard operation
PyGame-Learning-Environment copied to clipboard

can't import doom and doomish

Open wushichatong opened this issue 6 years ago • 13 comments

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

wushichatong avatar Aug 11 '18 06:08 wushichatong

Yes, i get same issue.

dbsxdbsx avatar Sep 19 '18 12:09 dbsxdbsx

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

jg-fisher avatar Jan 13 '19 04:01 jg-fisher

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

jg-fisher avatar Jan 13 '19 04:01 jg-fisher

same here

zylo117 avatar Feb 14 '19 08:02 zylo117

@jg-fisher ,at present, no.

dbsxdbsx avatar Feb 17 '19 01:02 dbsxdbsx

Same

Kunlun-Zhu avatar Mar 19 '19 15:03 Kunlun-Zhu

Couldn't import doom +1

yicijohncy avatar Jun 14 '19 08:06 yicijohncy

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

robertjankowski avatar Sep 08 '19 10:09 robertjankowski

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...

peidaqi avatar Jul 06 '20 00:07 peidaqi

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

dbsxdbsx avatar Jul 06 '20 01:07 dbsxdbsx

same here

valentin-stamate avatar Nov 30 '21 12:11 valentin-stamate

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.

hhorace avatar Dec 02 '21 15:12 hhorace

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

nuomifan avatar Jul 27 '23 19:07 nuomifan