I installed FEniCS and I am able to run files, e.g. the Tutorial, from the Docker Toolbox Terminal.
When I try to use Spyder to run the same file I get this error:
runfile('C:/Users/r.grc/fenics/ft01_poisson.py', wdir='C:/Users/r.grc/fenics')
Traceback (most recent call last):
File "", line 1, in
runfile('C:/Users/r.grc/fenics/ft01_poisson.py', wdir='C:/Users/r.grc/fenics')
File "C:\Users\r.grc\AppData\Local\Continuum\Anaconda3\lib\site-packages\spyderlib\widgets\externalshell\sitecustomize.py", line 699, in runfile
execfile(filename, namespace)
File "C:\Users\r.grc\AppData\Local\Continuum\Anaconda3\lib\site-packages\spyderlib\widgets\externalshell\sitecustomize.py", line 88, in execfile
exec(compile(open(filename, 'rb').read(), filename, 'exec'), namespace)
File "C:/Users/r.grc/fenics/ft01_poisson.py", line 13, in
from fenics import *
ImportError: No module named 'fenics'
My (limited) experience tells me I would have to set some path in Spyder - but that doesn't seem to work for the Docker images. What do I need to do?