Re: [Numpy-discussion] numpy installation in ubuntu

2010-10-19 Thread Alex Ter-Sarkissov
thanks! it actually worked! maybe u could recommend some good sources/readin on how to install different modules in python run under linux thanks again, alex 2010/10/19 Pauli Virtanen > Tue, 19 Oct 2010 21:26:38 +1300, Alex Ter-Sarkissov wrote: > > thanks, this didn't seem to work. I get a who

Re: [Numpy-discussion] numpy installation in ubuntu

2010-10-19 Thread Pauli Virtanen
Tue, 19 Oct 2010 21:26:38 +1300, Alex Ter-Sarkissov wrote: > thanks, this didn't seem to work. I get a whole range of errors, most > importantly > > SystemError: Cannot compiler 'Python.h'. Perhaps you need to install > python-dev|python-devel. I think you should do "sudo apt-get install python-d

Re: [Numpy-discussion] numpy installation in ubuntu

2010-10-19 Thread Alex Ter-Sarkissov
thanks, this didn't seem to work. I get a whole range of errors, most importantly SystemError: Cannot compiler 'Python.h'. Perhaps you need to install python-dev|python-devel. Apparently, according to numpy installation guide (here

Re: [Numpy-discussion] numpy installation in ubuntu

2010-10-18 Thread David
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 y

Re: [Numpy-discussion] numpy installation in ubuntu

2010-10-18 Thread Pauli Virtanen
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. Pauli

Re: [Numpy-discussion] numpy installation in ubuntu

2010-10-18 Thread Ian Goodfellow
To do a standard installation, run sudo python setup.py install from inside the numpy directory Then your import should work elsewhere. By the way, "import *" can cause difficulties when you're working with several different files. For example, if you have a function called 'save' somewhere that

Re: [Numpy-discussion] numpy installation in ubuntu

2010-10-18 Thread Peter
On Mon, Oct 18, 2010 at 11:55 AM, Alex Ter-Sarkissov wrote: > hi everyone, i'm very new to ubuntu, now trying to install numpy and > wxpython. Did you consider installing the Ubuntu provided packages, e.g. via apt-get or the Synaptic Package manager? That is *much* easier - but you won't get the

[Numpy-discussion] numpy installation in ubuntu

2010-10-18 Thread Alex Ter-Sarkissov
hi everyone, i'm very new to ubuntu, now trying to install numpy and wxpython. Having unpacked numpy and running the standard commnad in idle from numpy import * i get the message ImportError: Error importing numpy: you should not try to import numpy from its source directory; please ex