[TriLUG] installing python modules
Michael Rothwell
michael at rothwell.us
Fri Mar 16 09:45:35 EDT 2007
What do you get when you run `which python`?
On Mar 16, 2007, at 9:43 AM, Joseph Mack NA3T wrote:
> 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!
> --
> TriLUG mailing list : http://www.trilug.org/mailman/listinfo/
> trilug
> TriLUG Organizational FAQ : http://trilug.org/faq/
> TriLUG Member Services FAQ : http://members.trilug.org/services_faq/
More information about the TriLUG
mailing list