问题
I have installed tensorflow with anaconda in Windows, but I can't import tensorflow in spyder IDE?
回答1:
The reason Spyder is unable to import Tensorflow is that Anaconda does not store the tensorflow package in the same environment.
One solution is to create a new separate environment in Anaconda dedicated to TensorFlow and containing Python with its own Spyder and then install tensorflow into that environment
来源:https://stackoverflow.com/questions/42619665/why-spyder-cant-import-tensorflow