[PYTHON] What to do when only the window is displayed and nothing is displayed in pygame Note

** This is a rudimentary part of using pygame. ** **

--My environment --PC used: MacBook Pro (Retina, 13-inch, Late 2013)

Apparently, this bug occurs on mac and OS after Mojave.


** Install the development version of pygame ** Enter the following command in the terminal.

pip3 install pygame==2.0.0.dev3

I solved it this way, but apparently it can also be solved by updating the python version.

I'm not used to writing articles. If you like, I would appreciate it if you could point out improvements in the comments.

Recommended Posts

What to do when only the window is displayed and nothing is displayed in pygame Note
What to do when the value type is ambiguous in Python?
What to do when the result downloaded via scrapy is in English
What to do when the warning "The environment is in consistent ..." appears in the Anaconda environment
What to do when a warning message is displayed in pip list
What to do if abort is displayed when inputting camera video in OpenCV
What to do when Japanese is not displayed on matplotlib
What to do when is not in the sudoers file.This incident will be reported.
What to do if the progress bar is not displayed in tqdm of python
What to do if the image is not displayed using matplotlib etc. in the Docker container
How to give and what the constraints option in scipy.optimize.minimize is
NameError: global name'dot_parser' is not defined and what to do when it comes up in python
[Python] What to do when PEP8 is violated in the process of importing from the directory added to sys.path
What to do when "Something is already running at port 8000" is displayed when the develop command of Gatsby is executed.
How to write what to do when an application is first displayed in Qt for Python with Designer
[Note] What to do if the Qt library conflicts between pyqt and opencv
What to do when the graph does not appear in jupyter (ipython) notebook
[EC2] What to do when selenium is stuck and processing does not proceed
What to do if (base) is displayed at the beginning of the Mac terminal
[openpyxl] What to do when IllegalCharacterError appears in pandas.DataFrame.to_excel
curl: (60) What to do when Issuer certificate is invalid.
Embedding in datetime when only the time is known
What to do if you get the error RuntimeError: Python is not installed as a framework when trying to use matplitlib and pylab in Python 3.3
What to do if Python IntelliSense is not displayed in VS Code on Windows
What to do when PyCharm font is strange or garbled
What to do when "SSL: CERTIFICATE_VERIFY_FAILED _ssl.c: 1056" appears in Python
What to do when "Invalid HTTP_HOST header" appears in Django
Change the message displayed when logging in to Raspberry Pi
Why django-import-export import is so slow and what to do
What to do when there is no response due to Proxy setting in Python web scraping
What to do when a Missing artifact occurs in a jar that is not defined in pom.xml
[AWS] What to do when the ping command causes a "timeout"
[Short note] In matplotlib, nothing is displayed even if I show it → Check the backend setting
What to do if you cat or tail a binary file and the terminal is garbled
What to do when Ubuntu crashes
What to do when the jupyterlab extension settings are not reflected
What is the X Window System?
What to do if "Unnamed: 0" is added in to_csv-> read_csv in pandas
What to do if the inode is exhausted on EC2 Linux
What to do when a part of the background image becomes transparent when the transparent image is combined with Pillow
What to do if you can't use the trash in Lubuntu 18.04.
What to do when you get "I can't see the site !!!!"
What to do when UnicodeDecodeError occurs during read_csv in pandas (pd.read_table ())
Animate what happens in frequency space when the Nyquist frequency is exceeded
What to do when ModuleNotFoundError: No module named'XXX' occurs in Python
What to do if the user name is changed and the pyenv library path does not pass
What to do if you get the message "" ~ .pkg "is corrupted and cannot be opened" when installing wxPython on Mac OS X
[Mac OS] What to do when Python is not installed as a framework. Is displayed when import matplotlib is performed.
[Linux] What is the method to solve the package dependency error of yum and rpm in the actual workplace?
What to do in my case when pyenv install is not possible after upgrading to macOS Big Sur
What to do when "OS Error: [WinError 126] The specified module cannot be found" appears in import torch
What to do if there is a decimal in python json .dumps
What to do if the Pipenv environment is corrupted by updating Homebrew
[Introduction to Python] What is the difference between a list and a tuple?
[Docker] What to do when error Couldn't find the binary git appears
[Python] What to do when an error related to SSL authentication is returned
Settings to automatically open and close the QuickFix window when using errormaker.vim
What is the fastest way to create a reverse dictionary in python?
[OSX] [pyenv] What to do when an SSL error occurs in pip
What is "mahjong" in the Python library? ??
When the target is Ubuntu 16.04 in Ansible