Hi everyone. I have trouble using dolfin on my Macbook(Intel Core i7)
The trouble is
“Traceback (most recent call last):
File “/Users/yuanheng/Downloads/NematicInChannel/pythonModules/initializeSimulation.py”, line 2, in
from dolfin import *
ModuleNotFoundError: No module named ‘dolfin’”
And I use
“conda create -n fenicsx-env
conda activate fenicsx-env
conda install -c conda-forge fenics-dolfinx mpich pyvista” to install
If you have run vigilant_knuth among docker containers, you need to run the terminal program provided by macOS and entre the docker container through commands like
$ docker exec -ti vigilant_knuth /bin/bash -l
Then, the ubuntu environment where dolfinx is installed is loaded.
After that, you can check whether dolfinx is installed with the python3 -c command!