Mac 下配置 Python 开发环境

Posted To be a better Programer...

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Mac 下配置 Python 开发环境相关的知识,希望对你有一定的参考价值。

?  ~  sudo brew install python3
==> Downloading https://www.python.org/ftp/python/3.5.1/Python-3.5.1.tar.xz
Already downloaded: /Library/Caches/Homebrew/python3-3.5.1.tar.xz
==> Downloading https://bugs.python.org/file40478/xcode-stubs.diff
Already downloaded: /Library/Caches/Homebrew/python3--patch-029cc0dc72b1bcf4ddc5f913cc4a3fd970378073c6355921891f041aca2f8b12.diff
==> Patching
patching file Lib/distutils/ccompiler.py
patching file Lib/distutils/unixccompiler.py
==> ./configure --prefix=/usr/local/Cellar/python3/3.5.1 --enable-ipv6 --dataroo
==> make
==> make install PYTHONAPPSDIR=/usr/local/Cellar/python3/3.5.1
==> make frameworkinstallextras PYTHONAPPSDIR=/usr/local/Cellar/python3/3.5.1/sh
==> Downloading https://pypi.python.org/packages/source/s/setuptools/setuptools-
Already downloaded: /Library/Caches/Homebrew/python3--setuptools-18.3.1.tar.gz
==> Downloading https://pypi.python.org/packages/source/p/pip/pip-7.1.2.tar.gz
Already downloaded: /Library/Caches/Homebrew/python3--pip-7.1.2.tar.gz
==> Downloading https://pypi.python.org/packages/source/w/wheel/wheel-0.26.0.tar
Already downloaded: /Library/Caches/Homebrew/python3--wheel-0.26.0.tar.gz
==> /usr/local/Cellar/python3/3.5.1/bin/python3 -s setup.py --no-user-cfg instal
==> /usr/local/Cellar/python3/3.5.1/bin/python3 -s setup.py --no-user-cfg instal
==> /usr/local/Cellar/python3/3.5.1/bin/python3 -s setup.py --no-user-cfg instal
==> Caveats
Pip and setuptools have been installed. To update them
  pip3 install --upgrade pip setuptools

You can install Python packages with
  pip3 install <package>

They will install into the site-package directory
  /usr/local/lib/python3.5/site-packages

See: https://github.com/Homebrew/homebrew/blob/master/share/doc/homebrew/Homebrew-and-Python.md

.app bundles were installed.
Run `brew linkapps python3` to symlink these to /Applications.
==> Summary
??  /usr/local/Cellar/python3/3.5.1: 7,619 files, 106.1M, built in 2 minutes 7 seconds
?  ~

 

以上是关于Mac 下配置 Python 开发环境的主要内容,如果未能解决你的问题,请参考以下文章

mac 下怎么安装python 搭建开发环境

Mac版-python环境配置:编译器pycharm下载安装

Mac环境下 配置Python数据分析环境

Mac版下实现51单片机进行开发的环境搭建

mac环境下python的升级问题

mac+php+vscode 配置开发环境