Pycharm: "cannot Find Reference 'load' In 'image.py'"
I have a problem I'm working in Pycharm with Pygames and when I try to pygame.image.load() it doesn't work and keep telling me that it cannot find 'load' in image.py. I redownloade
Solution 1:
PyCharm seems to have problems referencing load
but it works fine. There are 2 separate issues here: The load
error (which can be ignored as there doesn't seem to be any way around it, and PyGame works just fine), but secondly, and more importantly, there is a problem with your image file itself. Is it in the same directory as your script? .bmp
is the standard format so that shouldn't be an issue. If it's in the right directory, and the name is correct, try converting it to a .png
or .jpg
image.
Post a Comment for "Pycharm: "cannot Find Reference 'load' In 'image.py'""