[PYTHON] [Pyhton] I want to solve the problem that tkinter does not work on MacOS11

I recently made a major update to Big Sur on my Mac and fixed it because Python's GUI modules stopped working.

Python of brew could not be 3.9.1, so install it from the official.

Python Release Python 3.9.1 | Python.org

Since it is not the latest Mac, install it with the Intel version

macOS 64-bit Intel installer

Python installed by the official GUI installer is located below Check the version and if it is 3.9.1, it's OK

$ /usr/local/bin/python3 --version                                                                            
Python 3.9.1

If you are using venv or something, you should change your PATH with an alias as appropriate.

development/Python

Recommended Posts

[Pyhton] I want to solve the problem that tkinter does not work on MacOS11
[systemd] How to deal with the problem that fancontrol does not work after suspending
Solution to the problem that build does not end when installing OpenCV (PEP517)
I tried to solve the problem with Python Vol.1
I want to solve Sudoku (Sudoku)
The problem becomes easier to solve depending on the formulation method
How to solve the problem that video content cannot be played on Firefox for Linux
How to solve the problem that the login screen is not displayed forever on Ubuntu 19.04 because it stops at the logo at startup
I implemented a method to calculate the evaluation index (specificity, NPV) that scikit-learn does not have
Problem that discord.py does not break
The story of the release work of the application that Google does not tell
LocateCenterOnScreen does not work on PyAutoGui
I wanted to solve the ABC164 A ~ D problem with Python
I tried to solve the shift scheduling problem by various methods
When the program pip installed on Mac / Marvericks does not work
How to solve the problem that time goes wrong every time you turn on the power in Linux
An error that does not work as expected when calling the tkinter module in a text editor
The NVM Checksum Is Not Valid, a solution to the problem that Intel's wired LAN is not recognized on Linux
I want to solve the problem of memory leak when outputting a large number of images with Matplotlib
For the time being using FastAPI, I want to display how to use API like that on swagger
(Under investigation) USB camera that does not work with WebRTC on RPi4
I want to identify the alert email. --Is that x a wildcard? ---
I tried to solve the E qualification problem collection [Chapter 1, 5th question]
I tried to solve the inverted pendulum problem (Cart Pole) by Q-learning.
Notes on what to do when matplotlib scatter () / scatter3d () does not work
I want to pin Spyder to the taskbar
Want to solve a simple classification problem?
I want to output to the console coolly
Path problem does not occur on debian-linux
I want to handle the rhyme part1
How to solve the bin packing problem
I want to handle the rhyme part3
I want to use Linux on mac
Virtualenv does not work on Python3.5 (Windows)
I want to display the progress bar
I want to handle the rhyme part2
I want to develop Android apps on Android
I want to handle the rhyme part5
I want to handle the rhyme part4
I thought it was the same as python, and I was addicted to the problem that the ruby interpreter did not start.
Intuitive explanation that does not rely on mathematical formulas for the Monty Hall problem and simulation with Python
Log when I was worried that I could not connect to Wi-Fi on Linux
Example of what to do when the sample script does not work (OpenCV-Python)
The story of IPv6 address that I want to keep at a minimum
I want to use Python in the environment of pyenv + pipenv on Windows 10
A story that sometimes does not work if pip is up to date
Install Docker on CentOS8. The problem that the name could not be resolved was resolved.
About the problem that the python version of Google App Engine does not mesh
I want to drop a file on tkinter and get its path [Tkinter DnD2]
I tried to make a dictionary function that does not distinguish between cases
Library for "I want to do that" of data science on Jupyter Notebook
I want to be notified when the command operation is completed on linux!
Try to solve the fizzbuzz problem with Keras
Try to solve the Python class inheritance problem
I want to handle the rhyme part7 (BOW)
After installing php7.2, the php command does not work
Jinja2 2.9.6 does not work on Lambda Python 3 series
I want to solve APG4b with Python (Chapter 2)
I want to do pyenv + pipenv on Windows
I want to log file I / O on Linux
I want to customize the appearance of zabbix