Skip to content

can't load image #53

Description

@cimi88

I was exploring one of your demos and I see that something very particular happens to me ... I am using visual studio, if I run the code from the ide "run" button, it runs without problems, however when I try to run it using the shortcut of the keyboard throws me an image loading error :

"PS D:\Eze\proyectos python> & 'C:\Python\Python 310\python.exe' 'c:\Users\Ezequiel.vscode\extensions\ms-python.python-2021.12.1559732655\pythonFiles\lib\python\debugpy\launcher' '60936' '--' 'c:\Users\Ezequiel\Desktop\Pygame_Functions-master\demos\animationDemo2.py'
pygame 2.0.2 (SDL 2.0.16, Python 3.10.0)"

and then the issue:
image

I suppose that the compilation process must differ somewhat between running it with the keyboard shortcut and running it by clicking on the "run" button, so in one it throws an error and in the other it runs without problem ...

does that have any fix?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions