On Fri, Nov 1, 2013 at 3:36 PM, Charles Henry <[email protected]> wrote: > I'm have completed the dolfin-1.2.0 compilation, but now I cannot run a > program. All programs I try are failing, for lack of python modules > "parameters, Parameters, MPI". The following error occurs when I try to run > "demo_biharmonic.py": > > File > "/fenics/1.2.0/lib64/python2.6/site-packages/dolfin/common/globalparameters.py", > line 27, in < module> > from dolfin.cpp import parameters, Parameters, MPI > ImportError: cannot import name parameters
It looks like your PYTHONPATH needs an update. What is your current PYTHONPATH, i.e. the output of "echo $PYTHONPATH"? My guess is that you need to add /fenics/1.2.0/lib/python2.6/site-packages to PYTHONPATH. Try export PYTHONPATH=/fenics/1.2.0/lib/python2.6/site-packages:$PYTHONPATH and see if that helps. Johannes _______________________________________________ fenics-support mailing list [email protected] http://fenicsproject.org/mailman/listinfo/fenics-support
