- wget https://www.python.org/ftp/python/3.6.5/python-3.6.5-macosx10.9.pkg
- md5 python-3.6.5-macosx10.9.pkg
MD5 (python-3.6.5-macosx10.9.pkg) = 37d891988b6aeedd7f03a70171a8420d - open python-3.6.5-macosx10.9.pkg
- open /Applications/Python\ 3.6/
- 點兩下 Install Certificates.command
- 點兩下 Update Shell Profile.command
- echo $PATH | tr ':' '\n' | grep -i python/Library/Frameworks/Python.framework/Versions/3.6/bin
- which -a python3
/Library/Frameworks/Python.framework/Versions/3.6/bin/python3
/usr/local/bin/python3 - which -a pip3
/Library/Frameworks/Python.framework/Versions/3.6/bin/pip3
/usr/local/bin/pip3
執行的話有下面兩種方式:
- 在終端機裡面輸入 python3
- 點兩下應用程式裡面Python 3.6裡面的IDLE icon
沒有留言:
張貼留言