Problem installing mshr module on anaconda in ubuntu

Good day everyone,

Please i am havingproblem installing mshr on Anaconda in ubuntu. After installing and importing mshr, i have the below errors:

ImportError Traceback (most recent call last)
in ()
----> 1 import mshr

~/anaconda3/lib/python3.7/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”

See: Anaconda Installation of Fenics and Mshr

Hi dokken, thanks for ur reply.

i tried Huwans suggestion i received the below error: “failed with initial frozen”

Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: |
Found conflicts! Looking for incompatible packages.
This can take several minutes. Press CTRL-C to abort.

Did you try the solution from the later posts ? (Anaconda Installation of Fenics and Mshr)

I had the same issue with anaconda in macOS I could solve it look here

Thanks Dokken, i have resoled it using Huwans procedure