python - TensorFlow installation results in ImportError: No module named tensorflow -


i'm trying tensorflow work on mac (osx el capitan 10.11.2). tried pip install setup guide , followed instructions in the accepted answer here.

in both cases able activate virtualenv , prompt changes tensorflow. python works fine, i'm able simple computations on command line. when try import tensorflow:

import tensorflow tf 

i repeatedly error:

importerror: no module named tensorflow 

any appreciated.

i had issue reported in original question. python worked fine, followed installation steps on tensforflow website, , got "no module named tensorflow."

re-installing python via brew, , re-installing pip result, fixed it. didn't need uninstall anything, line below along normal pip install tensorflow installation document afterwards:

brew install python 

Comments

Popular posts from this blog

android - Why am I getting the message 'Youractivity.java is not an activity subclass or alias' -

python - How do I create a list index that loops through integers in another list -

c# - “System.Security.Cryptography.CryptographicException: Keyset does not exist” when reading private key from remote machine -