[MATRIX-SIG] [Q] default NumPy installation

Konrad Hinsen hinsen@ibs.ibs.fr
Fri, 13 Mar 1998 17:41:16 +0100

> [3]
> What is the "preferred way" of installing NumPy in a multi-machine 
> environment? (Linux, OSF1, HP-UX, etc)
> Just following the "new procedure", I did
>   python makethis.py
>   make install
> bash$ ls /usr/local/lib/python1.5/site-packages
> fast_umathmodule.so  lapack_lite.so       ranlib.so
> _numpymodule.so	     fftpack.so		  multiarraymodule.so  umathmodule.so
> Where should I install the files in NumPy/Lib? I could 
> 	cp -r Lib /usr/local/lib/python1.5/NumPy
> and then
> 	export PYTHONPATH=$PYTHONPATH:/usr/local/lib/python1.5/NumPy
> but somehow I don't like this too much, because it might clash
> with what individual users do with their PYTHONPATH variable.

I always add the NumPy to the standard library path. That does
create a problem when you try to figure out what modules comes
from where, but it ensures access from everywhere, assuming the
original Python installation was working.
Konrad Hinsen                          | E-Mail: hinsen@ibs.ibs.fr
Laboratoire de Dynamique Moleculaire   | Tel.: +33-
Institut de Biologie Structurale       | Fax:  +33-
41, av. des Martyrs                    | Deutsch/Esperanto/English/
38027 Grenoble Cedex 1, France         | Nederlands/Francais

MATRIX-SIG  - SIG on Matrix Math for Python

send messages to: matrix-sig@python.org
administrivia to: matrix-sig-request@python.org