http://stackoverflow.com/questions/42184792/pip-does-not-work-after-
upgrade-to-ubuntu-16-10/42248012#42248012

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to python-setuptools in
Ubuntu.
https://bugs.launchpad.net/bugs/1664780

Title:
  all py3 programms throw same error after update

Status in python-setuptools package in Ubuntu:
  New

Bug description:
  Hi,

  I am on Ubuntu and I upgraded my pip3 packages and that broke my
  system. Now every p3 program does this:

      from pkg_resources import load_entry_point
    File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2976, 
in <module>
      @_call_aside
    File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2962, 
in _call_aside
      f(*args, **kwargs)
    File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 3004, 
in _initialize_master_working_set
      dist.activate(replace=False)
    File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2535, 
in activate
      declare_namespace(pkg)
    File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2109, 
in declare_namespace
      _handle_ns(packageName, path_item)
    File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2058, 
in _handle_ns
      _rebuild_mod_path(path, packageName, module)
    File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2078, 
in _rebuild_mod_path
      orig_path.sort(key=position_in_sys_path)
  AttributeError: '_NamespacePath' object has no attribute 'sort'

  I cleaned up and reinstalled all python3 related packages, what to do
  next?

  Thanks a lot.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-setuptools/+bug/1664780/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to