MacでのPython開発環境の構成

5303 ワード

~  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
➜  ~