Ask coding questions

← Back to all posts
pygame
frwqymn (4)

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 (31) [earned 5 cycles]
View Answer
Commentshotnewtop
DaBananaGuy (31)

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 (22)

Try trinket.io -- they can run pygame

ash15khng (682)

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