Ask coding questions

← Back to all posts
pygame
frwqymn (2)

i cant use pygame in repl ?
every try i receive "pygame.error: No available video device"
why?and how can i fix it?

Answered by DaBananaGuy (30) [earned 5 cycles]
View Answer
Commentshotnewtop
DaBananaGuy (30)

I am not an expert on pygame, but I know that pygame creates a separate window. Because this is not running locally, an library like pygame might not work on a website like repl.it. You will probably have to use it locally.

Kun_XinXin (7)

Try trinket.io -- they can run pygame

ash15khng (304)

Nope, it doesn't work for now, but I think the devs are working on it.