当前位置:   article > 正文

Mac OSX 正确地同时安装Python 2.7 和Python3.7_mac python2.7 和python3.7 同时安装

mac python2.7 和python3.7 同时安装

STEP 1 安裝套件管理工具:HOMEBREW
可以到官网[https://brew.sh/index_zh-cn.html]在这里插入图片描述
粘贴命令到终端

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
  • 1

安裝好後可以跑一下
brew doctor
如果出現
Your system is ready to brew.
代表 成功,那如果有 如下图的Warning 的話,可以分别执行提示中未link的目录

brew link lz4
brew l
  • 1
本文内容由网友自发贡献,转载请注明出处:https://www.wpsshop.cn/w/人工智能uu/article/detail/756065
推荐阅读
相关标签
  

闽ICP备14008679号