Problem with FEniCS on Ubuntu 18.04.1 LTS + Spyder + Python 3
19 days ago by
1. "Windows Subsystem for Linux" to run Ubuntu
2. Followed these instructions to get Python (3.5.2) and Spyder3 (2.3.8):
3. FEniCS following the Ubuntu instructions here:
I recently converted a laptop entirely to Ubuntu 18.04.1 (no Windows or anything else). I assumed that this would be easier and cleaner to install FEniCS, and maybe faster to run. I followed essentially the instructions in steps 2 and 3 above. However, with the default Python 3.6.5, I get the following error:
ModuleNotFoundError: No module named 'fenics'
If I switch Spyder to Python 2.7.15rc1, fenics works fine. But this is not a real solution for me, because then I get the following error when I try to load scipy:
ImportError: no module named scipy
Ideally, I would like to run FEniCS in Python 3. Any help is appreciated! Thanks.
Community: FEniCS Project
16 days ago by
dpkg -l *dolfin*say?
Secondly, are the python modules accessible? (they should be installed by the packages). What is returned by
python3 -c "import dolfin; print(dolfin.__version__)"?
Note that scipy is a separate package. FEniCS does not depend on it. You'll need to install it separately if you want it.
Please login to add an answer/comment or follow this question.