Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

installing mshr #11

Closed
gdmcbain opened this issue Nov 11, 2019 · 2 comments
Closed

installing mshr #11

gdmcbain opened this issue Nov 11, 2019 · 2 comments

Comments

@gdmcbain
Copy link
Owner

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 astrojuanlu/fenics-recipes#57.

@gdmcbain
Copy link
Owner Author

@gdmcbain
Copy link
Owner Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant