[IPython-dev] IPython1 installation

Katrina Riehl kriehl@enthought....
Fri Feb 2 14:20:40 CST 2007


Hello,

I wondered if anyone on the list could help me.  I recently checked out
ipython1 from svn.  When I try to use it from python, I get this
traceback:

Python 2.4.4 (#1, Oct 23 2006, 13:58:00) 
[GCC 4.1.1 20061011 (Red Hat 4.1.1-30)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import ipython1
>>> import ipython1.kernel.api
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "/usr/lib/python2.4/site-packages/ipython1/kernel/api.py", line
63, in ?
    import ipython1.config.api as config
  File "/usr/lib/python2.4/site-packages/ipython1/config/api.py", line
63, in ?
    from ipython1.config.objects import configClasses
  File "/usr/lib/python2.4/site-packages/ipython1/config/objects.py",
line 57, in ?
    from ipython1.kernel.enginevanilla import \
  File
"/usr/lib/python2.4/site-packages/ipython1/kernel/enginevanilla.py",
line 47, in ?
    from ipython1.kernel import error, protocols
  File "/usr/lib/python2.4/site-packages/ipython1/kernel/protocols.py",
line 35, in ?
    class NetstringProducer(object):
  File "/usr/lib/python2.4/site-packages/zope/interface/advice.py", line
132, in advise
    return callback(newClass)
  File
"/usr/lib/python2.4/site-packages/zope/interface/declarations.py", line
550, in _implements_advice
    classImplements(cls, *interfaces)
  File
"/usr/lib/python2.4/site-packages/zope/interface/declarations.py", line
527, in classImplements
    spec.declared += tuple(_normalizeargs(interfaces))
  File
"/usr/lib/python2.4/site-packages/zope/interface/declarations.py", line
1345, in _normalizeargs
    _normalizeargs(v, output)
  File
"/usr/lib/python2.4/site-packages/zope/interface/declarations.py", line
1344, in _normalizeargs
    for v in sequence:
TypeError: Error when calling the metaclass bases
    iteration over non-sequence
>>> 

Does this mean that there is a problem with my zope interface?  Or did I
not set ipython1 up correctly?


I really appreciate your help.
Thanks,
Katrina




More information about the IPython-dev mailing list