一只特立独行的猪

  • 文章参考
  • Home
  • Web
  • SoftWare
  • Media
  • Life
    • 水深火热

MacOS Monterey 12.3 系统更新了自带的python问题

  • moxiaonai
  • 2022-03-22
  • 0

MacOS Monterey 12.3 系统更新以后移除了自带的python问题,导致在终端中运行cd命令会出现。env: python: No such file or directory


原因是python 已经被从 12.3 系统中删除了,需要自己安装,比如用 homebrew

brew install python 

安装完python3发现还有问题,可以试试加一下python的软链

after \'brew install\'

run:

ln -s /usr/local/bin/python3 /usr/local/bin/python

文章参考

https://discussionschinese.apple.com/thread/253749219

© 2023 一只特立独行的猪
Theme by Wing
  • {{ item.name }}
  • {{ item.name }}