Chrispresso / SuperMarioBros-AI

332 stars 69 forks source link

Unable to run, cannot import ImageQt #13

Open wbreiler opened 10 months ago

wbreiler commented 10 months ago

Tried to run python smb_ai.py -c settings.config and got this:

Traceback (most recent call last):
  File "smb_ai.py", line 7, in <module>
    from PIL.ImageQt import ImageQt
ImportError: cannot import name 'ImageQt' from 'PIL.ImageQt' (/home/wbreiler/.local/lib/python3.8/site-packages/PIL/ImageQt.py)

I've reinstalled Pillow multiple times and have tried it on a couple different machines and get the same result.. I'm not entirely sure what I need to do to get this to work

axrwl commented 6 months ago

Try pip install pyqt6

xiaoliang2233 commented 6 months ago

remove these line 5 and 6, it is unused to start game.