Hi Daniel, thanks for your effort to investigate this problem!  Please find the answers to your questions below.

----- Original Message ----
From: Daniel Wheeler <[EMAIL PROTECTED]>
To: Multiple recipients of list <[email protected]>
Sent: Friday, 29 September, 2006 10:02:09 PM
Subject: Re: Fipy v1.1 installation problem?

Regarding the error when you run "C:\FiPy\EXEs\FiPy-1.1.win32\FiPy-1.1\examples\diffusion\mesh1D.py".

Unfortunately, I can't seem to reproduce it. I am using a version of enthon that is based on Python 2.4. This
could possibly cause some differences, but I am not sure.

I did try to use Python 2.4, but following the installation instructions (for Windows) on your website, I found that the installation of one package (forgot which one, maybe matplotlib) requires Python version 2.3.  Therefore, I uninstalled 2.4 and installed 2.3 instead.

The Windows instructions you probably followed require you to install matplotlib, but the version
of enthon you installed may have had matplotlib included. This could be a possible cause of conflicts.
Do you think this could be the case?

I literally followed the instructions on your website and yes I installed matplotlib.  w.r.t your question here, I am not sure...

Can you run and "C:\FiPy\EXEs\FiPy-1.1.win32\FiPy-1.1\examples\diffusion\steadyState\mesh50x50\input.py".
Tell me what happens.

Program successfully finished.

If you run "C:\FiPy\EXEs\FiPy-1.1.win32\FiPy-1.1\examples\convection\peclet.py" what happens?

Traceback (most recent call last):
  File "C:\FiPy\FiPy-1.1.win32\FiPy-1.1\examples\convection\peclet.py", line 110, in ?
    exec(fipy.tests.doctestPlus._getScript())
  File "<string>", line 16, in ?
  File "C:\Python23\Lib\site-packages\fipy\viewers\__init__.py", line 88, in make
    raise ImportError, "Failed to import a viewer: %s" % str(errors)
ImportError: Failed to import a viewer: ['gistViewer: cannot import name GistViewer', 'gnuplotViewer: cannot import name GnuplotViewer', 'matplotlibViewer: float division', 'mayaviViewer: Mayavi does not display useful 1D data', "multiViewer: 'module' object has no attribute 'make'", "tsvViewer: 'module' object has no attribute 'make'", "viewer: 'module' object has no attribute 'make'"]

Take a look at what happens with these examples. You could also start over with the latest python 2.4 version of enthon
and use the instructions I posted in the previous email.
Also, we can go through the process of debugging the error message, but I thought I would check a few things before
getting our hands dirty.

Cheers





On Sep 28, 2006, at 4:35 PM, hzhatlboro wrote:

I installed FiPy v1.1 on windows XP following the instructions on your website.  One exception is that the link to http://download.enthought.com/enthought_python-2.3.5-1076-wx26-n238exe is not valid any more.  I downloaded
Release 0.9.9 (2006-09-14 20:52)
Python 2.3.5 - Windows enthon-python2.3-0.9.9.exe 113 MB
instead.  I am wondering why I got the following errors when I tried to run the first example in the manual:-

Traceback (most recent call last):
  File "C:\FiPy\EXEs\FiPy-1.1.win32\FiPy-1.1\examples\diffusion\mesh1D.py", line 779, in ?
    exec(fipy.tests.doctestPlus._getScript())
  File "<string>", line 38, in ?
  File "C:\Python23\Lib\site-packages\fipy\viewers\__init__.py", line 88, in make
    raise ImportError, "Failed to import a viewer: %s" % str(errors)
ImportError: Failed to import a viewer: ['gistViewer: No module named gist', 'gnuplotViewer: No module named Gnuplot', 'matplotlibViewer: float division', 'mayaviViewer: Mayavi does not display useful 1D data', "multiViewer: 'module' object has no attribute 'make'", "tsvViewer: 'module' object has no attribute 'make'", "viewer: 'module' object has no attribute 'make'"]

Thanks very much for your time!

Regards,
hzh


Daniel Wheeler






To help you stay safe and secure online, we've developed the all new Yahoo! Security Centre.

Reply via email to