Replies: 1 comment
-
Hello, your path is probably incorrect, I assume that your image is not at the root of your hard drive in a graphics folder but rather in the current folder so without a / at the start of the path |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, I'm not sure if it's just me but I consistently get a 'TypeError: cannot unpack non-iterable NoneType object' whenever I try to run the official Loading Images example code from readthedocs.io documentation.
I'm using Visual Studio and haven't come across any issues before. In the terminal it tells me the code has stalled on the:
width, height, channels, data = dpg.load_image("/graphics/my_pic.png")
I've looked around online at non-iterable object issues but to no solution. Has anyone come across this before and fixed it? Am I missing something obvious?
Many thanks for any advice! :)
Beta Was this translation helpful? Give feedback.
All reactions