gdmcbain / fenics-tuto-in-skfem

reproducing the examples from the FEniCS tutorial in scikit-fem
14 stars 1 forks source link

installing mshr #11

Closed gdmcbain closed 4 years ago

gdmcbain commented 4 years ago

Attempting to rerun the (modified, of course) tutorial 08 Navier–Stokes cylinder #5 under Ubuntu 19.10 (rather than the Docker image) failed with

ModuleNotFoundError: No module named 'mshr'

This is just as in Juanlu001/fenics-recipes#57.

gdmcbain commented 4 years ago

https://bitbucket.org/fenics-project/mshr/issues/86/mshr-build

gdmcbain commented 4 years ago

https://groups.google.com/forum/#!topic/fenics-support/CSvscXC5NXc

suggests that FEniCS should have been installed from conda with

  conda create -n fenicsproject -c conda-forge fenics mshr 

from which I guessed (not wanting to destroy & rebuild the environment from scratch)

conda install -c conda-forge mshr

which worked.