Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4825

Python • Re: Python code that works on my Pi2 won't work on my Pi5

$
0
0
Does the error message look anything like:

Code:

pygame 2.1.2 (SDL 2.26.5, Python 3.11.2)Hello from the pygame community. https://www.pygame.org/contribute.htmlAuthorization required, but no authorization protocol specifiedDriver: x11 failed.Driver: fbcon failed.Driver: directfb failed.Driver: svgalib failed.Traceback (most recent call last):  File "/home/scruss/Documents/src/python/./pygame-thing.py", line 65, in <module>    scope = pyscope()            ^^^^^^^^^  File "/home/scruss/Documents/src/python/./pygame-thing.py", line 38, in __init__    raise Exception("No suitable video driver found!")Exception: No suitable video driver found!
(except with the script path different)?

Because that's what I get running it from the console

Statistics: Posted by scruss — Mon Apr 15, 2024 2:32 am



Viewing all articles
Browse latest Browse all 4825

Trending Articles