[IPython-User] Ipython 1.0 notebook and Python 2.6.6 on CentOS 6.4

Kalle kalle-python@gmx...
Fri Aug 9 14:46:49 CDT 2013


today i tried a quick test-install of Ipython 1.0.0 on CentOS 6.4 with 
the Python 2.6.6, which comes with CentOS 6.4.

When i start the notebook, a TypeError occurs:

$ ipython notebook
Traceback (most recent call last):
   File "/usr/lib64/python2.6/logging/__init__.py", line 776, in emit
     msg = self.format(record)
   File "/usr/lib64/python2.6/logging/__init__.py", line 654, in format
     return fmt.format(record)
"/usr/lib/python2.6/site-packages/IPython/config/application.py", line 
119, in format
     return super(LevelFormatter, self).format(record)
TypeError: super() argument 1 must be type, not classobj

LevelFormatter is derived from logging.Formatter, which is an old-style 
class in Python 2.6, so that super() will raise this TypeError. On 
Python 2.7 logging.Formatter ist new-style and everything is fine.

The notebook-server is working fine nevertheless...

For the sake of completeness, here is the result of iptest:

Test suite completed for system with the following information:
{'codename': 'An Afternoon Hack',
  'commit_hash': '02da31c',
  'commit_source': 'installation',
  'default_encoding': 'UTF-8',
  'ipython_path': '/usr/lib/python2.6/site-packages/IPython',
  'ipython_version': '1.0.0',
  'os_name': 'posix',
  'sys_executable': '/usr/bin/python',
  'sys_platform': 'linux2',
  'sys_version': '2.6.6 (r266:84292, Jul 10 2013, 22:48:45) \n[GCC 4.4.7 
20120313 (Red Hat 4.4.7-3)]'}

Tools and libraries available at test time:
    curses jinja2 pexpect pygments sqlite3 tornado zmq

Tools and libraries NOT available at test time:
    azure cython matplotlib numpy oct2py pymongo qt rpy2 sphinx wx wx.aui

Ran 12 test groups in 73.523s


With best regards,


BTW, what is the recommended zmq-version (2.x or 3.x) for Ipython 1.0.0?

More information about the IPython-User mailing list