安装Python 3
brew install python
安装完
Python has been installed as /opt/homebrew/bin/python3 Unversioned symlinks `python`, `python-config`, `pip` etc. pointing to `python3`, `python3-config`, `pip3` etc., respectively, have been installed into /opt/homebrew/opt/python@3.10/libexec/bin You can install Python packages with pip3 install <package> They will install into the site-package directory /opt/homebrew/lib/python3.10/site-packages tkinter is no longer included with this formula, but it is available separately: brew install python-tk@3.10 See: https://docs.brew.sh/Homebrew-and-Python
评论