[TriLUG] installing python modules
Joseph Mack NA3T
jmack at wm7d.net
Fri Mar 16 09:43:53 EDT 2007
I don't know anything about using python but an application
I have needs the python modules numpy and scipy (scipy needs
numpy). I've installed python2.4 in /usr (libs are in
/usr/lib/python2.4/). When I do the numpy install according
to the instructions,
python2.4 setup.py install
the numpy libs (modules?) go in /usr/local/lib/python2.4 and
not /usr/lib/python2.4 (where all the other python packages
are). The next step, the install of scipy fails because it
can't find numpy in /usr/lib/python2.4.
I've grep'ed files in the numpy source directory and in
/usr/lib/python2.4 looking for the strings "usr" and "local"
but can't find where the python equivalent of --prefix is
set.
Any ideas how to tell numpy to install in /usr and not
/usr/local?
(I've asked to join the numpy ml, but have waited for 2 days
and have still not got confirmation of joining).
Thanks Joe
--
Joseph Mack NA3T EME(B,D), FM05lw North Carolina
jmack (at) wm7d (dot) net - azimuthal equidistant map
generator at http://www.wm7d.net/azproj.shtml
Homepage http://www.austintek.com/ It's GNU/Linux!
More information about the TriLUG
mailing list