I am trying to install gyptis package and I am doing so through windows WSL. This is the list of commands I did:
1 curl -O https://repo.anaconda.com/archive/Anaconda3-2025.12-2-Linux-x86_64.sh
2 sha256sum ~/Anaconda3-2025.12-2-Linux-x86_64.sh
3 bash ~/Anaconda3-2025.12-2-Linux-x86_64.sh
4 source ~/.bashrc
5 ls
6 mkdir python_packages
7 cd python_packages
8 git clone https://gitlab.com/gyptis/gyptis.git
9 cd gyptis
10 conda config --add channels conda-forge
11 conda config --set channel_priority strict
12 conda env create -f environment.yml
13 conda activate gyptis
14 python
Inside python I do import gyptis and the traceback I get is:
Tra
ceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/duartejfs/anaconda3/envs/gyptis/lib/python3.12/site-packages/gyptis/__init__.py", line 89, in <module>
import dolfin
File "/home/duartejfs/anaconda3/envs/gyptis/lib/python3.12/site-packages/dolfin/__init__.py", line 135, in <module>
from . import mesh
File "/home/duartejfs/anaconda3/envs/gyptis/lib/python3.12/site-packages/dolfin/mesh/__init__.py", line 1, in <module>
import ufl
File "/home/duartejfs/anaconda3/envs/gyptis/lib/python3.12/site-packages/ufl/__init__.py", line 250, in <module>
import pkg_resources
ModuleNotFoundError: No module named 'pkg_resources'
I cannot find the root cause of this.