Mac安装python

DevOps Mac评论2,154字数 528阅读1分45秒阅读模式

安装Python 3

brew install python

安装完

Python has been installed as
  /opt/homebrew/bin/python3

Unversioned symlinks `python`, `python-config`, `pip` etc. pointing to
`python3`, `python3-config`, `pip3` etc., respectively, have been installed into
  /opt/homebrew/opt/python@3.10/libexec/bin

You can install Python packages with
  pip3 install <package>
They will install into the site-package directory
  /opt/homebrew/lib/python3.10/site-packages

tkinter is no longer included with this formula, but it is available separately:
  brew install python-tk@3.10

See: https://docs.brew.sh/Homebrew-and-Python

 

DevOps
  • 本文由 发表于 2022年10月31日 16:48:46
  • 除非特殊声明,本站文章均为原创,转载请务必保留本文链接
Mac安装jenkins Jenkins

Mac安装jenkins

安装brew命令 如之前安装过则跳过 /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew...
Mac安装wget Mac

Mac安装wget

安装wget brew install wget 测试下载 devops@DevOpsdeMacBook-Pro ~ % wget http://nginx.org/download/nginx...
Mac生成SSH Key Mac

Mac生成SSH Key

生成新的秘钥 你需要把邮件地址换成你自己的邮件地址,然后一路回车,使用默认值即可,因为这个Key仅仅用于简单的服务,所以也无需设置密码。 完成后会有如下显示 Enter pa...
评论  0  访客  0

发表评论