Problem importing OpenMC in Pycharm

I installed OpenMC in Ubuntu from source, and then using pip.
The package imports and works in IPython and in Jupyter Notebook.
However, I cannot find a way to install it in PyCharm.
I guess it is some basic Linux stuff, but I don’t know how to solve it. Any ideas?