This seems like a problem we've been having when using pysparse in
conjunction with pythonxy not enthought's python. How strange. I am
not sure I can help you. I had the same problem, but it was resolved
when I installed enthought instead of pythonxy. I think it is
connected with the blas and lapack libraries and having the correct
dlls or .a files available. You may want to venture down the path of
building pysparse yourself (including blas and lapack) and trying to
resolve the issue that way. Anyway, here are some things to try:

  * Try running the uninstall scripts for both pythonxy and enthought.
  * Try deleting everything under C:\Pythonxy and install Enthough's
python from scratch
  * Reinstall pysparse
  * Try "from pysparse import jdsym"

Alternatively,  try building your own version of pysparse along with
blas and lapack. I can give you more instructions, just let me know.

On Wed, Jul 28, 2010 at 1:54 AM, Adya, Srikanth (S&T-Student)
<sa...@mail.mst.edu> wrote:
>
> Hi Daniel,
>
> Thanks for your reply.I was using pythonxy. I tried it on enthought as 
> well,but it still doesn't work. With enthought I get the following errors:
>
> 1. When I try to import any fipy module
>
>  Traceback (most recent call last):
>  File "C:\FiPy-2.1\examples\flow\test.py", line 35, in <module>
>    from fipy.tests.doctestPlus import _LateImportDocTestSuite
>  File "C:\Python26\lib\site-packages\fipy\__init__.py", line 41, in <module>
>    from solvers import *
>  File "C:\Python26\lib\site-packages\fipy\solvers\__init__.py", line 40, in 
> <module>
>    raise ImportError, "Could not import any solver package. If you are using 
> Trilinos, make sure you have all of the necessary Trilinos packages installed 
> - Epetra, EpetraExt, AztecOO, Amesos, ML, and IFPACK."
> ImportError: Could not import any solver package. If you are using Trilinos, 
> make sure you have all of the necessary Trilinos packages installed - Epetra, 
> EpetraExt, AztecOO, Amesos, ML, and IFPACK.
>
> 2.When i try to import jdsym from pysparse i got this error
>
> Traceback (most recent call last):
>  File "<pyshell#0>", line 1, in <module>
>    from pysparse import jdsym
> ImportError: DLL load failed: %1 is not a valid Win32 application.
>
> I've been trying to get this work for a long time. Please help me out.
>
> Tanks and Regards,
> Adya
> ________________________________________
> From: fipy@nist.gov [f...@nist.gov] on behalf of Daniel Wheeler 
> [daniel.wheel...@gmail.com]
> Sent: Monday, July 26, 2010 3:29 PM
> To: Multiple recipients of list
> Subject: Re: Problem Installing Fipy
>
> Hi Adya,
>
> Are you using either pythonxy's python or enhthought's python? I am
> currently having problems importing various pysparse submodules when
> imported using pythonxy's version of python. What happens when you do
>
>    >>> from pysparse import jdsym
>
> at the python command line? Does it crash the python session? If this
> is the case, I would recommend installing enthought's python rather
> than pythonxy's version.
>
> Cheers
>
> On Fri, Jul 23, 2010 at 4:50 PM, Adya, Srikanth (S&T-Student)
> <sa...@mail.mst.edu> wrote:
>> Hello Moderator,
>>
>> I am trying to install fipy on my system that has windows vista on it. I
>> downloaded pysparse and fipy windows installers and run the .exe files. It
>> seemed to have installed properly. But when I try to import fipy it gives me
>> an error saying pythonw.exe has stopped working and python just shuts down.
>> Can you pleas help me resolve this issue.
>>
>> Thanks and Regards,
>> Adya
>>
>
>
>
> --
> Daniel Wheeler
>
>
>
>



-- 
Daniel Wheeler


Reply via email to