John Washakie wrote:
> From: "John Washakie" <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Date: Tue, 1 May 2007 17:38:52 +0200
> Subject: linux cluster installation
> What is the best way to install numpy and ultimately scipy on a
> cluster of linux machines so that you just install it once? I imagine
> you have to be root to do the installation for everyone, but what if
> you just want to install it to your home directory?
> 
> I have done:
> [EMAIL PROTECTED] ~]$ setup.py install prefix=~
> 
> ...
> 
> [EMAIL PROTECTED] ~]$ python
> Python 2.4.3 (#1, Jun 13 2006, 16:41:18)
> [GCC 4.0.2 20051125 (Red Hat 4.0.2-8)] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
>>>> from numpy import *
> Traceback (most recent call last):
>  File "<stdin>", line 1, in ?
> ImportError: No module named numpy

You need to set PYTHONPATH to point at your site-packages dir. So in your case
it should be something like:

~/lib/python2.X/site-packages

Christian

_______________________________________________
Numpy-discussion mailing list
[email protected]
http://projects.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to