
Traceback (most recent call last):


 "<string>", line 1, in <module>


 "/tmp/pip-install-YY00za/bson/setup.py", line 8, in <module>

from pip import get_installed_distributions

ImportError: cannot import name get_installed_distributions

Traceback (most recent call last):


 "/usr/local/bin/pip", line 7, in <module>

from pip._internal import main


 "/usr/local/lib/python2.7/dist-packages/pip/_internal/__init__.py", line 40, in <module>

from pip._internal.cli.autocompletion import autocomplete


 "/usr/local/lib/python2.7/dist-packages/pip/_internal/cli/autocompletion.py", line 8, in <module>

from pip._internal.cli.main_parser import create_main_parser


 "/usr/local/lib/python2.7/dist-packages/pip/_internal/cli/main_parser.py", line 12, in <module>

from pip._internal.commands import (


 "/usr/local/lib/python2.7/dist-packages/pip/_internal/commands/__init__.py", line 6, in <module>

from pip._internal.commands.completion import CompletionCommand


 "/usr/local/lib/python2.7/dist-packages/pip/_internal/commands/completion.py", line 6, in <module>

from pip._internal.cli.base_command import Command


 "/usr/local/lib/python2.7/dist-packages/pip/_internal/cli/base_command.py", line 25, in <module>

from pip._internal.index import PackageFinder


 "/usr/local/lib/python2.7/dist-packages/pip/_internal/index.py", line 39, in <module>

from pip._internal.utils.packaging import check_requires_python


 "/usr/local/lib/python2.7/dist-packages/pip/_internal/utils/packaging.py", line 10, in <module>

from pip._internal import exceptions
ImportError: cannot import name exceptions
