This is a read only copy of the old FEniCS QA forum. Please visit the new QA forum to ask questions

Trouble with import mshr

0 votes

I installed fenics with

sudo add-apt-repository ppa:fenics-packages/fenics sudo apt-get update sudo apt-get install fenics

Most things seem to work fine, but when I try to import mshr it can't find the module. I'm trying to run the membrane deflection example in the tutorial, but I can't seem to generate a unit circle mesh.

asked Nov 12, 2014 by mdornfe1 FEniCS Novice (180 points)

Hi! I met the same problem, have you solved that?

1 Answer

0 votes

Try running

sudo apt-get dist-upgrade

and see if rest of the packages are downloaded. Check here for details:

http://fenicsproject.org/download/ubuntu_details.html

answered Nov 12, 2014 by joakibo FEniCS User (1,140 points)
...