Omar Jamil

science * data

In order to run TensorFlow in Jupyter notebook in the conda environment that is installed in, need to do the following:

source activate myenv
python -m ipykernel install --user --name myenv --display-name "Python (TF)"

The second command creates a Jupyter kernel that you can initiate from Jupyter notebook. Once that is done, you should be able to

import tensorflow

You may need to install pip install ipykernel before running the above command.

Recent posts

About

A scientist using Machine Learning to do Physics