Traceback (most recent call last):


 "/usr/bin/pip", line 11, in <module>

load_entry_point('pip==10.0.1', 'console_scripts', 'pip')()


 "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 476, in load_entry_point

return get_distribution(dist).load_entry_point(group, name)


 "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2700, in load_entry_point

return ep.load()


 "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2318, in load

return self.resolve()


 "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2324, in resolve

module = __import__(self.module_name, fromlist=['__name__'], level=0)


 "/usr/lib/python3.6/site-packages/pip/_internal/__init__.py", line 20, in <module>

from pip._vendor.urllib3.exceptions import DependencyWarning


 "/usr/lib/python3.6/site-packages/pip/_vendor/__init__.py", line 82, in <module>

vendored("requests.packages")


 "/usr/lib/python3.6/site-packages/pip/_vendor/__init__.py", line 33, in vendored

__import__(vendored_name, globals(), locals(), level=0)


 "/usr/lib/python3.6/site-packages/pip/_vendor/requests/packages.py", line 12, in <module>

sys.modules['pip._vendor.requests.packages.' + mod] = sys.modules["pip._vendor." + mod]
KeyError: 'pip._vendor.urllib3.util.queue'

Traceback (most recent call last):


 "<stdin>", line 1, in <module>
KeyError: 'source'
