Skip to content

Instantly share code, notes, and snippets.

@crooksey
Created September 20, 2017 13:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save crooksey/381f66eca2f68b5e24f73aa289168a00 to your computer and use it in GitHub Desktop.
Save crooksey/381f66eca2f68b5e24f73aa289168a00 to your computer and use it in GitHub Desktop.
Traceback (most recent call last):
File "/home/luke/virts/as2edi/bin/pserve", line 6, in <module>
from pkg_resources import load_entry_point
File "/home/luke/virts/as2edi/lib/python3.5/site-packages/pkg_resources/__init__.py", line 2927, in <module>
@_call_aside
File "/home/luke/virts/as2edi/lib/python3.5/site-packages/pkg_resources/__init__.py", line 2913, in _call_aside
f(*args, **kwargs)
File "/home/luke/virts/as2edi/lib/python3.5/site-packages/pkg_resources/__init__.py", line 2952, in _initialize_master_working_set
add_activation_listener(lambda dist: dist.activate())
File "/home/luke/virts/as2edi/lib/python3.5/site-packages/pkg_resources/__init__.py", line 956, in subscribe
callback(dist)
File "/home/luke/virts/as2edi/lib/python3.5/site-packages/pkg_resources/__init__.py", line 2952, in <lambda>
add_activation_listener(lambda dist: dist.activate())
File "/home/luke/virts/as2edi/lib/python3.5/site-packages/pkg_resources/__init__.py", line 2515, in activate
declare_namespace(pkg)
File "/home/luke/virts/as2edi/lib/python3.5/site-packages/pkg_resources/__init__.py", line 2097, in declare_namespace
_handle_ns(packageName, path_item)
File "/home/luke/virts/as2edi/lib/python3.5/site-packages/pkg_resources/__init__.py", line 2047, in _handle_ns
_rebuild_mod_path(path, packageName, module)
File "/home/luke/virts/as2edi/lib/python3.5/site-packages/pkg_resources/__init__.py", line 2066, in _rebuild_mod_path
orig_path.sort(key=position_in_sys_path)
AttributeError: '_NamespacePath' object has no attribute 'sort'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment