Is it possible to import tensorflow into blender? I am trying to import tensorflow into blender, but I get an error when I do. It says 

 RuntimeError: module compiled against API version a but this version of numpy is 9
Traceback (most recent call last):
  File "/Users/me/project/bin/Script.blend/Text", line 6, in &lt;module&gt;
  File "/Users/me/project/bin/TensorFlow.py", line 7, in &lt;module&gt;
import tensorflow
  File "/Users/me/project/lib/python3.4/site-packages/tensorflow/__init__.py", line 23, in &lt;module&gt;
from tensorflow.python import *
  File "/Users/me/project/lib/python3.4/site-packages/tensorflow/python/__init__.py", line 50, in &lt;module&gt;
from tensorflow.python.framework.framework_lib import *
  File "/Users/me/project/lib/python3.4/site-packages/tensorflow/python/framework/framework_lib.py", line 62, in &lt;module&gt;
from tensorflow.python.framework.ops import Graph
  File "/Users/me/project/lib/python3.4/site-packages/tensorflow/python/framework/ops.py", line 40, in &lt;module&gt;
from tensorflow.python.framework import versions
  File "/Users/me/project/lib/python3.4/site-packages/tensorflow/python/framework/versions.py", line 24, in &lt;module&gt;
from tensorflow.python import pywrap_tensorflow
  File "/Users/me/project/lib/python3.4/site-packages/tensorflow/python/pywrap_tensorflow.py", line 28, in &lt;module&gt;
_pywrap_tensorflow = swig_import_helper()
  File "/Users/me/project/lib/python3.4/site-packages/tensorflow/python/pywrap_tensorflow.py", line 24, in swig_import_helper
_mod = imp.load_module('_pywrap_tensorflow', fp, pathname, description)
  File "/Applications/Blender/blender.app/Contents/Resources/2.73/python/lib/python3.4/imp.py", line 243, in load_module
return load_dynamic(name, filename, file)
SystemError: initialization of _pywrap_tensorflow raised unreported exception


How can I import it without the error? It works well outside of Blender.
I'm using Blender 2.73 and it uses my local python 3.4.2.
The problem: Blender has bundled numpy with a version not compatible with your tensorflow version.

Solution: Use a blender version with a compatible bundled numpy.

I imported it on my machine successfully with Blender 2.72b with my system python  3.4.3 

I use Gentoo Linux but it should not be problem. Please try Blender 2.72b