No module named 'Dolfin' on Ubuntu 20.04

Hello people,

I’ve installed in my wsl (Ubuntu 20.04) a new environment in conda to use fenics. But when I run the code:

from dolphin import *

It appears the Error: ModuleNotFoundError: No module named ‘dolfin’.

Any idea to solve it?

The code I used is:

conda create -n fenics -c conda-forge fenics

conda activate fenics

Am I missing something?

Please post the output of this command, as well as the actual code you are executing, as

is clearly not what you are running to get

You should also check which python you are using, i.e. which python
and check that it calls the python in your conda env. You should also report the output of python -c "import dolfin"