I'm a brazilian researcher working in a governmental research center. I'm trying to use SciPy for the first time. This is the result: [vivi@lajinha vivi]$ python Python 2.3 (#2, Aug 31 2003, 17:27:29) [GCC 3.3.1 (Mandrake Linux 9.2 3.3.1-1mdk)] on linux2 Type "help", "copyright", "credits" or "license" for more information.
from scipy import * /usr/lib/python2.3/site-packages/scipy_base/__init__.py:117: RuntimeWarning: Python C API version mismatch for module fastumath: This Python has API version 1012, module fastumath has version 1011. import fastumath # no need to use scipy_base.fastumath Segmentation fault [vivi@lajinha vivi]$
I Can't remove Python 2.3 and install Python 2.2. What can I do? __________________________________________ Rodrigo Vivi Computer Engeenier Cenpra - Centro de Pesquisas Renato Archer http://www.cenpra.gov.br __________________________________________
Hi, somehow this looks to me as if scipy was complied for a different python version (but I might well be wrong ...). Can you elaborate more on how you installed python and scipy? Arnd On Thu, 8 Jan 2004, Rodrigo Vivi wrote:
I'm a brazilian researcher working in a governmental research center.
I'm trying to use SciPy for the first time. This is the result:
[vivi@lajinha vivi]$ python Python 2.3 (#2, Aug 31 2003, 17:27:29) [GCC 3.3.1 (Mandrake Linux 9.2 3.3.1-1mdk)] on linux2 Type "help", "copyright", "credits" or "license" for more information.
from scipy import * /usr/lib/python2.3/site-packages/scipy_base/__init__.py:117: RuntimeWarning: Python C API version mismatch for module fastumath: This Python has API version 1012, module fastumath has version 1011. import fastumath # no need to use scipy_base.fastumath Segmentation fault [vivi@lajinha vivi]$
I Can't remove Python 2.3 and install Python 2.2. What can I do?
__________________________________________
Rodrigo Vivi Computer Engeenier Cenpra - Centro de Pesquisas Renato Archer http://www.cenpra.gov.br __________________________________________
_______________________________________________ SciPy-user mailing list SciPy-user@scipy.net http://www.scipy.net/mailman/listinfo/scipy-user
I installed the python 2.3 with Mandrake Linux 9.2. So I downloaded SciPy-0.2.0_alpha_200.4161.linux2_py.tar.gz from www.scipy.org and I executed: $ cd /usr/lib/python2.3/site-packages $ tar -zxvf /home/vivi/downloads/SciPy-0.2.0_alpha_200.4161.linux2_py.tar.gz What more Must I do? In somewhere I read that scipy need python 2.2 but I can't change python version. __________________________________________ Rodrigo Vivi Computer Engeenier Cenpra - Centro de Pesquisas Renato Archer http://www.cenpra.gov.br __________________________________________ Em Qui 08 Jan 2004 11:30, Arnd Baecker escreveu:
Hi,
somehow this looks to me as if scipy was complied for a different python version (but I might well be wrong ...). Can you elaborate more on how you installed python and scipy?
Arnd
On Thu, 8 Jan 2004, Rodrigo Vivi wrote:
I'm a brazilian researcher working in a governmental research center.
I'm trying to use SciPy for the first time. This is the result:
[vivi@lajinha vivi]$ python Python 2.3 (#2, Aug 31 2003, 17:27:29) [GCC 3.3.1 (Mandrake Linux 9.2 3.3.1-1mdk)] on linux2 Type "help", "copyright", "credits" or "license" for more information.
from scipy import *
/usr/lib/python2.3/site-packages/scipy_base/__init__.py:117: RuntimeWarning: Python C API version mismatch for module fastumath: This Python has API version 1012, module fastumath has version 1011. import fastumath # no need to use scipy_base.fastumath Segmentation fault [vivi@lajinha vivi]$
I Can't remove Python 2.3 and install Python 2.2. What can I do?
__________________________________________
Rodrigo Vivi Computer Engeenier Cenpra - Centro de Pesquisas Renato Archer http://www.cenpra.gov.br __________________________________________
_______________________________________________ SciPy-user mailing list SciPy-user@scipy.net http://www.scipy.net/mailman/listinfo/scipy-user
On Thu, 8 Jan 2004, Rodrigo Vivi wrote:
I installed the python 2.3 with Mandrake Linux 9.2. So I downloaded SciPy-0.2.0_alpha_200.4161.linux2_py.tar.gz from www.scipy.org and I executed: $ cd /usr/lib/python2.3/site-packages $ tar -zxvf /home/vivi/downloads/SciPy-0.2.0_alpha_200.4161.linux2_py.tar.gz
What more Must I do?
In somewhere I read that scipy need python 2.2 but I can't change python version.
I suggest getting scipy from CVS and building it yourself. Follow the instructions in INSTALL.txt. Regards, Pearu
On Thu, 8 Jan 2004, Rodrigo Vivi wrote:
I installed the python 2.3 with Mandrake Linux 9.2. So I downloaded SciPy-0.2.0_alpha_200.4161.linux2_py.tar.gz from www.scipy.org and I executed: $ cd /usr/lib/python2.3/site-packages $ tar -zxvf /home/vivi/downloads/SciPy-0.2.0_alpha_200.4161.linux2_py.tar.gz
Hmm, the build log indicates to me (but maybe I am wrong) that Python-2.1.3 was used for the build.
What more Must I do?
Honestly, I would recommend to build scipy from source, at least that's what I always do. (I will send you my sketchy notes on this privately). Best, Arnd
participants (3)
-
Arnd Baecker
-
Pearu Peterson
-
Rodrigo Vivi