This is a known problem, that the FEniCS HashDist installation does not include all possible Python packages. I don't know what the best solution is: either to add Soya3D to the HashDist installation, or putting it back into the path. Others (Johannes) will know better.
-- Andeers Mon Jan 26 2015 at 9:42:57 PM skrev Robert Kirby <[email protected]>: > I am trying to dump plots of FiniteElement objects to file (much like in > the nifty periodic table) to slurp into a document. > > I am on Ubuntu 14.04, and just installed the latest dev version via > hashdist. Two problems. > > #1: Hashdist doesn't seem to install soya in its python interpreter (so > apt-getting doesn't help here): > > >>> U = FiniteElement("Lagrange", triangle, 2) > >>> plot(U) > Unable to plot element, Soya3D not available (install package python-soya). > > Second, the documentation says a keyword argument hardcopy_prefix is > needed, at least for function plotting. > > But it doesn't seem to recognize that keyword: > > >>> plot(U, hardcopy_prefix="lagrange") > Traceback (most recent call last): > File "<stdin>", line 1, in <module> > File > "/home/rkirby/.hashdist/bld/profile/gswdsngrlm3e/lib/ > python2.7/site-packages/dolfin/common/plotting.py", > line 105, in plot > return ffc.plot(object, *args, **kwargs) > TypeError: plot() got an unexpected keyword argument 'hardcopy_prefix' > > > Am I doing something wrong here? > > Thanks, > Rob Kirby > > _______________________________________________ > fenics mailing list > [email protected] > http://fenicsproject.org/mailman/listinfo/fenics >
_______________________________________________ fenics mailing list [email protected] http://fenicsproject.org/mailman/listinfo/fenics
