My pygame project does not recognize the font i added into the game for some reason
I turned my first pygame project into an executable using the windows console and pyinstaller, when i put the project in a windows folder it ran with no issues, but when i turned the file into a ZIP file it didn’t run and sent this error to my screen:
FileNotFoundError: No file ‘resources/font/Pixeltype.ttf’ found in working directory
I put exactly where the font file was in my project and i have no idea what happened for it to not recognize it when turned to a ZIP file, does anyone know how to fix this?
enter image description here
unknown40 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
0