Hi Andy,

Pysparse's API changed to import everything under spmatrix rather than having a hodge-podge of files polluting site-packages. You'll need to update to version 1.0 of pysparse. You may want to checkout HEAD for pysparse as I recently fixed some incompatibilities with numpy and have not yet
made a new release of pysparse. Hopefully, will make a new release soon.

Cheers


On Apr 4, 2007, at 8:16 PM, ASReeve wrote:


Hello,

I was unable to run fipy after I recently upgraded python/numpy/ scipy/fipy.

When I run:"from fipy.meshes.grid2D  import Grid2D"
I get the following error:

ImportError: No module named spmatrix

preceeded several times by the warning:

This Python has API version 1013, module itsolvers has version 1012

or a similar message for the various modules in pysparse.

I'm assuming this means there is a problem using python 2.5 with pysparse/fipy. Is this right and, if so, what do I need to do to fix this?

I'm running python 2.5, pysparse 1.0, scipy-svn 0.5.0.2163, and numpy-svn 1.0.2.dev3617 under linux.

Thanks for you help,

Andy


--
Daniel Wheeler


Reply via email to