Dear,
I know that there is already a topic on the subject( Anaconda Installation of Fenics and Mshr.
However it was not clear the solution to the problem of installing mshr.
I did all the tips given in the topic but I couldn’t run.
Please, someone see how to do this installation, because the simplest examples of the Tutorial use mshr.
The error follows:
1 from fenics import *
----> 2 from mshr import *
3 import numpy as np
~ / opt / anaconda3 / envs / fenicsproject / lib / python3.8 / site-packages / mshr / __ init__.py in
22 import dolfin
23
—> 24 from .cpp import Circle
25 from .cpp import Ellipse
26 from .cpp import Rectangle
ImportError: generic_type: type “CSGGeometry” referenced unknown base type “dolfin :: Variable”