Fenics/dolfnix does not work inside conda JupiterNotebook

I install fenics-dolfinx on my Mac using these lines:

conda create -n fenicsx-env
conda activate fenicsx-env
conda install -c conda-forge fenics-dolfinx mpich pyvista

from this site GitHub - FEniCS/dolfinx: Next generation FEniCS problem solving environment

Then I open JupiterNotebook from anaconda navigator and I type:

from dolfinx import *

I got this error message:

ModuleNotFoundError Traceback (most recent call last)
/var/folders/31/w56d47t956zfp0kklgtz_yq40000gn/T/ipykernel_54154/177702259.py in
----> 1 from dolfinx import *

ModuleNotFoundError: No module named ‘dolfinx’

Did you navigate to the new environment? The first line you ran created a new Python environment specifically for FEniCSx and dolfinx won’t be available in the base environment.

If you are in the command prompt you can call conda activate fenicsx-env to change to the new environment, and the start the Jupyter Notebook with jupyter notebook.