[Python-modules-team] Bug#856190: ipython: Unable to run due OSError: [Errno 13] Permission denied: /usr/local/lib/python2.7/dist-packages/wheel-0.29.0.dist-info

xiscu xiscu at email.de
Sun Feb 26 11:30:11 UTC 2017


Package: ipython
Version: 5.1.0-3
Severity: important

Dear Maintainer,
i'm unable to run ipython from the commandline due:

~$ ipython
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib/python2.7/dist-packages/IPython/__init__.py", line 49, in <module>
    from .terminal.embed import embed
  File "/usr/lib/python2.7/dist-packages/IPython/terminal/embed.py", line 17, in <module>
    from IPython.terminal.interactiveshell import TerminalInteractiveShell
  File "/usr/lib/python2.7/dist-packages/IPython/terminal/interactiveshell.py", line 92, in <module>
    class TerminalInteractiveShell(InteractiveShell):
  File "/usr/lib/python2.7/dist-packages/IPython/terminal/interactiveshell.py", line 136, in TerminalInter
activeShell
    help="The name of a Pygments style to use for syntax highlighting: \n %s" % ', '.join(get_all_styles()
)
  File "/usr/lib/python2.7/dist-packages/pygments/styles/__init__.py", line 79, in get_all_styles
    for name, _ in find_plugin_styles():
  File "/usr/lib/python2.7/dist-packages/pygments/plugin.py", line 62, in find_plugin_styles
    for entrypoint in iter_entry_points(STYLE_ENTRY_POINT):
  File "/usr/lib/python2.7/dist-packages/pygments/plugin.py", line 45, in iter_entry_points
    import pkg_resources
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 3019, in <module>
    @_call_aside
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 3003, in _call_aside
    f(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 3032, in _initialize_master_work
ing_set
    working_set = WorkingSet._build_master()
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 646, in _build_master
    ws = cls()
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 639, in __init__
    self.add_entry(entry)
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 695, in add_entry
    for dist in find_distributions(entry, True):
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2012, in find_on_path
    if len(os.listdir(fullpath)) == 0:
OSError: [Errno 13] Permission denied: '/usr/local/lib/python2.7/dist-packages/wheel-0.29.0.dist-info'


Thanks in advance,
xiscu


-- System Information:
Debian Release: 9.0
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages ipython depends on:
ii  python-ipython  5.1.0-3

ipython recommends no packages.

ipython suggests no packages.

-- no debconf information



More information about the Python-modules-team mailing list