Reputation: 991
Can somebody please help me loading the ipython module into jupyter notebooks?
Upvotes: 1
Views: 3764
Reputation: 3196
I believe that part of the problem is the capitalisation of the IPython package in your import statement:
try: import IPython.html.widgets
I don't know if that will get you everything you want, but that's probably the issue regarding your import.
Upvotes: 0
Reputation: 627
ipython
is a dependency for Jupyter, so it's already installed.
It looks like you're trying to import ipython widgets (ipywidgets
) for use in Jupyter. To do this, in your shell (outside of Jupyter) install ipywidgets:
pip install ipywidgets
jupyter nbextension enable --py widgetsnbextension
Then import widgets:
import ipywidgets as widgets
Read the docs to learn more about installing and using ipython widgets.
Upvotes: 1