I need to call the script that I have in python in matlab. the script work by it self but when call it from matlab 2012a by ! python Smolyak.py
but I receive this Error. so the problem is with from dolfin import * line
Traceback (most recent call last):
File "Smolyak.py", line 2, in
from dolfin import *
File "/usr/lib/python2.7/dist-packages/dolfin/init.py", line 16, in
import cpp
File "/usr/lib/python2.7/dist-packages/dolfin/cpp/init.py", line 40, in
exec("import %s" % module_name)
File "", line 1, in
File "/usr/lib/python2.7/dist-packages/dolfin/cpp/common.py", line 30, in
_common = swig_import_helper()
File "/usr/lib/python2.7/dist-packages/dolfin/cpp/common.py", line 26, in swig_import_helper
_mod = imp.load_module('_common', fp, pathname, description)
ImportError: /usr/lib/libQVTK.so.5.8: undefined symbol: _ZN12QApplication10commitDataER15QSessionManager
I searched the internet and I couldn't find any solution. I am using linux Ubuntu 64 .
Thanks.