ImportError: No module named tensorflow

终端输入:

1.brew install python

Warning: python 2.7.13 is already installed, it's just not linked.

You can use `brew link python` to link this version.

2.brew link --overwrite python

Linking /usr/local/Cellar/python/2.7.13... 39 symlinks created


https://github.com/tensorflow/tensorflow/issues/5478

推荐阅读更多精彩内容