最近は Mac Port ではなく Homebrew で最初の pyenv だけインストールして、あとは pyenv から複数バージョンの python を管理するのがおすすめ → Python Python3のインストール(pyenv編)
http://www.python.org/download/
Mac Port からインストールすると、"port update outdated" とかでサクッと最新版にしてくれる
$ sudo port install python32
"python" コマンドに "/opt/local/bin/python3.2" を割り当てる
$ sudo port select --set python python32 Selecting 'python32' for 'python' succeeded. 'python32' is now active. $ python Python 3.2.3 (default, Sep 22 2012, 23:15:05) [GCC 4.2.1 Compatible Apple Clang 4.0 ((tags/Apple/clang-421.0.57))] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> ^D
$ wget http://pypi.python.org/packages/source/d/distribute/distribute-0.6.28.tar.gz $ tar -xf distribute-0.6.28.tar.gz $ cd distribute-0.6.28 $ sudo python setup.py install
$ sudo easy_install pip
[~]$ port list | grep py32 py32-htmldocs @3.2.3 lang/py-htmldocs py32-DAWG @0.3.1 python/py-DAWG py32-amqp @0.9.3 python/py-amqp py32-appscript @1.0.0 python/py-appscript py32-apsw @3.7.14-r1 python/py-apsw py32-asciitable @0.8.0 python/py-asciitable py32-asn1 @0.1.2 python/py-asn1 py32-astropy @0.1 python/py-astropy py32-beautifulsoup4 @4.1.1 python/py-beautifulsoup4 py32-billiard @2.7.3.14 python/py-billiard py32-bitstring @2.2.0 python/py-bitstring py32-blessings @1.3 python/py-blessings py32-blist @1.3.4 python/py-blist py32-blosc @1.0.5 python/py-blosc py32-bottle @0.10.9 python/py-bottle py32-bpython @0.10.1 python/py-bpython py32-clint @0.3.1 python/py-clint py32-colorama @0.2.4 python/py-colorama py32-coverage @3.5.2 python/py-coverage py32-crypto @2.6 python/py-crypto py32-cssselect @0.6.1 python/py-cssselect py32-curlish @1.11 python/py-curlish py32-cx_Freeze @4.2.3 python/py-cx_Freeze py32-cython @0.17 python/py-cython py32-datrie @0.4.2 python/py-datrie py32-des @2.0.1 python/py-des py32-distribute @0.6.28 python/py-distribute py32-django-nose @0.1.3 python/py-django-nose py32-djvubind @1.2.0 python/py-djvubind py32-dnspython @1.10.0 python/py-dnspython py32-empy @3.3 python/py-empy py32-ez_setup @0.9 python/py-ez_setup py32-figleaf @0.6.1 python/py-figleaf py32-futures @2.1.3 python/py-futures py32-game @1.9.1 python/py-game py32-gdbm @3.2.3 python/py-gdbm py32-gmpy @1.15 python/py-gmpy py32-gnupg @0.3.1 python/py-gnupg py32-graph-tool @2.2.17 python/py-graph-tool py32-greenlet @0.4.0 python/py-greenlet py32-h5py-devel @2.1.0b2 python/py-h5py py32-h5py @2.0.1 python/py-h5py py32-html5lib @0.95 python/py-html5lib py32-httplib2 @2-0.7.6 python/py-httplib2 py32-idlsave @1.0.0 python/py-idlsave py32-ipython @0.13 python/py-ipython py32-kombu @2.4.7 python/py-kombu py32-lepl @5.1.3 python/py-lepl py32-lxml @2.3.2 python/py-lxml py32-mahotas @0.9.2 python/py-mahotas py32-marisa-trie @0.3.7 python/py-marisa-trie py32-markdown @2.2.0 python/py-markdown py32-markdown2 @2.0.1 python/py-markdown2 py32-mimeparse @0.1.3 python/py-mimeparse py32-mock @0.8.0 python/py-mock py32-mock-devel @0.8.0beta4 python/py-mock-devel py32-msgpack @0.2.2 python/py-msgpack py32-netaddr @0.7.10 python/py-netaddr py32-networkx @1.7 python/py-networkx py32-nose @1.2.1 python/py-nose py32-nose-exclude @0.1.7 python/py-nose-exclude py32-numpy @1.6.2 python/py-numpy py32-pandas @0.8.1 python/py-pandas py32-parsing @1.5.6 python/py-parsing py32-passlib @1.6.1 python/py-passlib py32-pep8 @1.0.1 python/py-pep8 py32-pinocchio @0.2 python/py-pinocchio py32-pip @1.0.2 python/py-pip py32-ply @3.4 python/py-ply py32-postgresql @1.0.3 python/py-postgresql py32-pss @0.35 python/py-pss py32-psutil @0.6.1 python/py-psutil py32-psycopg2 @2.4.5 python/py-psycopg2 py32-pyfits @3.0.7 python/py-pyfits py32-pygments @1.4 python/py-pygments py32-pympler @0.2.1 python/py-pympler py32-pymunk @3.0.0 python/py-pymunk py32-pyqt4 @4.9.4 python/py-pyqt4 py32-pyquery @1.2.1 python/py-pyquery py32-pywcs @1.11-4.8.2 python/py-pywcs py32-readline @6.2.2 python/py-readline py32-redis @2.6.2 python/py-redis py32-regex @0.1.20120904 python/py-regex py32-requests @0.13.6 python/py-requests py32-scikits-module @0.1 python/py-scikits-module py32-scikits-statsmodels @0.4.3 python/py-scikits-statsmodels py32-scipy @0.10.1 python/py-scipy py32-serial @2.6 python/py-serial py32-sip @4.13.3 python/py-sip py32-snmp @4.2.1 python/py-snmp py32-speaklater @1.3 python/py-speaklater py32-sqlalchemy @0.7.8 python/py-sqlalchemy py32-svipc @0.14 python/py-svipc py32-swap @0.1.2 python/py-swap py32-tkinter @3.2.3 python/py-tkinter py32-tornado @2.4 python/py-tornado py32-transaction @1.2.0 python/py-transaction py32-translationstring @1.1 python/py-translationstring py32-tz @2012d python/py-tz py32-tz-gae @2011h python/py-tz-gae py32-urwid @1.0.2 python/py-urwid py32-virtualenv @1.8.2 python/py-virtualenv py32-vo @0.8 python/py-vo py32-yaml @3.10 python/py-yaml py32-zen @0.3.2 python/py-zen py32-zmq @2.2.0.1 python/py-zmq py32-zopeinterface @3.8.0 python/py-zopeinterface py32-dateutil @2.0 python/py32-dateutil