Skip to content Skip to sidebar Skip to footer

Tensorflow 1.7- Windows- No Module Named Pywrap

I know people asked this question before. I believe I tried everything written in other StackOverflow questions (On Windows, running 'import tensorflow' generates No module named '

Solution 1:

This error might be caused because of generation of your processor. I struggled with the same error for CPU mode only. Checked for 2 machines: win 7 pro, i7 1366 socket and win 7 home with i5 1366 socket with the same output. The problem is that Tensorflow r1.7 seems to require AVX support. Check does your processor support AVX if not switch to Tensor Flow 1.5

For native instalation (python 3.5 or python 3.6)(Tensor Flow r1.5 CPU)

pip3 install tensorflow==1.5

For anaconda (Tensor Flow r1.5 CPU)

conda create -n your_env_name pip python=3.5 (or3.6)

in next line

activate your_env_name

and finally install Tensorflow 1.5

pip install --ignore-installed tensorflow==1.5

For me two ways work on 2 machines without problems. I have no idea if you are dealing with GPU because I am new and my graphics is not powerfull enough to use.

Enjoy!

Post a Comment for "Tensorflow 1.7- Windows- No Module Named Pywrap"