On Thu, Nov 13, 2014 at 8:30 PM, Kyle Briton Lawlor <[email protected]>
wrote:

> Hi all,
>
> I am a graduate student beginning to work with FiPy. I am running into
> some issues with getting the program and its dependencies configured
> properly. I am not sure if this is the right place to ask these types of
> questions, let me know if there is somewhere else I could go to find
> answers. So I will keep things short and I admit I am relatively new to
> programming, so I have probably done some silly things here.
>
> I am using a Mac OS X 10.9.5. I have installed FiPy via MacPorts
> (py27-fipy).
> When I run test I get the following output:
> “Ran 352 tests in 28.032s … Failed (failures=8)… Skipped 83 dockets
> examples because ‘tvtk’ package cannot be imported”
>

Some failures are okay if you're missing some dependencies. You don't need
all the dependencies and if you aren't viewing in 3D then don't worry about
installing Mayavi and its dependencies (such as tvtk).


https://github.com/usnistgov/fipy/commit/db6e5992a4ace2160afff3c111f02f437a3a27e9


>
> I worked through the 1D-Diffusion example. I had no troubles compiling
> anything there (including the Viewer()).
>
> So I am now trying to work through the 2D-Diffusion in a square.
> When it comes to viewing I am getting the following error:
> "Import Error: Failed to import a viewer: [“matplotlib: ufunc ‘isfinite’
> not supported for the input types, and the inputs could not be safely
> coerced to any supported types according to the casting rule ‘’safe’’,
> ‘gist: __call__() takes at least 2 arguments (1 given)’,’gnu plot:
> __call__() takes at least 2 arguments(1 given)’, ‘mayavi: No module named
> enthought.tvtk.api’]”
>

I believe that this is a bug with FiPy and Matplotlib 1.4. It's fixed now
on the develop branch so you'll need to use the "develop" branch to get
this fix. It's probably time we did a bug fix release because of this issue.

-- 
Daniel Wheeler
_______________________________________________
fipy mailing list
[email protected]
http://www.ctcms.nist.gov/fipy
  [ NIST internal ONLY: https://email.nist.gov/mailman/listinfo/fipy ]

Reply via email to