The pygame.init() function, which must be called after the pygame module is imported and before you start using any of the functions provided by PyGame, you don’t have to know what this function does, just know that in order to work with pyGame functions, you must call it at the beginning. If you run into an error like Pygame.error: font not initialized, check to see if you forgot to call Pygame.init () in front of your program
Read More:
- pygame.error: video system not initialized
- ERROR: pygame-1.9.2-cp35-cp35m-win32.whl is not a supported wheel on this platform.
- Python 3.7 pyGame download method
- Install pygame-1.9.3 for python 3.6
- RuntimeError: Default process group has not been initialized, please make sure to call init_process_
- ERROR in native method: JDWP No transports initialized, jvmtiError=AGENT_ERROR_TRANSPORT_INIT(197)
- Remember once to solve the problem that Ubuntu 18.04 can’t enter GUI
- CSS Failed to decode downloaded font, OTS parsing error: Failed to convert WOFF 2.0 font to SFNT
- linux tomcat Run (DWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized [debugIni)
- To solve the problem of flashback of calling class function of glutsolidcube() in Win32 program
- CentOS solves the problem of modulenotfounderror when salt calls python3 script remotely, and solves the problem that PIP3 module cannot be shared by different users
- The calling program in Linux calls the wrong Error opening terminal: unknown.
- [OpenGL] cannot start this program because the computer is missing glut32.dll. Try to re install the program to fix this problem. …
- On the problem that VTK + QT process can’t end after closing the program
- Remember that Maven can’t recognize Java_ Home problem error: Java_ HOME is not defined correctly.
- This program cannot be started because vcruntime140 is missing from your computer_ 1.dll。 Try to install the program again to solve the problem.
- Python program uses OS. System () method to call exe program, resulting in no response of main program process
- C language — to solve the problem of program flashback when programming (in VS)
- How to solve the problem of requirements check failed for JDK 8 when Cordova 9.0 is built
- Python calls DLL and reports an error windowserror: [error 126]