Ubuntu installation of FENICSX

Hello folks,

I am using Linux Mint based on focal Sossa. I am trying to install the next version of FenicxX on my PC.
I would like to install the software to be used on Spyder.
Thus, my idea is to use the typical sudo apt-get approach. Nevertheless, I use the sudo approach as follows :

sudo add-apt-repository ppa:fenics-packages/fenics
sudo apt-get update
sudo apt-get install fenics-dolfinx

Then I use spyder, which it was installed via anaconda, and finally I do the following statement :
import dolfinx

and the module does not seem to be installed.

Any hints? :slight_smile:
I am avoiding to use Jupyter

Don’t mix up an anaconda installation with an ubuntu installation. The package and library versions won’t match. It might be possible to reconfigure the PYTHONPATH used by your spyder to point at the Ubuntu installation, but conflicts are possible.

Are you not able to use the spyder package from Ubuntu?

1 Like