Installing Python

Note on installing python and other related packages.

Suggestions are welcome

Warning: you can’t really copy past from this as the quote (“) and (–) don’t copy-past right. I will be trying to fix this.

Python 2.7:

  1. http://code.python.org/hg/trunk/archive/tip.zip  (currently trunk is 2.7)
  2. ./configure –with-universal-archs=64-bit –enable-universalsdk=/Developer/SDKs/MacOSX10.5.sdk –enable-framework  (option –with-framework-name=NAME)
  3. make
  4. make install

virtualenv: TODO

numscon: Needed to build numpy and scipy

  1. git clone http://github.com/cournape/numscons.git
  2. py27 setup.py build
  3. py27 setup.py install

nose: Needed to run numpy.test()
for py3 http://python-nose.googlecode.com/svn/branches/

  1. hg clone https://python-nose.googlecode.com/hg/ python-nose
  2. py27 setup.py build
  3. py27 setup.py install

Numpy 2.0.0 dev: ( should learn more about numscon)

  1. LDFLAGS=”-arch x86_64″ FFLAGS=”-arch x86_64″ py27 setupscons.py scons
  2. LDFLAGS=”-arch x86_64″ FFLAGS=”-arch x86_64″ py27 setupscons.py scons install

Scipy: ‘0.8.0b1’

  1. LDFLAGS=”-arch x86_64″ FFLAGS=”-arch x86_64″ py27 setupscons.py scons
  2. LDFLAGS=”-arch x86_64″ FFLAGS=”-arch x86_64″ py27 setupscons.py scons install

StatsModels:

  1. bzr clone lp:statsmodels
  2. py27 setup.py build
  3. py27 setup.py install

setuptools:

  1. http://pypi.python.org/pypi/setuptools#files

hdf5: TODO

h5py: I have yet to get this to work, TODO

Larry array:

  1. http://github.com/kwgoodman/la.git
  2. py27 setup.py build
  3. py27 setup.py install
  1. Robert
    March 2nd, 2011 at 21:22 | #1

    Not totally the topic but I just saw your Mar-2010 post regarding the Mac OSX save dialogue bug, did you solve it? I have exactly the same problem with the 2.7.1 (EPD 7.0-2) 64 bits.
    Thanks for sharing.
    Robert

  1. No trackbacks yet.