linux cluster installation

From: "John Washakie" <washakie@gmail.com> To: numpy-discussion@lists.sourceforge.net 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: [wash@wyo ~]$ setup.py install prefix=~ ... [wash@wyo ~]$ 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
Suggestions?

John Washakie wrote:
From: "John Washakie" <washakie@gmail.com> To: numpy-discussion@lists.sourceforge.net 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: [wash@wyo ~]$ setup.py install prefix=~
...
[wash@wyo ~]$ 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
participants (2)
-
Christian K
-
John Washakie