[Numpy-discussion] recommended way to run numpy on snow leopard

Ryan May rmay31@gmail....
Wed Oct 21 08:54:04 CDT 2009


> It seems it does...  the built in numpy which is in
> '/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python',
> comes before $HOME/.local in sys.path so I think system numpy will
> always be picked up over my own installed version.
>
> robin-mbp:~ robince$ /usr/bin/python2.6 -c "import sys; print sys.path"
> ['', '/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python26.zip',
> '/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6',
> '/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/plat-darwin',
> '/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/plat-mac',
> '/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/plat-mac/lib-scriptpackages',
> '/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python',
> '/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/lib-tk',
> '/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/lib-old',
> '/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/lib-dynload',
> '/Users/robince/.local/lib/python2.6/site-packages',
> '/Library/Python/2.6/site-packages',
> '/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/PyObjC',
> '/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/wx-2.8-mac-unicode']
>
> So I guess virtualenv or macports?

Wow.  Once again, Apple makes using python unnecessarily difficult.
Someone needs a whack with a clue bat.

Ryan

-- 
Ryan May
Graduate Research Assistant
School of Meteorology
University of Oklahoma


More information about the NumPy-Discussion mailing list