Chrispresso / SuperMarioBros-AI

355 stars 72 forks source link

Unable to run, cannot import ImageQt #13

Open wbreiler opened 1 year ago

wbreiler commented 1 year 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 10 months ago

Try pip install pyqt6

xiaoliang2233 commented 10 months ago

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

davel-wang28 commented 3 days ago

pip uninstall Pillow pip install Pillow==9.0.0