I'm using Blender 2.76b using Ubuntu 15.10.
I'm tryng to use scipy module in Blender. I tried coping the scipy folder from "/usr/lib/python3/dist-packages/scipy" to ".../.blender-2.76b-linux-glibc211-x86_64/2.76/scripts/modules/scipy".
Then, if run:
import scipy
it works, but if I try with:
from scipy import interpolate
it returns the following error:
Traceback (most recent call last): File "/home/alessandro/Scrivania/untitled.blend/Text", line 6, in File "/home/alessandro/.blender-2.76b-linux-glibc211-x86_64/2.76/scripts/modules/scipy/interpolate/init.py", line 160, in from .interpolate import * File "/home/alessandro/.blender-2.76b-linux-glibc211-x86_64/2.76/scripts/modules/scipy/interpolate/interpolate.py", line 15, in import scipy.special as spec File "/home/alessandro/.blender-2.76b-linux-glibc211-x86_64/2.76/scripts/modules/scipy/special/init.py", line 546, in from ._ufuncs import * ImportError: No module named 'scipy.special._ufuncs' Error: Python script fail, look in the console for now...
Looking at the content of "scipy/specials" and looking for a _ufuncs.py I only found those:
.../scipy/special/_ufuncs.cpython-34m-x86_64-linux-gnu.so
.../scipy/special/_ufuncs.cpython-35m-x86_64-linux-gnu.so
.../scipy/special/_ufuncs_cxx.cpython-34m-x86_64-linux-gnu.so
.../scipy/special/_ufuncs_cxx.cpython-35m-x86_64-linux-gnu.so
For some reasons Blender cannot handle the files... someone can please suggest something to do?
Thank you in advice, Alessandro
[EDIT] I also tried with:
import sys
sys.path.append('/usr/local/python3/dist-packages/')
import scipy
but Blender doesn't find scipy... :-(