[Numpy-discussion] numpy installation in ubuntu

David david@silveregg.co...
Mon Oct 18 19:56:47 CDT 2010


On 10/18/2010 10:45 PM, Pauli Virtanen wrote:
> Mon, 18 Oct 2010 09:07:42 -0400, Ian Goodfellow wrote:
>
>> To do a standard installation, run
>> sudo python setup.py install
>> from inside the numpy directory
>
> Preferably,
>
> 	sudo python setup.py install --prefix=/usr/local
>
> and then you don't mess up your package manager.

Ubuntu actually does this by default (i.e. the default prefix expands to 
/usr/local on ubuntu and debian).

But I think we should tell people to use the --user for python 2.6 and 
above by default: that's the safest method, does not require sudo and 
works on every platform,

cheers,

David


More information about the NumPy-Discussion mailing list