Traceback (most recent call last):


 "/usr/bin/virtualenv", line 5, in <module>

from virtualenv.__main__ import run_with_catch


 "/usr/lib/python2.7/site-packages/virtualenv/__init__.py", line 3, in <module>

from .run import cli_run


 "/usr/lib/python2.7/site-packages/virtualenv/run/__init__.py", line 12, in <module>

from .plugin.creators import CreatorSelector


 "/usr/lib/python2.7/site-packages/virtualenv/run/plugin/creators.py", line 6, in <module>

from virtualenv.create.via_global_ref.builtin.builtin_way import VirtualenvBuiltin


 "/usr/lib/python2.7/site-packages/virtualenv/create/via_global_ref/builtin/builtin_way.py", line 7, in <module>

from virtualenv.create.creator import Creator


 "/usr/lib/python2.7/site-packages/virtualenv/create/creator.py", line 14, in <module>

from virtualenv.discovery.cached_py_info import LogCmd


 "/usr/lib/python2.7/site-packages/virtualenv/discovery/cached_py_info.py", line 26, in <module>

_CACHE[Path(sys.executable)] = PythonInfo()


 "/usr/lib/python2.7/site-packages/virtualenv/discovery/py_info.py", line 82, in __init__

("makefile_filename", sysconfig.get_makefile_filename()),
AttributeError: 'module' object has no attribute 'get_makefile_filename'

Traceback (most recent call last):


 "/opt/az/lib/python3.6/site-packages/knack/cli.py", line 215, in invoke

cmd_result = self.invocation.execute(args)


 "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/__init__.py", line 654, in execute

raise ex


 "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/__init__.py", line 718, in _run_jobs_serially

results.append(self._run_job(expanded_arg, cmd_copy))


 "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/__init__.py", line 711, in _run_job

six.reraise(*sys.exc_info())


 "/opt/az/lib/python3.6/site-packages/six.py", line 703, in reraise

raise value


 "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/__init__.py", line 688, in _run_job

result = cmd_copy(params)


 "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/__init__.py", line 325, in __call__

return self.handler(*args, **kwargs)


 "/opt/az/lib/python3.6/site-packages/azure/cli/core/__init__.py", line 784, in default_command_handler

return op(**command_args)


 "/opt/az/lib/python3.6/site-packages/azure/cli/command_modules/profile/custom.py", line 75, in get_access_token

creds, subscription, tenant = profile.get_raw_token(subscription=subscription, resource=resource, tenant=tenant)


 "/opt/az/lib/python3.6/site-packages/azure/cli/core/_profile.py", line 644, in get_raw_token

creds = self._get_token_from_cloud_shell(resource)


 "/opt/az/lib/python3.6/site-packages/azure/cli/core/_profile.py", line 392, in _get_token_from_cloud_shell

auth = MSIAuthenticationWrapper(resource=resource)


 "/opt/az/lib/python3.6/site-packages/msrestazure/azure_active_directory.py", line 592, in __init__

self.set_token()


 "/opt/az/lib/python3.6/site-packages/azure/cli/core/adal_authentication.py", line 114, in set_token

.format(err.response.status, err.response.reason))
AttributeError: 'Response' object has no attribute 'status'
