For me mshr does not work locally either. However, it works in Google Colab. One workaround would thus be to create the mesh in Google Colab, save it to file and load the mesh file locally on your own device. Nevertheless, as explained in this forum post mshr is no longer maintained and it is better to use some other software. Besides my quick and dirty workaround, I also use pygmsh and in my opinion this yields much more optimized meshes than mshr for complex geometries.
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
|
Installing Mshr still unsolved
|
0 | 562 | September 3, 2020 | |
| Issue with anaconda installation of mshr ("CSGGeometry" referenced unknown base type "dolfin::Variable") | 1 | 1212 | June 14, 2022 | |
|
Problem installing mshr module on anaconda in ubuntu
|
5 | 3247 | May 18, 2020 | |
| Anaconda Installation of Fenics | 4 | 5891 | August 26, 2020 | |
| [Legacy FEniCS 2019.1.0] PackagesNotFoundError: mshr | 1 | 90 | June 10, 2025 |