Install tensor Mac GPU pywrap import error

I am trying to install tensorflow using this tutorial and I am getting this error:

>>> import tensorflow Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/local/lib/python2.7/site-packages/tensorflow/__init__.py", line 23, in <module> from tensorflow.python import * File "/usr/local/lib/python2.7/site-packages/tensorflow/python/__init__.py", line 48, in <module> from tensorflow.python import pywrap_tensorflow File "/usr/local/lib/python2.7/site-packages/tensorflow/python/pywrap_tensorflow.py", line 21, in <module> _pywrap_tensorflow = swig_import_helper() File "/usr/local/lib/python2.7/site-packages/tensorflow/python/pywrap_tensorflow.py", line 20, in swig_import_helper return importlib.import_module('_pywrap_tensorflow') File "/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/lib/python2.7/importlib/__init__.py", line 37, in import_module __import__(name) ImportError: No module named _pywrap_tensorflow 

I installed everything correctly, but I was not able to import shadoworflow. I tried reinstalling protobuf and pip from the source. I have no ideas.

+7
python tensorflow macos
source share

No one has answered this question yet.

See related questions:

1676
How to install pip on macOS or OS X?
36
How to import a module in Python using importlib.import_module
one
Tensor flow related error in python 3.4 "Failed to load TensorFlow embedded runtime"
one
Error importing tensor flow Python 3.6.1
one
Tensorflow import error: module 'imp' does not have attribute 'find_module'
0
Failed to import tensor
0
Error importing Tensorflow into Python (Win7, Py3.6)
0
Problem When working with tensor stream libcudart.so.8.0 is not in the way
-one
Error installing Tensorflow on mac
-one
Error importing tensor flow. I convert csv to tfrecord

All Articles