码迷,mamicode.com
首页 > 编程语言 > 详细

Mac 下配置 Python 开发环境

时间:2016-03-08 21:17:19      阅读:183      评论:0      收藏:0      [点我收藏+]

标签:

?  ~  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 开发环境

标签:

原文地址:http://www.cnblogs.com/Irving/p/5255468.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!