Installing mshr

hi all,

im trying to install mshr but without success
this my version of dolfin DOLFIN version: 2019.2.0.dev0
i tried pip install mshr and it failed
and conda install -c conda-forge fenics which got stuck for me

any idea how can i install it ?
if important using fenics via (wsl-ubunto)

Please clarify how you originally installed FEniCS itself.

If you really are using conda it’s best to avoid mixing pip and conda packages. mshr seems to be available in conda Mshr ::

Someone helped me once to do it and i dont quit remember, is there a way to check that?

import dolfin

might be a good place to get some hints. Furthermore, also post the ubuntu version you currently have installed in wsl.

this is what i got
/usr/bin/python3.10 /home/mirialex/PycharmProjects/fibers/
/usr/lib/petsc/lib/python3/dist-packages/dolfin/, does it help somehow?

and ubunto
Description: Ubuntu 22.04.2 LTS
Release: 22.04

You installed FEniCS with apt. Try with apt install python3-mshr, it should install mshr too.

that helped thanks alot