ipywidgets-static icon indicating copy to clipboard operation
ipywidgets-static copied to clipboard

Installation problem

Open dlauer opened this issue 10 years ago • 1 comments

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

dlauer avatar May 17 '14 00:05 dlauer

what version of IPython do you have installed?

i.e.

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

jakevdp avatar May 17 '14 13:05 jakevdp