How to measure tensor flow on El Capitan?

It seems that El Capitan's system integrity protection is stopping me from following the instructions for running Tensorflow on OSX.

I completed the installation guide , but the final installation step failed:

sudo pip install --upgrade $TF_BINARY_URL 

failure:

 Uninstalling numpy-1.8.0rc1: ... OSError: [Errno 1] Operation not permitted 

I managed to get past this by ignoring the six setting:

 sudo pip install --upgrade $TF_BINARY_URL --ignore-installed six 

But now testing my installation does not work:

 $ python Python 2.7.10 (default, Oct 23 2015, 19:19:21) [GCC 4.2.1 Compatible Apple LLVM 7.0.0 (clang-700.0.59.5)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import tensorflow as tf RuntimeError: module compiled against API version 0xa but this version of numpy is 0x9 Traceback (most recent call last): File "<stdin>", line 1, in <module> .... ImportError: numpy.core.multiarray failed to import 
+5
source share
1 answer

I managed to get it working using easy_install to update numpy. This seems like an unpleasant mess, so I would like to either hear the best solution, or ask someone to explain to me why this is normal.

Team for those who play:

 sudo easy_install numpy 
+4
source

All Articles