Ask coding questions

← Back to all posts
Weird Error in Pygame
YuvanVighnesh (108)

So I am doing this simulation thing, and the IDE gives me an error for no such file or directory WHEN I HAVE a file labeled tesla.png

help
UPDATE: NOW, the IDE says that the file type is unsupported

Answered by Coder100 (16760) [earned 5 cycles]
View Answer
Comments
hotnewtop
Coder100 (16760)

Currently your car.jpg file is corrupted, as you can see in the preview:

mostly because the file is empty lamo

try reuploading it.

IcynDevz (724)

Probably repl can't process files with a .jpg. But I do know that they can process .png. So try to find a app or website that converts .jpg to .png or find a different file.