python - Import Scipy module in Blender -


i'm using blender 2.76b using ubuntu 15.10.

i'm tryng use scipy module in blender. tried coping scipy folder "/usr/lib/python3/dist-packages/scipy" ".../.blender-2.76b-linux-glibc211-x86_64/2.76/scripts/modules/scipy".

then, if run:

import scipy 

it works, if try with:

from scipy import interpolate 

it returns 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 .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 spec file "/home/alessandro/.blender-2.76b-linux-glibc211-x86_64/2.76/scripts/modules/scipy/special/init.py", line 546, in ._ufuncs import * importerror: no module named 'scipy.special._ufuncs' error: python script fail, in console now...

looking @ content of "scipy/specials" , looking _ufuncs.py 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 reasons blender cannot handle files... can please suggest do?

thank in advice, alessandro

[edit] tried with:

import sys sys.path.append('/usr/local/python3/dist-packages/') import scipy 

but blender doesn't find scipy... :-(

looks blender still uses python 2 while copied scipy python 3 installation. expect installing python 2 scipy make available blender without copying action.


Comments

Popular posts from this blog

routing - AngularJS State management ->load multiple states in one page -

python - GRASS parser() error -

Swift game error message -