These are chat archives for spyder-ide/public
jupyter qtconsole(type that in Anaconda prompt) in the same environment you are running Spyder in, and see if you can
F5by default) it works, but if you run
import tensorflowdirectly in the IPython console, it doesn't?
jupyter qtconsoleinstance opened in the same environment and see if it works there.
F5by default), no error appears. However, if you type
import tensorflowin the IPython console, it fails to import. Is this correct? Does the order of these two matter? Again, does it work in
i know sometimes things only work in the script and/ or the console
IPython magics only work in the console (as intended), but other than that this shouldn't really be the case other than things that behave that way in normal a normal interactive
python session vs. a Python script run via the IPython interpreter directly.
jupyter qtconsoleand see if you get the same error? If so, its not related to Spyder assuming you installed it in the correct environment (as discussed in the guide I link).
jupyter qtconsolein the Anaconda prompt. The frontend of Spyder's IPython Console is directly based on it and we maintain it.
Preferences > Python Interpreter. If that setting is set to default, (
Same environment as Spyder), then its whatever environment you opened Spyder in. If you open it from the shortcut, or from the Anaconda prompt without activating a specific environment, that's
base, the default environment, so you don't have to
activateanything. If any of this confuses you, please read the guide I linked above that I've asked you to read that explains how all this works more clearly.