Black Lives Matter. Please consider donating to Black Girls Code today.
Dash Enterprise delivers an incredible 21x cost savings 💸Download the e-book!

Including plotly inside ipython notebooks

I typed in jupyter notebook:

!pip install plotly (it works see below)

You are using pip version 7.1.0, however version 8.1.1 is available.
You should consider upgrading via the ‘pip install --upgrade pip’ command.
Requirement already satisfied (use --upgrade to upgrade): plotly in /gpfs/global_fs01/sym_shared/YPProdSpark/user/s6d7-3fde6f52ee0cc7-386bd76c216a/.local/lib/python2.7/site-packages
Requirement already satisfied (use --upgrade to upgrade): requests in /usr/local/src/bluemix_ipythonspark_16/notebook-2.7/lib/python2.7/site-packages/requests-2.7.0-py2.7.egg (from plotly)
Requirement already satisfied (use --upgrade to upgrade): six in /usr/local/src/bluemix_ipythonspark_16/notebook-2.7/lib/python2.7/site-packages/six-1.9.0-py2.7.egg (from plotly)
Requirement already satisfied (use --upgrade to upgrade): pytz in /usr/local/src/bluemix_ipythonspark_16/notebook-2.7/lib/python2.7/site-packages/pytz-2015.4-py2.7.egg (from plotly)
however,
import plotly

ImportError Traceback (most recent call last)
in ()
----> 1 import plotly

ImportError: No module named plotly

It does not import plotly…