[Python-modules-team] Bug#704678: ImportError: No module named _argparse

Mathew Topper damm_horse at yahoo.co.uk
Thu Apr 4 13:20:51 UTC 2013


Package: ipython
Version: 0.13.2~rc2-1
Severity: grave
Justification: renders package unusable

Dear Maintainer,

After attempting to start ipython after an update, I got the following traceback:

Traceback (most recent call last):
  File "/usr/bin/ipython", line 5, in <module>
    from IPython.frontend.terminal.ipapp import launch_new_instance
  File "/usr/lib/python2.7/dist-packages/IPython/__init__.py", line 43, in <module>
    from .config.loader import Config
  File "/usr/lib/python2.7/dist-packages/IPython/config/__init__.py", line 16, in <module>
    from .application import *
  File "/usr/lib/python2.7/dist-packages/IPython/config/application.py", line 31, in <module>
    from IPython.config.configurable import SingletonConfigurable
  File "/usr/lib/python2.7/dist-packages/IPython/config/configurable.py", line 26, in <module>
    from loader import Config
  File "/usr/lib/python2.7/dist-packages/IPython/config/loader.py", line 26, in <module>
    from IPython.external import argparse
  File "/usr/lib/python2.7/dist-packages/IPython/external/argparse/__init__.py", line 10, in <module>
    from _argparse import *
ImportError: No module named _argparse

I tried installing python-argparse, but it had no impact.

-- System Information:
Debian Release: 7.0
  APT prefers testing
  APT policy: (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages ipython depends on:
ii  python                2.7.3-4
ii  python-configobj      4.7.2+ds-4
ii  python-decorator      3.3.3-1
ii  python-pexpect        2.4-1
ii  python-simplegeneric  0.8.1-1

ipython recommends no packages.

Versions of packages ipython suggests:
ii  ipython-doc                  0.13.1-2
ii  ipython-notebook             0.13.2~rc2-1
ii  ipython-qtconsole            0.13.2~rc2-1
ii  python [python-profiler]     2.7.3-4
ii  python-argparse              1.2.1-2
pn  python-matplotlib            <none>
ii  python-numpy                 1:1.6.2-1.2
ii  python-zmq                   2.2.0-1
ii  python2.7 [python-argparse]  2.7.3-6

-- no debconf information
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/python-modules-team/attachments/20130404/88e01d1f/attachment.html>


More information about the Python-modules-team mailing list