I've installed FEniCS from source on my Debian machine, and i now wish to use Scipy in my FEniCS scripts. Adding the path to my local python installation to fenics.stable as answered here makes it possible to import modules such as Scipy.
Unfortunately, when invoking some functions such as sparse solve, i get an error
ImportError:
/usr/lib/python2.7/dist-packages/scipy/sparse/linalg/dsolve/_superlu.so:
undefined symbol: PyUnicodeUCS4_AsASCIIString
The issue appears to be that my local python installation was build using USC4, where as the python components installed with FEniCS only works with USC2.
Is it possible to somehow modify the fenics-install.sh file so to build the python components needed with USC4 enabled?
If not, has anyone been successful at running Scipy + FEniCS on debian, how is it done?