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
Post a Comment