jakevdp / ipywidgets-static

[obsolete] Static Widgets for IPython Notebooks
BSD 3-Clause "New" or "Revised" License
108 stars 24 forks source link

Installation problem #10

Open dlauer opened 10 years ago

dlauer commented 10 years ago

I've installed via the setup script, but receive this error when trying to import ipywidgets:

In [2]: import ipywidgets

ImportError Traceback (most recent call last)

in () ----> 1 import ipywidgets /usr/local/lib/python2.7/dist-packages/ipywidgets/**init**.py in () 1 **version** = "0.0.1" 2 ----> 3 from .interact import StaticInteract 4 from .widgets import RadioWidget, RangeWidget, DropDownWidget /usr/local/lib/python2.7/dist-packages/ipywidgets/interact.py in () 2 import itertools 3 import matplotlib.pyplot as plt ----> 4 from IPython import get_ipython 5 6 ImportError: cannot import name get_ipython
jakevdp commented 10 years ago

what version of IPython do you have installed?

i.e.

>>> import IPython
>>> IPython.__version__
2.0.0