dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #22028
Re: [Question #148708]: Switched from Windows 7 -> Ubuntu to run FEniCS
Question #148708 on DOLFIN changed:
https://answers.launchpad.net/dolfin/+question/148708
Status: Open => Answered
Anders Logg proposed the following answer:
On Mon, Mar 14, 2011 at 08:26:41PM -0000, Kyle Williston wrote:
> Question #148708 on DOLFIN changed:
> https://answers.launchpad.net/dolfin/+question/148708
>
> Status: Answered => Open
>
> Kyle Williston is still having a problem:
> Thank you Anders,
>
> I am still having a few troubles. I do not think my python is setup
> correctly for the installed FEniCS modules. After writing a small
> program following the tutorial I receive the following error message:
>
> 'from: can't read /var/mail/dolfin'
Hmmm... strange. What program did you write?
Can you try the following simple program:
from dolfin import *
mesh = UnitSquare(4, 4)
plot(mesh)
interactive()
Does that work?
--
Anders
> Followed by syntax errors because the functions such as UnitSquare did
> not get imported properly. I am sure this is because I did not setup a
> path in python to look for dolfin and I am unsure how to do this
> exactly.
>
> Thanks again!
--
You received this question notification because you are a member of
DOLFIN Team, which is an answer contact for DOLFIN.