Atom can't find tensorflow despite command line finding it?


I use Atom with Hydrogen, however I can’t import tensorflow. I’m able to run the same program through the command line, so tensorflow is installed correctly. How can I let Atom find tensorflow?


With no information about your environment, the most likely cause is that the python command is not the same installation as the one that Hydrogen is using. If you have both 2 and 3 on your machine, check that tensorflow is installed in 3 (which is the version that IPython is compatible with).