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
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