Connecting Fenics to PyCharm

I have tried everything I have found online but I cannot find a way to connect fenics to Pycharm. When I write “from fenics import *” I always get the error "ModuleNotFoundError: No module named ‘fenics’ ". I have tried using both docker and unbuntu and while I have managed to get fenics working on Jupyter notebooks I have not been able to figure out how to use it with Pycharm.

I am testing out various pde solvers for a research project and any help would be greatly appreciated!

Thank you!

1 Like