0

I have installed CPU version of Tensor flow in my laptop using the command line using pip install.

OS: Windows 8.1 64 bit Python 3.5.1

But, when I tried importing it in the python 3.5.1 it throws the following error message.

import _pywrap_tensorflow ImportError: No module named '_pywrap_tensorflow' Error importing tensorflow. Unless you are using bazel, you should not try to import tensorflow from its source directory; please exit the tensorflow source tree, and relaunch your python interpreter from there.

I have tried getting answers in Github, but no hope. I have even tried changing the directories but nothing works.

I am new to python. Please help me to solve this issue !!

harish .a
  • 1
  • 1
  • According to [this](https://github.com/tensorflow/tensorflow/issues/5949), it may be caused by you not having [Microsoft Visual C++ 2015 Redistributable Update 3 (x64 version)](https://www.microsoft.com/en-us/download/details.aspx?id=53587). Can you verify that that's not your problem? – Random Davis Apr 28 '17 at 15:47
  • I think it is not the problem !! – harish .a Apr 28 '17 at 15:53
  • Which Python distribution are you using? From Python.org, Anaconda or other? – ruoho ruotsi Apr 28 '17 at 20:14
  • Have you done your due diligence per this Stack Overflow question? http://stackoverflow.com/questions/42011070/on-windows-running-import-tensorflow-generates-no-module-named-pywrap-tenso – ruoho ruotsi Apr 28 '17 at 20:17
  • I am using Python.org distribution. I have even tried due diligence as per the link already. But it is still not working !! – harish .a Apr 29 '17 at 08:40

0 Answers0