|
MAC平台Python的下载、安装(含Python2.7+Python3.12双版本环境变量配置)——《跟老吕学Python编程》)——跟老吕学Python编程一、下载MAC版Python1.Python官网2.MAC版Python下载网址二、在MAC安装Python1.在MAC安装Python2.阅读Python重要信息3.同意Python许可4.确认同意5.安装类型6.输入密码7.安装成功三、在MAC设置Python2.7+Python3.12双版本环境变量1.在MAC中检查Python2.7+Python3.12版本1.1检查系统Python版本1.2检查新装Python3版本2.检索Python2.7+Python3.12目录1.1检索系统Python目录1.2检索新装Python3目录3.Python2.7+Python3.12双版本环境变量配置3.1打开.bash_profile3.2清空.bash_profile3.3填入.bash_profile3.4退出.bash_profile3.5终端命令3.6切换Python2.7+Python3.12双版本的命令一、下载MAC版Python1.Python官网Python官网https://www.python.org/2.MAC版Python下载网址DownloadmacOS64-bituniversal2installer——下载64位的Python安装程序;Python官方下载网址https://www.python.org/downloads/macos/Python版本发布日期下载地址版本说明Python3.11.8Feb.6,2024DownloadReleaseNotesPython3.12.2Feb.6,2024DownloadReleaseNotesPython3.12.1Dec.8,2023DownloadReleaseNotesPython3.11.7Dec.4,2023DownloadReleaseNotesPython3.12.0Oct.2,2023DownloadReleaseNotes二、在MAC安装Python本次使用的Python版本是3.12.264位,下载地址是:[https://www.python.org/ftp/python/3.12.2/python-3.12.2-macos11.pkg)1.在MAC安装Python打开Python安装包,进入Python安装器,点击继续
|
|