pineapple icon indicating copy to clipboard operation
pineapple copied to clipboard

Cannot import tensorflow

Open angoodkind opened this issue 9 years ago • 2 comments

I recently installed the python3 version of tensorflow. I can import it from the shell (lauched python3, not python. However, I get the following error when trying to import it into pineapple:


---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
<ipython-input-2-41389fad42b5> in <module>()
----> 1 import tensorflow as tf

ImportError: No module named 'tensorflow'

angoodkind avatar Dec 27 '15 20:12 angoodkind

Basically you can't import. https://github.com/nwhitehead/pineapple/issues/62

soobrosa avatar Jul 18 '16 07:07 soobrosa

I ran into this while Googling for the same issue, and later found from data/examples/python2.7/Packages.ipynb that it looks like

import pineapple
%pip install tensorflow

is the right way to do this.

kevinr avatar Jun 02 '17 06:06 kevinr