我正在运行Mountain Lion,基本的默认Python版本是2.7.我下载了Python 3.3并希望将其设置为默认值.
目前:
$ python version 2.7.5 $ python3.3 version 3.3
如何设置它以便每次运行$ python它都会打开3.3?
$ python
python macos install python-3.x
Monterey(M1) 预装了 python2 和 python3。但是默认设置的是python2,我想将其更改为python3。如何将默认版本更改为python3?
在我的 Macbook Air 中
python macos python-3.x apple-m1
macos ×2
python ×2
python-3.x ×2
apple-m1 ×1
install ×1