Skip to content

Instantly share code, notes, and snippets.

@martincr
Last active May 4, 2022 05:04
Show Gist options
  • Save martincr/b326a85cbb258eebef75 to your computer and use it in GitHub Desktop.
Save martincr/b326a85cbb258eebef75 to your computer and use it in GitHub Desktop.
Install Python 3 and Django on Mac OS X El Capitan (10.11.2) - and use virtualenv and virtualenvwrapper

Preamble

Background Reading

Note: These last two were some of the better and most recent articles I came across.

Known Issues

  1. The new SIP or System Integrity Protection in El Capitan prevents any changes you want to make to the OS X system folders (http://arstechnica.com/apple/2015/09/os-x-10-11-el-capitan-the-ars-technica-review/8/).
$ csrutil status

By default, you should see:

$ System Integrity Protection status: enabled.

I suggested leaving this as is for now. Disabling it doesn't seem right.

  1. I suggest avoiding installing Python, python-3.5.1-macosx10.6.pkg at time of writing and deferring to Homebrew instead. I installed this and subsequently removed it. Which may have broken things.
  2. I tried to remove an old version of Django I had installed and everything else seemed to break.
  3. pip and easy_install seem to be deprecated in favor of pyenv?
  4. Some guides example 1 seem deprecated which is confusing.
  5. Some people have had issues with El Capitan

In summary, it seems best to not touch the system version of Python, install 2.7 and 3.x versions with virtual environments and/or symlink these elsewhere.

Solutions

  1. Install the latest Xcode Command Line Tools. My system required an upgrade.
$ xcode-select --install
  1. Use Homebrew to install Python into /usr/local/bin so that your pip can run against a user-modifiable Python framework.
  $ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" 
  $ brew install python3
  $ pip --version
  1. Using Homebrew makes it possible to manage pip and Python separately than the system provided version for little maintenance, little risk and easy maintenance.

https://docs.djangoproject.com/en/1.9/intro/install/

I tried to

$ brew update

which threw a number of errors (similar to 'brew update error unable to unlink old '.gitignore' (permission denied)'). I then tried

$ brew doctor

The output of which is partially pasted below.

Warning: The /usr/local is not writable.

You should probably change the ownership and permissions of /usr/local
back to your user account.
  sudo chown -R $(whoami) /usr/local

Warning: The /usr/local directory is not writable.
Even if this directory was writable when you installed Homebrew, other
software may change permissions on this directory. For example, upgrading
to OS X El Capitan has been known to do this. Some versions of the
"InstantOn" component of Airfoil or running Cocktail cleanup/optimizations
are known to do this as well.

You should probably change the ownership and permissions of /usr/local
back to your user account.
  sudo chown -R $(whoami):admin /usr/local

So now $ brew update should work okay. 4. Following this example seemed to work:

$ pip3 install virtualenv
Collecting virtualenv
  Using cached virtualenv-13.1.2-py2.py3-none-any.whl
Installing collected packages: virtualenv
Successfully installed virtualenv-13.1.2

Followed by

# Creates the environment
virtualenv -p python3 ~/.python3env
# Activates the environment
. ~/.python3env/bin/activate
cd ~/
pico .profile

Add export PATH=/usr/local/bin:/usr/local/sbin:$PATH and save the .profile. Restart Terminal.

$ brew install python
==> Installing dependencies for python: sqlite, openssl
==> Installing python dependency: sqlite
==> Downloading https://homebrew.bintray.com/bottles/sqlite-3.10.0.el_capitan.bo
######################################################################## 100.0%
==> Pouring sqlite-3.10.0.el_capitan.bottle.tar.gz
==> Caveats
This formula is keg-only, which means it was not symlinked into /usr/local.

OS X provides an older sqlite3.

Generally there are no consequences of this for you. If you build your
own software and it requires this formula, you'll need to add to your
build variables:

    LDFLAGS:  -L/usr/local/opt/sqlite/lib
    CPPFLAGS: -I/usr/local/opt/sqlite/include

==> Summary
🍺  /usr/local/Cellar/sqlite/3.10.0: 9 files, 2.8M
==> Installing python dependency: openssl
==> Downloading https://homebrew.bintray.com/bottles/openssl-1.0.2e_1.el_capitan
######################################################################## 100.0%
==> Pouring openssl-1.0.2e_1.el_capitan.bottle.tar.gz
==> Caveats
A CA file has been bootstrapped using certificates from the system
keychain. To add additional certificates, place .pem files in
  /usr/local/etc/openssl/certs

and run
  /usr/local/opt/openssl/bin/c_rehash

This formula is keg-only, which means it was not symlinked into /usr/local.

Apple has deprecated use of OpenSSL in favor of its own TLS and crypto libraries

Generally there are no consequences of this for you. If you build your
own software and it requires this formula, you'll need to add to your
build variables:

    LDFLAGS:  -L/usr/local/opt/openssl/lib
    CPPFLAGS: -I/usr/local/opt/openssl/include

==> Summary
🍺  /usr/local/Cellar/openssl/1.0.2e_1: 465 files, 11.9M
==> Installing python
==> Downloading https://homebrew.bintray.com/bottles/python-2.7.11.el_capitan.bo
######################################################################## 100.0%
==> Pouring python-2.7.11.el_capitan.bottle.1.tar.gz
Error: The `brew link` step did not complete successfully
The formula built, but is not symlinked into /usr/local
Could not symlink bin/2to3
Target /usr/local/bin/2to3
is a symlink belonging to python. You can unlink it:
  brew unlink python

To force the link and overwrite all conflicting files:
  brew link --overwrite python

To list all files that would be deleted:
  brew link --overwrite --dry-run python

Possible conflicting files are:
/usr/local/bin/2to3 -> /usr/local/Cellar/python/2.7.9/bin/2to3
/usr/local/bin/2to3-2 -> /usr/local/Cellar/python/2.7.9/bin/2to3-2
/usr/local/bin/2to3-2.7 -> /usr/local/Cellar/python/2.7.9/bin/2to3-2.7
/usr/local/bin/idle -> /usr/local/Cellar/python/2.7.9/bin/idle
/usr/local/bin/idle2 -> /usr/local/Cellar/python/2.7.9/bin/idle2
/usr/local/bin/idle2.7 -> /usr/local/Cellar/python/2.7.9/bin/idle2.7
/usr/local/bin/pydoc -> /usr/local/Cellar/python/2.7.9/bin/pydoc
/usr/local/bin/pydoc2 -> /usr/local/Cellar/python/2.7.9/bin/pydoc2
/usr/local/bin/pydoc2.7 -> /usr/local/Cellar/python/2.7.9/bin/pydoc2.7
/usr/local/bin/python -> /usr/local/Cellar/python/2.7.9/bin/python
/usr/local/bin/python-config -> /usr/local/Cellar/python/2.7.9/bin/python-config
/usr/local/bin/python2 -> /usr/local/Cellar/python/2.7.9/bin/python2
/usr/local/bin/python2-config -> /usr/local/Cellar/python/2.7.9/bin/python2-config
/usr/local/bin/python2.7 -> /usr/local/Cellar/python/2.7.9/bin/python2.7
/usr/local/bin/python2.7-config -> /usr/local/Cellar/python/2.7.9/bin/python2.7-config
/usr/local/bin/pythonw -> /usr/local/Cellar/python/2.7.9/bin/pythonw
/usr/local/bin/pythonw2 -> /usr/local/Cellar/python/2.7.9/bin/pythonw2
/usr/local/bin/pythonw2.7 -> /usr/local/Cellar/python/2.7.9/bin/pythonw2.7
/usr/local/bin/smtpd.py -> /usr/local/Cellar/python/2.7.9/bin/smtpd.py
/usr/local/bin/smtpd2.7.py -> /usr/local/Cellar/python/2.7.9/bin/smtpd2.7.py
/usr/local/bin/smtpd2.py -> /usr/local/Cellar/python/2.7.9/bin/smtpd2.py
/usr/local/share/man/man1/python.1 -> /usr/local/Cellar/python/2.7.9/share/man/man1/python.1
/usr/local/share/man/man1/python2.1 -> /usr/local/Cellar/python/2.7.9/share/man/man1/python2.1
/usr/local/share/man/man1/python2.7.1 -> /usr/local/Cellar/python/2.7.9/share/man/man1/python2.7.1
/usr/local/share/python/Extras/Demo/README
/usr/local/share/python/Extras/Demo/cgi/README
/usr/local/share/python/Extras/Demo/cgi/cgi0.sh
/usr/local/share/python/Extras/Demo/cgi/cgi1.py
/usr/local/share/python/Extras/Demo/cgi/cgi2.py
/usr/local/share/python/Extras/Demo/cgi/cgi3.py
/usr/local/share/python/Extras/Demo/cgi/wiki.py
/usr/local/share/python/Extras/Demo/classes/Complex.py
/usr/local/share/python/Extras/Demo/classes/Dates.py
/usr/local/share/python/Extras/Demo/classes/Dbm.py
/usr/local/share/python/Extras/Demo/classes/README
/usr/local/share/python/Extras/Demo/classes/Range.py
/usr/local/share/python/Extras/Demo/classes/Rev.py
/usr/local/share/python/Extras/Demo/classes/Vec.py
/usr/local/share/python/Extras/Demo/classes/bitvec.py
/usr/local/share/python/Extras/Demo/comparisons/README
/usr/local/share/python/Extras/Demo/comparisons/patterns
/usr/local/share/python/Extras/Demo/comparisons/regextest.py
/usr/local/share/python/Extras/Demo/comparisons/sortingtest.py
/usr/local/share/python/Extras/Demo/comparisons/systemtest.py
/usr/local/share/python/Extras/Demo/curses/README
/usr/local/share/python/Extras/Demo/curses/life.py
/usr/local/share/python/Extras/Demo/curses/ncurses.py
/usr/local/share/python/Extras/Demo/curses/rain.py
/usr/local/share/python/Extras/Demo/curses/repeat.py
/usr/local/share/python/Extras/Demo/curses/tclock.py
/usr/local/share/python/Extras/Demo/curses/xmas.py
/usr/local/share/python/Extras/Demo/embed/Makefile
/usr/local/share/python/Extras/Demo/embed/README
/usr/local/share/python/Extras/Demo/embed/demo.c
/usr/local/share/python/Extras/Demo/embed/importexc.c
/usr/local/share/python/Extras/Demo/embed/loop.c
/usr/local/share/python/Extras/Demo/md5test/README
/usr/local/share/python/Extras/Demo/md5test/foo
/usr/local/share/python/Extras/Demo/md5test/md5driver.py
/usr/local/share/python/Extras/Demo/metaclasses/Eiffel.py
/usr/local/share/python/Extras/Demo/metaclasses/Enum.py
/usr/local/share/python/Extras/Demo/metaclasses/Meta.py
/usr/local/share/python/Extras/Demo/metaclasses/Simple.py
/usr/local/share/python/Extras/Demo/metaclasses/Synch.py
/usr/local/share/python/Extras/Demo/metaclasses/Trace.py
/usr/local/share/python/Extras/Demo/metaclasses/index.html
/usr/local/share/python/Extras/Demo/metaclasses/meta-vladimir.txt
/usr/local/share/python/Extras/Demo/newmetaclasses/Eiffel.py
/usr/local/share/python/Extras/Demo/newmetaclasses/Enum.py
/usr/local/share/python/Extras/Demo/parser/FILES
/usr/local/share/python/Extras/Demo/parser/README
/usr/local/share/python/Extras/Demo/parser/docstring.py
/usr/local/share/python/Extras/Demo/parser/example.py
/usr/local/share/python/Extras/Demo/parser/simple.py
/usr/local/share/python/Extras/Demo/parser/source.py
/usr/local/share/python/Extras/Demo/parser/test_parser.py
/usr/local/share/python/Extras/Demo/parser/test_unparse.py
/usr/local/share/python/Extras/Demo/parser/unparse.py
/usr/local/share/python/Extras/Demo/pdist/FSProxy.py
/usr/local/share/python/Extras/Demo/pdist/RCSProxy.py
/usr/local/share/python/Extras/Demo/pdist/README
/usr/local/share/python/Extras/Demo/pdist/client.py
/usr/local/share/python/Extras/Demo/pdist/cmdfw.py
/usr/local/share/python/Extras/Demo/pdist/cmptree.py
/usr/local/share/python/Extras/Demo/pdist/cvslib.py
/usr/local/share/python/Extras/Demo/pdist/cvslock.py
/usr/local/share/python/Extras/Demo/pdist/mac.py
/usr/local/share/python/Extras/Demo/pdist/makechangelog.py
/usr/local/share/python/Extras/Demo/pdist/rcsbump
/usr/local/share/python/Extras/Demo/pdist/rcsclient.py
/usr/local/share/python/Extras/Demo/pdist/rcslib.py
/usr/local/share/python/Extras/Demo/pdist/rcvs
/usr/local/share/python/Extras/Demo/pdist/rcvs.py
/usr/local/share/python/Extras/Demo/pdist/rrcs
/usr/local/share/python/Extras/Demo/pdist/rrcs.py
/usr/local/share/python/Extras/Demo/pdist/security.py
/usr/local/share/python/Extras/Demo/pdist/server.py
/usr/local/share/python/Extras/Demo/pdist/sumtree.py
/usr/local/share/python/Extras/Demo/pysvr/Makefile
/usr/local/share/python/Extras/Demo/pysvr/README
/usr/local/share/python/Extras/Demo/pysvr/pysvr.c
/usr/local/share/python/Extras/Demo/pysvr/pysvr.py
/usr/local/share/python/Extras/Demo/rpc/MANIFEST
/usr/local/share/python/Extras/Demo/rpc/README
/usr/local/share/python/Extras/Demo/rpc/T.py
/usr/local/share/python/Extras/Demo/rpc/mountclient.py
/usr/local/share/python/Extras/Demo/rpc/nfsclient.py
/usr/local/share/python/Extras/Demo/rpc/rnusersclient.py
/usr/local/share/python/Extras/Demo/rpc/rpc.py
/usr/local/share/python/Extras/Demo/rpc/test
/usr/local/share/python/Extras/Demo/rpc/xdr.py
/usr/local/share/python/Extras/Demo/scripts/README
/usr/local/share/python/Extras/Demo/scripts/beer.py
/usr/local/share/python/Extras/Demo/scripts/eqfix.py
/usr/local/share/python/Extras/Demo/scripts/fact.py
/usr/local/share/python/Extras/Demo/scripts/find-uname.py
/usr/local/share/python/Extras/Demo/scripts/from.py
/usr/local/share/python/Extras/Demo/scripts/lpwatch.py
/usr/local/share/python/Extras/Demo/scripts/makedir.py
/usr/local/share/python/Extras/Demo/scripts/markov.py
/usr/local/share/python/Extras/Demo/scripts/mboxconvert.py
/usr/local/share/python/Extras/Demo/scripts/morse.py
/usr/local/share/python/Extras/Demo/scripts/pi.py
/usr/local/share/python/Extras/Demo/scripts/pp.py
/usr/local/share/python/Extras/Demo/scripts/primes.py
/usr/local/share/python/Extras/Demo/scripts/queens.py
/usr/local/share/python/Extras/Demo/scripts/script.py
/usr/local/share/python/Extras/Demo/scripts/unbirthday.py
/usr/local/share/python/Extras/Demo/scripts/update.py
/usr/local/share/python/Extras/Demo/sockets/README
/usr/local/share/python/Extras/Demo/sockets/broadcast.py
/usr/local/share/python/Extras/Demo/sockets/echosvr.py
/usr/local/share/python/Extras/Demo/sockets/finger.py
/usr/local/share/python/Extras/Demo/sockets/ftp.py
/usr/local/share/python/Extras/Demo/sockets/gopher.py
/usr/local/share/python/Extras/Demo/sockets/mcast.py
/usr/local/share/python/Extras/Demo/sockets/radio.py
/usr/local/share/python/Extras/Demo/sockets/rpython.py
/usr/local/share/python/Extras/Demo/sockets/rpythond.py
/usr/local/share/python/Extras/Demo/sockets/telnet.py
/usr/local/share/python/Extras/Demo/sockets/throughput.py
/usr/local/share/python/Extras/Demo/sockets/udpecho.py
/usr/local/share/python/Extras/Demo/sockets/unicast.py
/usr/local/share/python/Extras/Demo/sockets/unixclient.py
/usr/local/share/python/Extras/Demo/sockets/unixserver.py
/usr/local/share/python/Extras/Demo/threads/Coroutine.py
/usr/local/share/python/Extras/Demo/threads/Generator.py
/usr/local/share/python/Extras/Demo/threads/README
/usr/local/share/python/Extras/Demo/threads/fcmp.py
/usr/local/share/python/Extras/Demo/threads/find.py
/usr/local/share/python/Extras/Demo/threads/squasher.py
/usr/local/share/python/Extras/Demo/threads/sync.py
/usr/local/share/python/Extras/Demo/threads/telnet.py
/usr/local/share/python/Extras/Demo/tix/INSTALL.txt
/usr/local/share/python/Extras/Demo/tix/README.txt
/usr/local/share/python/Extras/Demo/tix/bitmaps/about.xpm
/usr/local/share/python/Extras/Demo/tix/bitmaps/bold.xbm
/usr/local/share/python/Extras/Demo/tix/bitmaps/capital.xbm
/usr/local/share/python/Extras/Demo/tix/bitmaps/centerj.xbm
/usr/local/share/python/Extras/Demo/tix/bitmaps/combobox.xbm
/usr/local/share/python/Extras/Demo/tix/bitmaps/combobox.xpm
/usr/local/share/python/Extras/Demo/tix/bitmaps/combobox.xpm.1
/usr/local/share/python/Extras/Demo/tix/bitmaps/drivea.xbm
/usr/local/share/python/Extras/Demo/tix/bitmaps/drivea.xpm
/usr/local/share/python/Extras/Demo/tix/bitmaps/exit.xpm
/usr/local/share/python/Extras/Demo/tix/bitmaps/filebox.xbm
/usr/local/share/python/Extras/Demo/tix/bitmaps/filebox.xpm
/usr/local/share/python/Extras/Demo/tix/bitmaps/italic.xbm
/usr/local/share/python/Extras/Demo/tix/bitmaps/justify.xbm
/usr/local/share/python/Extras/Demo/tix/bitmaps/leftj.xbm
/usr/local/share/python/Extras/Demo/tix/bitmaps/netw.xbm
/usr/local/share/python/Extras/Demo/tix/bitmaps/netw.xpm
/usr/local/share/python/Extras/Demo/tix/bitmaps/optmenu.xpm
/usr/local/share/python/Extras/Demo/tix/bitmaps/rightj.xbm
/usr/local/share/python/Extras/Demo/tix/bitmaps/select.xpm
/usr/local/share/python/Extras/Demo/tix/bitmaps/tix.gif
/usr/local/share/python/Extras/Demo/tix/bitmaps/underline.xbm
/usr/local/share/python/Extras/Demo/tix/grid.py
/usr/local/share/python/Extras/Demo/tix/samples/Balloon.py
/usr/local/share/python/Extras/Demo/tix/samples/BtnBox.py
/usr/local/share/python/Extras/Demo/tix/samples/CmpImg.py
/usr/local/share/python/Extras/Demo/tix/samples/ComboBox.py
/usr/local/share/python/Extras/Demo/tix/samples/Control.py
/usr/local/share/python/Extras/Demo/tix/samples/DirList.py
/usr/local/share/python/Extras/Demo/tix/samples/DirTree.py
/usr/local/share/python/Extras/Demo/tix/samples/NoteBook.py
/usr/local/share/python/Extras/Demo/tix/samples/OptMenu.py
/usr/local/share/python/Extras/Demo/tix/samples/PanedWin.py
/usr/local/share/python/Extras/Demo/tix/samples/PopMenu.py
/usr/local/share/python/Extras/Demo/tix/samples/SHList1.py
/usr/local/share/python/Extras/Demo/tix/samples/SHList2.py
/usr/local/share/python/Extras/Demo/tix/samples/Tree.py
/usr/local/share/python/Extras/Demo/tix/tixwidgets.py
/usr/local/share/python/Extras/Demo/tkinter/README
/usr/local/share/python/Extras/Demo/tkinter/guido/AttrDialog.py
/usr/local/share/python/Extras/Demo/tkinter/guido/ManPage.py
/usr/local/share/python/Extras/Demo/tkinter/guido/MimeViewer.py
/usr/local/share/python/Extras/Demo/tkinter/guido/ShellWindow.py
/usr/local/share/python/Extras/Demo/tkinter/guido/brownian.py
/usr/local/share/python/Extras/Demo/tkinter/guido/brownian2.py
/usr/local/share/python/Extras/Demo/tkinter/guido/canvasevents.py
/usr/local/share/python/Extras/Demo/tkinter/guido/dialog.py
/usr/local/share/python/Extras/Demo/tkinter/guido/electrons.py
/usr/local/share/python/Extras/Demo/tkinter/guido/hanoi.py
/usr/local/share/python/Extras/Demo/tkinter/guido/hello.py
/usr/local/share/python/Extras/Demo/tkinter/guido/imagedraw.py
/usr/local/share/python/Extras/Demo/tkinter/guido/imageview.py
/usr/local/share/python/Extras/Demo/tkinter/guido/kill.py
/usr/local/share/python/Extras/Demo/tkinter/guido/listtree.py
/usr/local/share/python/Extras/Demo/tkinter/guido/mbox.py
/usr/local/share/python/Extras/Demo/tkinter/guido/newmenubardemo.py
/usr/local/share/python/Extras/Demo/tkinter/guido/optionmenu.py
/usr/local/share/python/Extras/Demo/tkinter/guido/paint.py
/usr/local/share/python/Extras/Demo/tkinter/guido/rmt.py
/usr/local/share/python/Extras/Demo/tkinter/guido/solitaire.py
/usr/local/share/python/Extras/Demo/tkinter/guido/sortvisu.py
/usr/local/share/python/Extras/Demo/tkinter/guido/ss1.py
/usr/local/share/python/Extras/Demo/tkinter/guido/svkill.py
/usr/local/share/python/Extras/Demo/tkinter/guido/switch.py
/usr/local/share/python/Extras/Demo/tkinter/guido/tkman.py
/usr/local/share/python/Extras/Demo/tkinter/guido/wish.py
/usr/local/share/python/Extras/Demo/tkinter/matt/00-HELLO-WORLD.py
/usr/local/share/python/Extras/Demo/tkinter/matt/README
/usr/local/share/python/Extras/Demo/tkinter/matt/animation-simple.py
/usr/local/share/python/Extras/Demo/tkinter/matt/animation-w-velocity-ctrl.py
/usr/local/share/python/Extras/Demo/tkinter/matt/bind-w-mult-calls-p-type.py
/usr/local/share/python/Extras/Demo/tkinter/matt/canvas-demo-simple.py
/usr/local/share/python/Extras/Demo/tkinter/matt/canvas-gridding.py
/usr/local/share/python/Extras/Demo/tkinter/matt/canvas-moving-or-creating.py
/usr/local/share/python/Extras/Demo/tkinter/matt/canvas-moving-w-mouse.py
/usr/local/share/python/Extras/Demo/tkinter/matt/canvas-mult-item-sel.py
/usr/local/share/python/Extras/Demo/tkinter/matt/canvas-reading-tag-info.py
/usr/local/share/python/Extras/Demo/tkinter/matt/canvas-w-widget-draw-el.py
/usr/local/share/python/Extras/Demo/tkinter/matt/canvas-with-scrollbars.py
/usr/local/share/python/Extras/Demo/tkinter/matt/dialog-box.py
/usr/local/share/python/Extras/Demo/tkinter/matt/entry-simple.py
/usr/local/share/python/Extras/Demo/tkinter/matt/entry-with-shared-variable.py
/usr/local/share/python/Extras/Demo/tkinter/matt/killing-window-w-wm.py
/usr/local/share/python/Extras/Demo/tkinter/matt/menu-all-types-of-entries.py
/usr/local/share/python/Extras/Demo/tkinter/matt/menu-simple.py
/usr/local/share/python/Extras/Demo/tkinter/matt/not-what-you-might-think-1.py
/usr/local/share/python/Extras/Demo/tkinter/matt/not-what-you-might-think-2.py
/usr/local/share/python/Extras/Demo/tkinter/matt/packer-and-placer-together.py
/usr/local/share/python/Extras/Demo/tkinter/matt/packer-simple.py
/usr/local/share/python/Extras/Demo/tkinter/matt/placer-simple.py
/usr/local/share/python/Extras/Demo/tkinter/matt/pong-demo-1.py
/usr/local/share/python/Extras/Demo/tkinter/matt/printing-coords-of-items.py
/usr/local/share/python/Extras/Demo/tkinter/matt/radiobutton-simple.py
/usr/local/share/python/Extras/Demo/tkinter/matt/rubber-band-box-demo-1.py
/usr/local/share/python/Extras/Demo/tkinter/matt/rubber-line-demo-1.py
/usr/local/share/python/Extras/Demo/tkinter/matt/slider-demo-1.py
/usr/local/share/python/Extras/Demo/tkinter/matt/subclass-existing-widgets.py
/usr/local/share/python/Extras/Demo/tkinter/matt/two-radio-groups.py
/usr/local/share/python/Extras/Demo/tkinter/matt/window-creation-more.py
/usr/local/share/python/Extras/Demo/tkinter/matt/window-creation-simple.py
/usr/local/share/python/Extras/Demo/tkinter/matt/window-creation-w-location.py
/usr/local/share/python/Extras/Demo/tkinter/ttk/combo_themes.py
/usr/local/share/python/Extras/Demo/tkinter/ttk/dirbrowser.py
/usr/local/share/python/Extras/Demo/tkinter/ttk/img/close.gif
/usr/local/share/python/Extras/Demo/tkinter/ttk/img/close_active.gif
/usr/local/share/python/Extras/Demo/tkinter/ttk/img/close_pressed.gif
/usr/local/share/python/Extras/Demo/tkinter/ttk/listbox_scrollcmd.py
/usr/local/share/python/Extras/Demo/tkinter/ttk/mac_searchentry.py
/usr/local/share/python/Extras/Demo/tkinter/ttk/notebook_closebtn.py
/usr/local/share/python/Extras/Demo/tkinter/ttk/plastik_theme.py
/usr/local/share/python/Extras/Demo/tkinter/ttk/roundframe.py
/usr/local/share/python/Extras/Demo/tkinter/ttk/theme_selector.py
/usr/local/share/python/Extras/Demo/tkinter/ttk/treeview_multicolumn.py
/usr/local/share/python/Extras/Demo/tkinter/ttk/ttkcalendar.py
/usr/local/share/python/Extras/Demo/tkinter/ttk/widget_state.py
/usr/local/share/python/Extras/Demo/turtle/about_turtle.txt
/usr/local/share/python/Extras/Demo/turtle/about_turtledemo.txt
/usr/local/share/python/Extras/Demo/turtle/demohelp.txt
/usr/local/share/python/Extras/Demo/turtle/tdemo_I_dontlike_tiltdemo.py
/usr/local/share/python/Extras/Demo/turtle/tdemo_bytedesign.py
/usr/local/share/python/Extras/Demo/turtle/tdemo_chaos.py
/usr/local/share/python/Extras/Demo/turtle/tdemo_clock.py
/usr/local/share/python/Extras/Demo/turtle/tdemo_colormixer.py
/usr/local/share/python/Extras/Demo/turtle/tdemo_fractalcurves.py
/usr/local/share/python/Extras/Demo/turtle/tdemo_lindenmayer_indian.py
/usr/local/share/python/Extras/Demo/turtle/tdemo_minimal_hanoi.py
/usr/local/share/python/Extras/Demo/turtle/tdemo_nim.py
/usr/local/share/python/Extras/Demo/turtle/tdemo_paint.py
/usr/local/share/python/Extras/Demo/turtle/tdemo_peace.py
/usr/local/share/python/Extras/Demo/turtle/tdemo_penrose.py
/usr/local/share/python/Extras/Demo/turtle/tdemo_planet_and_moon.py
/usr/local/share/python/Extras/Demo/turtle/tdemo_tree.py
/usr/local/share/python/Extras/Demo/turtle/tdemo_two_canvases.py
/usr/local/share/python/Extras/Demo/turtle/tdemo_wikipedia.py
/usr/local/share/python/Extras/Demo/turtle/tdemo_yinyang.py
/usr/local/share/python/Extras/Demo/turtle/turtle.cfg
/usr/local/share/python/Extras/Demo/turtle/turtleDemo.py
/usr/local/share/python/Extras/Demo/xml/elem_count.py
/usr/local/share/python/Extras/Demo/xml/roundtrip.py
/usr/local/share/python/Extras/Demo/xml/rss2html.py
/usr/local/share/python/Extras/Demo/zlib/minigzip.py
/usr/local/share/python/Extras/Demo/zlib/zlibdemo.py
/usr/local/share/python/Extras/Demo.Mac/PICTbrowse/ICONbrowse.py
/usr/local/share/python/Extras/Demo.Mac/PICTbrowse/PICTbrowse.py
/usr/local/share/python/Extras/Demo.Mac/PICTbrowse/PICTbrowse.rsrc
/usr/local/share/python/Extras/Demo.Mac/PICTbrowse/PICTbrowse2.py
/usr/local/share/python/Extras/Demo.Mac/PICTbrowse/cicnbrowse.py
/usr/local/share/python/Extras/Demo.Mac/PICTbrowse/oldPICTbrowse.py
/usr/local/share/python/Extras/Demo.Mac/PICTbrowse/oldPICTbrowse.rsrc
/usr/local/share/python/Extras/Demo.Mac/applescript/Disk_Copy/Special_Events.py
/usr/local/share/python/Extras/Demo.Mac/applescript/Disk_Copy/Standard_Suite.py
/usr/local/share/python/Extras/Demo.Mac/applescript/Disk_Copy/Utility_Events.py
/usr/local/share/python/Extras/Demo.Mac/applescript/Disk_Copy/__init__.py
/usr/local/share/python/Extras/Demo.Mac/applescript/makedisk.py
/usr/local/share/python/Extras/Demo.Mac/applescript.html
/usr/local/share/python/Extras/Demo.Mac/example0/checktext.py
/usr/local/share/python/Extras/Demo.Mac/example0.html
/usr/local/share/python/Extras/Demo.Mac/example1/dnslookup-1.gif
/usr/local/share/python/Extras/Demo.Mac/example1/dnslookup-1.py
/usr/local/share/python/Extras/Demo.Mac/example1/dnslookup-1.rsrc
/usr/local/share/python/Extras/Demo.Mac/example1.html
/usr/local/share/python/Extras/Demo.Mac/example2/dnslookup-2.gif
/usr/local/share/python/Extras/Demo.Mac/example2/dnslookup-2.py
/usr/local/share/python/Extras/Demo.Mac/example2/dnslookup-2.rsrc
/usr/local/share/python/Extras/Demo.Mac/example2.html
/usr/local/share/python/Extras/Demo.Mac/html.icons/createmake.png
/usr/local/share/python/Extras/Demo.Mac/html.icons/mkapplet.gif
/usr/local/share/python/Extras/Demo.Mac/html.icons/options.gif
/usr/local/share/python/Extras/Demo.Mac/html.icons/preferences.gif
/usr/local/share/python/Extras/Demo.Mac/html.icons/python.gif
/usr/local/share/python/Extras/Demo.Mac/imgbrowse/imgbrowse.py
/usr/local/share/python/Extras/Demo.Mac/imgbrowse/mac_image.py
/usr/local/share/python/Extras/Demo.Mac/index.html
/usr/local/share/python/Extras/Demo.Mac/mlte/mlted.py
/usr/local/share/python/Extras/Demo.Mac/quicktime/MovieInWindow.py
/usr/local/share/python/Extras/Demo.Mac/quicktime/VerySimplePlayer.py
/usr/local/share/python/Extras/Demo.Mac/resources/copyres.py
/usr/local/share/python/Extras/Demo.Mac/resources/listres.py
/usr/local/share/python/Extras/Demo.Mac/sound/morse.py
/usr/local/share/python/Extras/Demo.Mac/sound/morselib.py
/usr/local/share/python/Extras/Demo.Mac/sound/playaiff.py
/usr/local/share/python/Extras/Demo.Mac/textedit/ped.py
/usr/local/share/python/Extras/Demo.Mac/textedit.html
/usr/local/share/python/Extras/ReadMe.txt
/usr/local/share/python/Extras/Demo/README
/usr/local/share/python/Extras/Demo/cgi/README
/usr/local/share/python/Extras/Demo/cgi/cgi0.sh
/usr/local/share/python/Extras/Demo/cgi/cgi1.py
/usr/local/share/python/Extras/Demo/cgi/cgi2.py
/usr/local/share/python/Extras/Demo/cgi/cgi3.py
/usr/local/share/python/Extras/Demo/cgi/wiki.py
/usr/local/share/python/Extras/Demo/classes/Complex.py
/usr/local/share/python/Extras/Demo/classes/Dates.py
/usr/local/share/python/Extras/Demo/classes/Dbm.py
/usr/local/share/python/Extras/Demo/classes/README
/usr/local/share/python/Extras/Demo/classes/Range.py
/usr/local/share/python/Extras/Demo/classes/Rev.py
/usr/local/share/python/Extras/Demo/classes/Vec.py
/usr/local/share/python/Extras/Demo/classes/bitvec.py
/usr/local/share/python/Extras/Demo/comparisons/README
/usr/local/share/python/Extras/Demo/comparisons/patterns
/usr/local/share/python/Extras/Demo/comparisons/regextest.py
/usr/local/share/python/Extras/Demo/comparisons/sortingtest.py
/usr/local/share/python/Extras/Demo/comparisons/systemtest.py
/usr/local/share/python/Extras/Demo/curses/README
/usr/local/share/python/Extras/Demo/curses/life.py
/usr/local/share/python/Extras/Demo/curses/ncurses.py
/usr/local/share/python/Extras/Demo/curses/rain.py
/usr/local/share/python/Extras/Demo/curses/repeat.py
/usr/local/share/python/Extras/Demo/curses/tclock.py
/usr/local/share/python/Extras/Demo/curses/xmas.py
/usr/local/share/python/Extras/Demo/embed/Makefile
/usr/local/share/python/Extras/Demo/embed/README
/usr/local/share/python/Extras/Demo/embed/demo.c
/usr/local/share/python/Extras/Demo/embed/importexc.c
/usr/local/share/python/Extras/Demo/embed/loop.c
/usr/local/share/python/Extras/Demo/md5test/README
/usr/local/share/python/Extras/Demo/md5test/foo
/usr/local/share/python/Extras/Demo/md5test/md5driver.py
/usr/local/share/python/Extras/Demo/metaclasses/Eiffel.py
/usr/local/share/python/Extras/Demo/metaclasses/Enum.py
/usr/local/share/python/Extras/Demo/metaclasses/Meta.py
/usr/local/share/python/Extras/Demo/metaclasses/Simple.py
/usr/local/share/python/Extras/Demo/metaclasses/Synch.py
/usr/local/share/python/Extras/Demo/metaclasses/Trace.py
/usr/local/share/python/Extras/Demo/metaclasses/index.html
/usr/local/share/python/Extras/Demo/metaclasses/meta-vladimir.txt
/usr/local/share/python/Extras/Demo/newmetaclasses/Eiffel.py
/usr/local/share/python/Extras/Demo/newmetaclasses/Enum.py
/usr/local/share/python/Extras/Demo/parser/FILES
/usr/local/share/python/Extras/Demo/parser/README
/usr/local/share/python/Extras/Demo/parser/docstring.py
/usr/local/share/python/Extras/Demo/parser/example.py
/usr/local/share/python/Extras/Demo/parser/simple.py
/usr/local/share/python/Extras/Demo/parser/source.py
/usr/local/share/python/Extras/Demo/parser/test_parser.py
/usr/local/share/python/Extras/Demo/parser/test_unparse.py
/usr/local/share/python/Extras/Demo/parser/unparse.py
/usr/local/share/python/Extras/Demo/pdist/FSProxy.py
/usr/local/share/python/Extras/Demo/pdist/RCSProxy.py
/usr/local/share/python/Extras/Demo/pdist/README
/usr/local/share/python/Extras/Demo/pdist/client.py
/usr/local/share/python/Extras/Demo/pdist/cmdfw.py
/usr/local/share/python/Extras/Demo/pdist/cmptree.py
/usr/local/share/python/Extras/Demo/pdist/cvslib.py
/usr/local/share/python/Extras/Demo/pdist/cvslock.py
/usr/local/share/python/Extras/Demo/pdist/mac.py
/usr/local/share/python/Extras/Demo/pdist/makechangelog.py
/usr/local/share/python/Extras/Demo/pdist/rcsbump
/usr/local/share/python/Extras/Demo/pdist/rcsclient.py
/usr/local/share/python/Extras/Demo/pdist/rcslib.py
/usr/local/share/python/Extras/Demo/pdist/rcvs
/usr/local/share/python/Extras/Demo/pdist/rcvs.py
/usr/local/share/python/Extras/Demo/pdist/rrcs
/usr/local/share/python/Extras/Demo/pdist/rrcs.py
/usr/local/share/python/Extras/Demo/pdist/security.py
/usr/local/share/python/Extras/Demo/pdist/server.py
/usr/local/share/python/Extras/Demo/pdist/sumtree.py
/usr/local/share/python/Extras/Demo/pysvr/Makefile
/usr/local/share/python/Extras/Demo/pysvr/README
/usr/local/share/python/Extras/Demo/pysvr/pysvr.c
/usr/local/share/python/Extras/Demo/pysvr/pysvr.py
/usr/local/share/python/Extras/Demo/rpc/MANIFEST
/usr/local/share/python/Extras/Demo/rpc/README
/usr/local/share/python/Extras/Demo/rpc/T.py
/usr/local/share/python/Extras/Demo/rpc/mountclient.py
/usr/local/share/python/Extras/Demo/rpc/nfsclient.py
/usr/local/share/python/Extras/Demo/rpc/rnusersclient.py
/usr/local/share/python/Extras/Demo/rpc/rpc.py
/usr/local/share/python/Extras/Demo/rpc/test
/usr/local/share/python/Extras/Demo/rpc/xdr.py
/usr/local/share/python/Extras/Demo/scripts/README
/usr/local/share/python/Extras/Demo/scripts/beer.py
/usr/local/share/python/Extras/Demo/scripts/eqfix.py
/usr/local/share/python/Extras/Demo/scripts/fact.py
/usr/local/share/python/Extras/Demo/scripts/find-uname.py
/usr/local/share/python/Extras/Demo/scripts/from.py
/usr/local/share/python/Extras/Demo/scripts/lpwatch.py
/usr/local/share/python/Extras/Demo/scripts/makedir.py
/usr/local/share/python/Extras/Demo/scripts/markov.py
/usr/local/share/python/Extras/Demo/scripts/mboxconvert.py
/usr/local/share/python/Extras/Demo/scripts/morse.py
/usr/local/share/python/Extras/Demo/scripts/pi.py
/usr/local/share/python/Extras/Demo/scripts/pp.py
/usr/local/share/python/Extras/Demo/scripts/primes.py
/usr/local/share/python/Extras/Demo/scripts/queens.py
/usr/local/share/python/Extras/Demo/scripts/script.py
/usr/local/share/python/Extras/Demo/scripts/unbirthday.py
/usr/local/share/python/Extras/Demo/scripts/update.py
/usr/local/share/python/Extras/Demo/sockets/README
/usr/local/share/python/Extras/Demo/sockets/broadcast.py
/usr/local/share/python/Extras/Demo/sockets/echosvr.py
/usr/local/share/python/Extras/Demo/sockets/finger.py
/usr/local/share/python/Extras/Demo/sockets/ftp.py
/usr/local/share/python/Extras/Demo/sockets/gopher.py
/usr/local/share/python/Extras/Demo/sockets/mcast.py
/usr/local/share/python/Extras/Demo/sockets/radio.py
/usr/local/share/python/Extras/Demo/sockets/rpython.py
/usr/local/share/python/Extras/Demo/sockets/rpythond.py
/usr/local/share/python/Extras/Demo/sockets/telnet.py
/usr/local/share/python/Extras/Demo/sockets/throughput.py
/usr/local/share/python/Extras/Demo/sockets/udpecho.py
/usr/local/share/python/Extras/Demo/sockets/unicast.py
/usr/local/share/python/Extras/Demo/sockets/unixclient.py
/usr/local/share/python/Extras/Demo/sockets/unixserver.py
/usr/local/share/python/Extras/Demo/threads/Coroutine.py
/usr/local/share/python/Extras/Demo/threads/Generator.py
/usr/local/share/python/Extras/Demo/threads/README
/usr/local/share/python/Extras/Demo/threads/fcmp.py
/usr/local/share/python/Extras/Demo/threads/find.py
/usr/local/share/python/Extras/Demo/threads/squasher.py
/usr/local/share/python/Extras/Demo/threads/sync.py
/usr/local/share/python/Extras/Demo/threads/telnet.py
/usr/local/share/python/Extras/Demo/tix/INSTALL.txt
/usr/local/share/python/Extras/Demo/tix/README.txt
/usr/local/share/python/Extras/Demo/tix/bitmaps/about.xpm
/usr/local/share/python/Extras/Demo/tix/bitmaps/bold.xbm
/usr/local/share/python/Extras/Demo/tix/bitmaps/capital.xbm
/usr/local/share/python/Extras/Demo/tix/bitmaps/centerj.xbm
/usr/local/share/python/Extras/Demo/tix/bitmaps/combobox.xbm
/usr/local/share/python/Extras/Demo/tix/bitmaps/combobox.xpm
/usr/local/share/python/Extras/Demo/tix/bitmaps/combobox.xpm.1
/usr/local/share/python/Extras/Demo/tix/bitmaps/drivea.xbm
/usr/local/share/python/Extras/Demo/tix/bitmaps/drivea.xpm
/usr/local/share/python/Extras/Demo/tix/bitmaps/exit.xpm
/usr/local/share/python/Extras/Demo/tix/bitmaps/filebox.xbm
/usr/local/share/python/Extras/Demo/tix/bitmaps/filebox.xpm
/usr/local/share/python/Extras/Demo/tix/bitmaps/italic.xbm
/usr/local/share/python/Extras/Demo/tix/bitmaps/justify.xbm
/usr/local/share/python/Extras/Demo/tix/bitmaps/leftj.xbm
/usr/local/share/python/Extras/Demo/tix/bitmaps/netw.xbm
/usr/local/share/python/Extras/Demo/tix/bitmaps/netw.xpm
/usr/local/share/python/Extras/Demo/tix/bitmaps/optmenu.xpm
/usr/local/share/python/Extras/Demo/tix/bitmaps/rightj.xbm
/usr/local/share/python/Extras/Demo/tix/bitmaps/select.xpm
/usr/local/share/python/Extras/Demo/tix/bitmaps/tix.gif
/usr/local/share/python/Extras/Demo/tix/bitmaps/underline.xbm
/usr/local/share/python/Extras/Demo/tix/grid.py
/usr/local/share/python/Extras/Demo/tix/samples/Balloon.py
/usr/local/share/python/Extras/Demo/tix/samples/BtnBox.py
/usr/local/share/python/Extras/Demo/tix/samples/CmpImg.py
/usr/local/share/python/Extras/Demo/tix/samples/ComboBox.py
/usr/local/share/python/Extras/Demo/tix/samples/Control.py
/usr/local/share/python/Extras/Demo/tix/samples/DirList.py
/usr/local/share/python/Extras/Demo/tix/samples/DirTree.py
/usr/local/share/python/Extras/Demo/tix/samples/NoteBook.py
/usr/local/share/python/Extras/Demo/tix/samples/OptMenu.py
/usr/local/share/python/Extras/Demo/tix/samples/PanedWin.py
/usr/local/share/python/Extras/Demo/tix/samples/PopMenu.py
/usr/local/share/python/Extras/Demo/tix/samples/SHList1.py
/usr/local/share/python/Extras/Demo/tix/samples/SHList2.py
/usr/local/share/python/Extras/Demo/tix/samples/Tree.py
/usr/local/share/python/Extras/Demo/tix/tixwidgets.py
/usr/local/share/python/Extras/Demo/tkinter/README
/usr/local/share/python/Extras/Demo/tkinter/guido/AttrDialog.py
/usr/local/share/python/Extras/Demo/tkinter/guido/ManPage.py
/usr/local/share/python/Extras/Demo/tkinter/guido/MimeViewer.py
/usr/local/share/python/Extras/Demo/tkinter/guido/ShellWindow.py
/usr/local/share/python/Extras/Demo/tkinter/guido/brownian.py
/usr/local/share/python/Extras/Demo/tkinter/guido/brownian2.py
/usr/local/share/python/Extras/Demo/tkinter/guido/canvasevents.py
/usr/local/share/python/Extras/Demo/tkinter/guido/dialog.py
/usr/local/share/python/Extras/Demo/tkinter/guido/electrons.py
/usr/local/share/python/Extras/Demo/tkinter/guido/hanoi.py
/usr/local/share/python/Extras/Demo/tkinter/guido/hello.py
/usr/local/share/python/Extras/Demo/tkinter/guido/imagedraw.py
/usr/local/share/python/Extras/Demo/tkinter/guido/imageview.py
/usr/local/share/python/Extras/Demo/tkinter/guido/kill.py
/usr/local/share/python/Extras/Demo/tkinter/guido/listtree.py
/usr/local/share/python/Extras/Demo/tkinter/guido/mbox.py
/usr/local/share/python/Extras/Demo/tkinter/guido/newmenubardemo.py
/usr/local/share/python/Extras/Demo/tkinter/guido/optionmenu.py
/usr/local/share/python/Extras/Demo/tkinter/guido/paint.py
/usr/local/share/python/Extras/Demo/tkinter/guido/rmt.py
/usr/local/share/python/Extras/Demo/tkinter/guido/solitaire.py
/usr/local/share/python/Extras/Demo/tkinter/guido/sortvisu.py
/usr/local/share/python/Extras/Demo/tkinter/guido/ss1.py
/usr/local/share/python/Extras/Demo/tkinter/guido/svkill.py
/usr/local/share/python/Extras/Demo/tkinter/guido/switch.py
/usr/local/share/python/Extras/Demo/tkinter/guido/tkman.py
/usr/local/share/python/Extras/Demo/tkinter/guido/wish.py
/usr/local/share/python/Extras/Demo/tkinter/matt/00-HELLO-WORLD.py
/usr/local/share/python/Extras/Demo/tkinter/matt/README
/usr/local/share/python/Extras/Demo/tkinter/matt/animation-simple.py
/usr/local/share/python/Extras/Demo/tkinter/matt/animation-w-velocity-ctrl.py
/usr/local/share/python/Extras/Demo/tkinter/matt/bind-w-mult-calls-p-type.py
/usr/local/share/python/Extras/Demo/tkinter/matt/canvas-demo-simple.py
/usr/local/share/python/Extras/Demo/tkinter/matt/canvas-gridding.py
/usr/local/share/python/Extras/Demo/tkinter/matt/canvas-moving-or-creating.py
/usr/local/share/python/Extras/Demo/tkinter/matt/canvas-moving-w-mouse.py
/usr/local/share/python/Extras/Demo/tkinter/matt/canvas-mult-item-sel.py
/usr/local/share/python/Extras/Demo/tkinter/matt/canvas-reading-tag-info.py
/usr/local/share/python/Extras/Demo/tkinter/matt/canvas-w-widget-draw-el.py
/usr/local/share/python/Extras/Demo/tkinter/matt/canvas-with-scrollbars.py
/usr/local/share/python/Extras/Demo/tkinter/matt/dialog-box.py
/usr/local/share/python/Extras/Demo/tkinter/matt/entry-simple.py
/usr/local/share/python/Extras/Demo/tkinter/matt/entry-with-shared-variable.py
/usr/local/share/python/Extras/Demo/tkinter/matt/killing-window-w-wm.py
/usr/local/share/python/Extras/Demo/tkinter/matt/menu-all-types-of-entries.py
/usr/local/share/python/Extras/Demo/tkinter/matt/menu-simple.py
/usr/local/share/python/Extras/Demo/tkinter/matt/not-what-you-might-think-1.py
/usr/local/share/python/Extras/Demo/tkinter/matt/not-what-you-might-think-2.py
/usr/local/share/python/Extras/Demo/tkinter/matt/packer-and-placer-together.py
/usr/local/share/python/Extras/Demo/tkinter/matt/packer-simple.py
/usr/local/share/python/Extras/Demo/tkinter/matt/placer-simple.py
/usr/local/share/python/Extras/Demo/tkinter/matt/pong-demo-1.py
/usr/local/share/python/Extras/Demo/tkinter/matt/printing-coords-of-items.py
/usr/local/share/python/Extras/Demo/tkinter/matt/radiobutton-simple.py
/usr/local/share/python/Extras/Demo/tkinter/matt/rubber-band-box-demo-1.py
/usr/local/share/python/Extras/Demo/tkinter/matt/rubber-line-demo-1.py
/usr/local/share/python/Extras/Demo/tkinter/matt/slider-demo-1.py
/usr/local/share/python/Extras/Demo/tkinter/matt/subclass-existing-widgets.py
/usr/local/share/python/Extras/Demo/tkinter/matt/two-radio-groups.py
/usr/local/share/python/Extras/Demo/tkinter/matt/window-creation-more.py
/usr/local/share/python/Extras/Demo/tkinter/matt/window-creation-simple.py
/usr/local/share/python/Extras/Demo/tkinter/matt/window-creation-w-location.py
/usr/local/share/python/Extras/Demo/tkinter/ttk/combo_themes.py
/usr/local/share/python/Extras/Demo/tkinter/ttk/dirbrowser.py
/usr/local/share/python/Extras/Demo/tkinter/ttk/img/close.gif
/usr/local/share/python/Extras/Demo/tkinter/ttk/img/close_active.gif
/usr/local/share/python/Extras/Demo/tkinter/ttk/img/close_pressed.gif
/usr/local/share/python/Extras/Demo/tkinter/ttk/listbox_scrollcmd.py
/usr/local/share/python/Extras/Demo/tkinter/ttk/mac_searchentry.py
/usr/local/share/python/Extras/Demo/tkinter/ttk/notebook_closebtn.py
/usr/local/share/python/Extras/Demo/tkinter/ttk/plastik_theme.py
/usr/local/share/python/Extras/Demo/tkinter/ttk/roundframe.py
/usr/local/share/python/Extras/Demo/tkinter/ttk/theme_selector.py
/usr/local/share/python/Extras/Demo/tkinter/ttk/treeview_multicolumn.py
/usr/local/share/python/Extras/Demo/tkinter/ttk/ttkcalendar.py
/usr/local/share/python/Extras/Demo/tkinter/ttk/widget_state.py
/usr/local/share/python/Extras/Demo/turtle/about_turtle.txt
/usr/local/share/python/Extras/Demo/turtle/about_turtledemo.txt
/usr/local/share/python/Extras/Demo/turtle/demohelp.txt
/usr/local/share/python/Extras/Demo/turtle/tdemo_I_dontlike_tiltdemo.py
/usr/local/share/python/Extras/Demo/turtle/tdemo_bytedesign.py
/usr/local/share/python/Extras/Demo/turtle/tdemo_chaos.py
/usr/local/share/python/Extras/Demo/turtle/tdemo_clock.py
/usr/local/share/python/Extras/Demo/turtle/tdemo_colormixer.py
/usr/local/share/python/Extras/Demo/turtle/tdemo_fractalcurves.py
/usr/local/share/python/Extras/Demo/turtle/tdemo_lindenmayer_indian.py
/usr/local/share/python/Extras/Demo/turtle/tdemo_minimal_hanoi.py
/usr/local/share/python/Extras/Demo/turtle/tdemo_nim.py
/usr/local/share/python/Extras/Demo/turtle/tdemo_paint.py
/usr/local/share/python/Extras/Demo/turtle/tdemo_peace.py
/usr/local/share/python/Extras/Demo/turtle/tdemo_penrose.py
/usr/local/share/python/Extras/Demo/turtle/tdemo_planet_and_moon.py
/usr/local/share/python/Extras/Demo/turtle/tdemo_tree.py
/usr/local/share/python/Extras/Demo/turtle/tdemo_two_canvases.py
/usr/local/share/python/Extras/Demo/turtle/tdemo_wikipedia.py
/usr/local/share/python/Extras/Demo/turtle/tdemo_yinyang.py
/usr/local/share/python/Extras/Demo/turtle/turtle.cfg
/usr/local/share/python/Extras/Demo/turtle/turtleDemo.py
/usr/local/share/python/Extras/Demo/xml/elem_count.py
/usr/local/share/python/Extras/Demo/xml/roundtrip.py
/usr/local/share/python/Extras/Demo/xml/rss2html.py
/usr/local/share/python/Extras/Demo/zlib/minigzip.py
/usr/local/share/python/Extras/Demo/zlib/zlibdemo.py
/usr/local/share/python/Extras/Demo.Mac/PICTbrowse/ICONbrowse.py
/usr/local/share/python/Extras/Demo.Mac/PICTbrowse/PICTbrowse.py
/usr/local/share/python/Extras/Demo.Mac/PICTbrowse/PICTbrowse.rsrc
/usr/local/share/python/Extras/Demo.Mac/PICTbrowse/PICTbrowse2.py
/usr/local/share/python/Extras/Demo.Mac/PICTbrowse/cicnbrowse.py
/usr/local/share/python/Extras/Demo.Mac/PICTbrowse/oldPICTbrowse.py
/usr/local/share/python/Extras/Demo.Mac/PICTbrowse/oldPICTbrowse.rsrc
/usr/local/share/python/Extras/Demo.Mac/applescript/Disk_Copy/Special_Events.py
/usr/local/share/python/Extras/Demo.Mac/applescript/Disk_Copy/Standard_Suite.py
/usr/local/share/python/Extras/Demo.Mac/applescript/Disk_Copy/Utility_Events.py
/usr/local/share/python/Extras/Demo.Mac/applescript/Disk_Copy/__init__.py
/usr/local/share/python/Extras/Demo.Mac/applescript/makedisk.py
/usr/local/share/python/Extras/Demo.Mac/applescript.html
/usr/local/share/python/Extras/Demo.Mac/example0/checktext.py
/usr/local/share/python/Extras/Demo.Mac/example0.html
/usr/local/share/python/Extras/Demo.Mac/example1/dnslookup-1.gif
/usr/local/share/python/Extras/Demo.Mac/example1/dnslookup-1.py
/usr/local/share/python/Extras/Demo.Mac/example1/dnslookup-1.rsrc
/usr/local/share/python/Extras/Demo.Mac/example1.html
/usr/local/share/python/Extras/Demo.Mac/example2/dnslookup-2.gif
/usr/local/share/python/Extras/Demo.Mac/example2/dnslookup-2.py
/usr/local/share/python/Extras/Demo.Mac/example2/dnslookup-2.rsrc
/usr/local/share/python/Extras/Demo.Mac/example2.html
/usr/local/share/python/Extras/Demo.Mac/html.icons/createmake.png
/usr/local/share/python/Extras/Demo.Mac/html.icons/mkapplet.gif
/usr/local/share/python/Extras/Demo.Mac/html.icons/options.gif
/usr/local/share/python/Extras/Demo.Mac/html.icons/preferences.gif
/usr/local/share/python/Extras/Demo.Mac/html.icons/python.gif
/usr/local/share/python/Extras/Demo.Mac/imgbrowse/imgbrowse.py
/usr/local/share/python/Extras/Demo.Mac/imgbrowse/mac_image.py
/usr/local/share/python/Extras/Demo.Mac/index.html
/usr/local/share/python/Extras/Demo.Mac/mlte/mlted.py
/usr/local/share/python/Extras/Demo.Mac/quicktime/MovieInWindow.py
/usr/local/share/python/Extras/Demo.Mac/quicktime/VerySimplePlayer.py
/usr/local/share/python/Extras/Demo.Mac/resources/copyres.py
/usr/local/share/python/Extras/Demo.Mac/resources/listres.py
/usr/local/share/python/Extras/Demo.Mac/sound/morse.py
/usr/local/share/python/Extras/Demo.Mac/sound/morselib.py
/usr/local/share/python/Extras/Demo.Mac/sound/playaiff.py
/usr/local/share/python/Extras/Demo.Mac/textedit/ped.py
/usr/local/share/python/Extras/Demo.Mac/textedit.html
/usr/local/share/python/Extras/ReadMe.txt
==> /usr/local/Cellar/python/2.7.11/bin/python -s setup.py --no-user-cfg install
==> /usr/local/Cellar/python/2.7.11/bin/python -s setup.py --no-user-cfg install
==> /usr/local/Cellar/python/2.7.11/bin/python -s setup.py --no-user-cfg install
==> Caveats
Pip and setuptools have been installed. To update them
  pip install --upgrade pip setuptools

You can install Python packages with
  pip install <package>

They will install into the site-package directory
  /usr/local/lib/python2.7/site-packages

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

.app bundles were installed.
Run `brew linkapps python` to symlink these to /Applications.
==> Summary
🍺  /usr/local/Cellar/python/2.7.11: 4,869 files, 65.5M
$ brew install python3
==> Installing dependencies for python3: xz
==> Installing python3 dependency: xz
==> Downloading https://homebrew.bintray.com/bottles/xz-5.2.2.el_capitan.bottle.
######################################################################## 100.0%
==> Pouring xz-5.2.2.el_capitan.bottle.tar.gz
🍺  /usr/local/Cellar/xz/5.2.2: 59 files, 1.4M
==> Installing python3
==> Downloading https://homebrew.bintray.com/bottles/python3-3.5.1.el_capitan.bo
######################################################################## 100.0%
==> Pouring python3-3.5.1.el_capitan.bottle.1.tar.gz
Error: The `brew link` step did not complete successfully
The formula built, but is not symlinked into /usr/local
Could not symlink bin/2to3-3.5
Target /usr/local/bin/2to3-3.5
already exists. You may want to remove it:
  rm '/usr/local/bin/2to3-3.5'

To force the link and overwrite all conflicting files:
  brew link --overwrite python3

To list all files that would be deleted:
  brew link --overwrite --dry-run python3

Possible conflicting files are:
/usr/local/bin/2to3-3.5 -> /Library/Frameworks/Python.framework/Versions/3.5/bin/2to3-3.5
/usr/local/bin/idle3 -> /Library/Frameworks/Python.framework/Versions/3.5/bin/idle3
/usr/local/bin/idle3.5 -> /Library/Frameworks/Python.framework/Versions/3.5/bin/idle3.5
/usr/local/bin/pydoc3 -> /Library/Frameworks/Python.framework/Versions/3.5/bin/pydoc3
/usr/local/bin/pydoc3.5 -> /Library/Frameworks/Python.framework/Versions/3.5/bin/pydoc3.5
/usr/local/bin/python3 -> /Library/Frameworks/Python.framework/Versions/3.5/bin/python3
/usr/local/bin/python3-config -> /Library/Frameworks/Python.framework/Versions/3.5/bin/python3-config
/usr/local/bin/python3.5 -> /Library/Frameworks/Python.framework/Versions/3.5/bin/python3.5
/usr/local/bin/python3.5-config -> /Library/Frameworks/Python.framework/Versions/3.5/bin/python3.5-config
/usr/local/bin/python3.5m -> /Library/Frameworks/Python.framework/Versions/3.5/bin/python3.5m
/usr/local/bin/python3.5m-config -> /Library/Frameworks/Python.framework/Versions/3.5/bin/python3.5m-config
/usr/local/bin/pyvenv -> /Library/Frameworks/Python.framework/Versions/3.5/bin/pyvenv
/usr/local/bin/pyvenv-3.5 -> /Library/Frameworks/Python.framework/Versions/3.5/bin/pyvenv-3.5
==> /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

For my Python 2.7.x version, I ran the following:

brew link --overwrite python
pip install --upgrade pip setuptools
brew linkapps python

And for my Python 3.x version, I ran the following:

brew link --overwrite python3
pip3 install --upgrade pip setuptools
brew linkapps python3

To test:

which python
/usr/local/bin/python
python --version
Python 2.7.11
python3 --version
Python 3.5.1

Note: I also made sure ~/.bashrc had the .virtualenvs entries - and ran source ~/.bashrc to load into my shell. So now, I can run Marina's python3 virtual envirnoment example(http://www.marinamele.com/2014/07/install-python3-on-mac-os-x-and-use-virtualenv-and-virtualenvwrapper.html) using this command:

mkvirtualenv --python=/usr/local/bin/python3 myenv

Let's get the latest Django version:

pip install Django==1.9.1

And you should see Successfully installed Django-1.9.1

PostgreSQL

See http://exponential.io/blog/2015/02/21/install-postgresql-on-mac-os-x-via-brew/

brew update
brew install postgres

Here's the output:

==> Downloading https://homebrew.bintray.com/bottles/postgresql-9.5.0.el_capitan
######################################################################## 100.0%
==> Pouring postgresql-9.5.0.el_capitan.bottle.1.tar.gz
==> /usr/local/Cellar/postgresql/9.5.0/bin/initdb /usr/local/var/postgres
==> Caveats
If builds of PostgreSQL 9 are failing and you have version 8.x installed,
you may need to remove the previous version first. See:
  https://github.com/Homebrew/homebrew/issues/2510

To migrate existing data from a previous major version (pre-9.5) of PostgreSQL, see:
  https://www.postgresql.org/docs/9.5/static/upgrading.html

To have launchd start postgresql at login:
  ln -sfv /usr/local/opt/postgresql/*.plist ~/Library/LaunchAgents
Then to load postgresql now:
  launchctl load ~/Library/LaunchAgents/homebrew.mxcl.postgresql.plist
Or, if you don't want/need launchctl, you can just run:
  postgres -D /usr/local/var/postgres
==> Summary
🍺  /usr/local/Cellar/postgresql/9.5.0: 3,113 files, 35.0M

Then follow the rest of the steps at http://exponential.io/blog/2015/02/21/install-postgresql-on-mac-os-x-via-brew/ thus:

postgres -D /usr/local/var/postgres
createdb `whoami`
psql
psql postgres -c 'CREATE EXTENSION "adminpack";'
mkdir -p ~/Library/LaunchAgents
ln -sfv /usr/local/opt/postgresql/*.plist ~/Library/LaunchAgents
launchctl load ~/Library/LaunchAgents/homebrew.mxcl.postgresql.plist

Elsewhere

These might be worth a read if the answers gain suitable traction:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment