-
Notifications
You must be signed in to change notification settings - Fork 109
Python环境安装
Rowling edited this page Nov 8, 2021
·
9 revisions
终端输入:
python3
如果返回类似以下信息,即为已经安装了python 3.10.0,不需重复安装
Python 3.10.0 (v3.10.0:b494f5935c, Oct 4 2021, 14:59:20) [Clang 12.0.5 (clang-1205.0.22.11)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
下载安装即可
终端输入:
xcode-select -p
如果返回类似以下信息,即为已经完成xcode-select设置
/Applications/Xcode.app/Contents/Developer
否则:
终端执行:
sudo xcode-select -s /Applications/Xcode.app/Contents/Developer