Dear Mr. Timinaka,
I remember working with you. Great to hear from you again.
The problem is caused by pysparse being compiled against a later
version of numpy.
Some incompatibilities were introduced when numpy reached version
1.0. Thus, a later
version of numpy is needed (at least version 1.0). Unfortunaltely,
enthought python
has not updated its software suite to include this. I would reccomend
going to:
<http://sourceforge.net/project/showfiles.php?
group_id=1369&package_id=175103>
and installing numpy-1.0.2.win32-py2.3.exe. That should get things
working again. I have forwarded
this message to our mailing list as the problem is common one.
Regards
Daniel Wheeler
On Apr 26, 2007, at 12:26 PM, Satoshi Tominaka wrote:
Dear Dr. Wheeler,
I'm Satoshi Tominaka at Waseda Univ. in Japan.
I thank you for teaching me how to use FiPy in the year before the
last.
Now, I'll want to use FiPy, so re-installed python 2.3 and FiPy.
But it doesn't work!
I have done the install procedure for windows as shown in http://
www.ctcms.nist.gov/fipy/windows-installation.html
After installing the python, PySparse, and FiPy, error messages are
coming as shown below.
___________________________________
RuntimeError: module compiled against version 1000009 of C-API but
this version of numpy is 90907
RuntimeError: module compiled against version 1000009 of C-API but
this version of numpy is 90907
Traceback (most recent call last):
File "C:\Python23\FiPy-1.2.win32\FiPy-1.2\examples\test.py", line
46, in -toplevel-
from fipy.tests.lateImportTest import _LateImportTestSuite
File "C:\Python23\Lib\site-packages\fipy\__init__.py", line 6, in -
toplevel-
from solvers import *
File "C:\Python23\Lib\site-packages\fipy\solvers\__init__.py",
line 1, in -toplevel-
from linearCGSSolver import LinearCGSSolver
File "C:\Python23\Lib\site-packages\fipy\solvers
\linearCGSSolver.py", line 47, in -toplevel-
from pysparse import precon
ImportError: numpy.core.multiarray failed to import
____________________________________
I have been trying to solve this problem, but I couldn't.
Could you please help me?
Sincerely yours,
Satoshi Tominaka.
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:::::::::::::::::::::::::::::::::::
Satoshi Tominaka
Graduate School of Science and Engineering Waseda University
Doctor course student in Osaka-Homma Laboratory
E-mail: [EMAIL PROTECTED]
--
Daniel Wheeler