Traceback (most recent call last):


 "C:\Users\moyo.akala\AppData\Local\Continuum\Anaconda3\Scripts\pip-script.py", line 3, in <module>

import pip


 "C:\Users\moyo.akala\AppData\Local\Continuum\Anaconda3\lib\site-packages\pip\__init__.py", line 14, in <module>

from pip.utils import get_installed_distributions, get_prog


 "C:\Users\moyo.akala\AppData\Local\Continuum\Anaconda3\lib\site-packages\pip\utils\__init__.py", line 27, in <module>

from pip._vendor import pkg_resources


 "C:\Users\moyo.akala\AppData\Local\Continuum\Anaconda3\lib\site-packages\pip\_vendor\pkg_resources\__init__.py", line 2927, in <module>

@_call_aside


 "C:\Users\moyo.akala\AppData\Local\Continuum\Anaconda3\lib\site-packages\pip\_vendor\pkg_resources\__init__.py", line 2913, in _call_aside

f(*args, **kwargs)


 "C:\Users\moyo.akala\AppData\Local\Continuum\Anaconda3\lib\site-packages\pip\_vendor\pkg_resources\__init__.py", line 2952, in _initialize_master_working_set

add_activation_listener(lambda dist: dist.activate())


 "C:\Users\moyo.akala\AppData\Local\Continuum\Anaconda3\lib\site-packages\pip\_vendor\pkg_resources\__init__.py", line 956, in subscribe

callback(dist)


 "C:\Users\moyo.akala\AppData\Local\Continuum\Anaconda3\lib\site-packages\pip\_vendor\pkg_resources\__init__.py", line 2952, in <lambda>

add_activation_listener(lambda dist: dist.activate())


 "C:\Users\moyo.akala\AppData\Local\Continuum\Anaconda3\lib\site-packages\pip\_vendor\pkg_resources\__init__.py", line 2515, in activate

declare_namespace(pkg)


 "C:\Users\moyo.akala\AppData\Local\Continuum\Anaconda3\lib\site-packages\pip\_vendor\pkg_resources\__init__.py", line 2097, in declare_namespace

_handle_ns(packageName, path_item)


 "C:\Users\moyo.akala\AppData\Local\Continuum\Anaconda3\lib\site-packages\pip\_vendor\pkg_resources\__init__.py", line 2047, in _handle_ns

_rebuild_mod_path(path, packageName, module)


 "C:\Users\moyo.akala\AppData\Local\Continuum\Anaconda3\lib\site-packages\pip\_vendor\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'

Traceback (most recent call last):


 "/Users/shayneboyer/az-cli-bash/lib/python2.7/site-packages/azure/cli/main.py", line 36, in main

cmd_result = APPLICATION.execute(args)


 "/Users/shayneboyer/az-cli-bash/lib/python2.7/site-packages/azure/cli/core/application.py", line 201, in execute

result = expanded_arg.func(params)


 "/Users/shayneboyer/az-cli-bash/lib/python2.7/site-packages/azure/cli/core/commands/__init__.py", line 403, in _execute_command

raise ex
AttributeError: 'function' object has no attribute 'replace'
