First time here? Check out the FAQ!
answered 6 years ago
You have to install the Python packages in the Sage virtual environement. For this, you have to open a terminal (assuming you are using GNU/Linux) and type:
sage --pip install tensorflow
And then, from Sage:
sage: import tensorflow