BobbyJohnsonOG BobbyJohnsonOG - 6 months ago 50
Python Question

Installing a package in Conda environment, but only works in Python not iPython?

I am using an Ubuntu docker image. I've installed Anaconda on it with no issues. I'm not trying to install tensorflow, using the directions on the tensorflow website:

conda create --name tensorflow python=3.5
source activate tensorflow
<tensorflow> conda install -c conda-forge tensorflow

It installs with no errors. However, when I import in
, it tells me there is no module
. But if I import when in
, it works fine.

What's going on and how do I fix it?


You have to install IPython in the conda environment

source activate tensorflow
conda install ipython