For some of my python scrips i need additional modules like pytables. I followed the instructions here, but nothing worked for me:
- first I set the
PATHandPythonPathsystem vars toC:\Python34 - then I tried to copy the module files from
C:\Python34\Lib\site-packagestoC:\Program Files\Blender Foundation\Blender\2.74\scripts\modules, but when I try to import a module in the blender python console, it gave me an error (see below) - I deleted the C:\Program Files\Blender Foundation\Blender\2.74\python, but then in the blender system console it says:
Warning: bundled python not found and is expected on this platform. <if you build with CMake: 'install' target max have not been build>
this error:
import tables
Traceback (most recent call last): File "<blender_console>", line 1, in <module> File "C:\Program Files\Blender
Foundation\Blender\2.74\scripts\modules\tables\__init__.py", line 25, in <module>
import numpy File "C:\Program Files\Blender Foundation\Blender\2.74\scripts\modules\numpy\__init__.py", line 185, in <module>
from . import add_newdocs File "C:\Program Files\Blender Foundation\Blender\2.74\scripts\modules\numpy\add_newdocs.py", line 13, in <module>
from numpy.lib import add_newdoc File "C:\Program Files\Blender Foundation\Blender\2.74\scripts\modules\numpy\lib\__init__.py", line
8, in <module>
from .type_check import * File "C:\Program Files\Blender Foundation\Blender\2.74\scripts\modules\numpy\lib\type_check.py", line 11, in <module>
import numpy.core.numeric as _nx File "C:\Program Files\Blender Foundation\Blender\2.74\scripts\modules\numpy\core\__init__.py", line 6, in <module>
from . import multiarray ImportError: DLL load failed: %1 ist keine zulässige Win32-Anwendung.
I am using Win7 64bit version, python 3.42 and Blender 2.74.
I really don't know what I can still do to import these modules.
C:\Program Files\Blender Foundation\Blender\2.74\pythonfolder it only shows me the error above and i can't import numpy or tables. if i callsys.pathin blender, it shows first this, following with my C:\Python34 paths:['C:\\Program Files\\Blender Foundation\\Blender\\2.74\\scripts\\addons', 'C:\\Program Files\\Blender Foundation\\Blender\\2.74\\scripts\\startup', 'C:\\Program Files\\Blender Foundation\\Blender\\2.74\\scripts\\modules', ...– vtni May 06 '15 at 22:29sys.executableandhelp(sys). – zeffii May 06 '15 at 22:39'C:\\Program Files\\Blender Foundation\\Blender\\blender-app.exe'and in cmd:'C:\\Python34\\python.exe', the log of help(sys) from blender i posted here: http://pastebin.com/2uQrvzxX – vtni May 06 '15 at 22:56