Traceback (most recent call last):


 "/root/zulip/scripts/lib/create-production-venv", line 22, in <module>

cached_venv_path = setup_virtualenv(args.target, os.path.join(ZULIP_PATH, "requirements", "py2_prod.txt"))


 "/root/zulip/scripts/lib/setup_venv.py", line 70, in setup_virtualenv

do_setup_virtualenv(cached_venv_path, requirements_file, virtualenv_args or [])


 "/root/zulip/scripts/lib/setup_venv.py", line 97, in do_setup_virtualenv

run(["pip", "install", "--no-deps", "--requirement", requirements_file])


 "/root/zulip/scripts/lib/zulip_tools.py", line 93, in run

raise subprocess.CalledProcessError(rc, args) # type: ignore # https://github.com/python/typeshed/pull/329
subprocess.CalledProcessError: Command '['pip', 'install', '--no-deps', '--requirement', '/root/zulip/requirements/py2_prod.txt']' returned non-zero exit status 1

Traceback (most recent call last):


 "C:\Users\VSSADM~1\AppData\Local\Temp\pip-install-wl9gly17\knack\knack\cli.py", line 206, in invoke


 "C:\Users\VSSADM~1\AppData\Local\Temp\pip-install-wl9gly17\azure-cli-core\azure\cli\core\commands\__init__.py", line 566, in execute


 "C:\Users\VSSADM~1\AppData\Local\Temp\pip-install-wl9gly17\azure-cli-core\azure\cli\core\commands\__init__.py", line 624, in _run_jobs_serially


 "C:\Users\VSSADM~1\AppData\Local\Temp\pip-install-wl9gly17\azure-cli-core\azure\cli\core\commands\__init__.py", line 615, in _run_job


 "C:\Users\VSSADM~1\AppData\Local\Temp\pip-install-wl9gly17\azure-cli-role\azure\cli\command_modules\role\commands.py", line 69, in graph_err_handler


 "C:\Users\VSSADM~1\AppData\Local\Temp\pip-install-wl9gly17\azure-cli-core\azure\cli\core\commands\__init__.py", line 594, in _run_job


 "C:\Users\VSSADM~1\AppData\Local\Temp\pip-install-wl9gly17\azure-cli-core\azure\cli\core\commands\__init__.py", line 303, in __call__


 "C:\Users\VSSADM~1\AppData\Local\Temp\pip-install-wl9gly17\azure-cli-core\azure\cli\core\commands\arm.py", line 554, in handler


 "C:\Users\VSSADM~1\AppData\Local\Temp\pip-install-wl9gly17\azure-cli-core\azure\cli\core\commands\__init__.py", line 409, in cached_put


 "C:\Users\VSSADM~1\AppData\Local\Temp\pip-install-wl9gly17\azure-cli-core\azure\cli\core\commands\__init__.py", line 404, in _put_operation


 "C:\Users\VSSADM~1\AppData\Local\Temp\pip-install-wl9gly17\azure-cli-role\azure\cli\command_modules\role\custom.py", line 960, in patch_application


 "C:\Users\VSSADM~1\AppData\Local\Temp\pip-install-wl9gly17\azure-graphrbac\azure\graphrbac\operations\applications_operations.py", line 321, in patch


 "C:\Users\VSSADM~1\AppData\Local\Temp\pip-install-wl9gly17\msrest\msrest\serialization.py", line 574, in body


 "C:\Users\VSSADM~1\AppData\Local\Temp\pip-install-wl9gly17\msrest\msrest\exceptions.py", line 51, in raise_with_traceback


 "C:\Users\VSSADM~1\AppData\Local\Temp\pip-install-wl9gly17\msrest\msrest\serialization.py", line 571, in body


 "C:\Users\VSSADM~1\AppData\Local\Temp\pip-install-wl9gly17\msrest\msrest\serialization.py", line 1258, in _deserialize


 "C:\Users\VSSADM~1\AppData\Local\Temp\pip-install-wl9gly17\msrest\msrest\serialization.py", line 1267, in _deserialize


 "C:\Users\VSSADM~1\AppData\Local\Temp\pip-install-wl9gly17\msrest\msrest\serialization.py", line 1447, in deserialize_data


 "C:\Users\VSSADM~1\AppData\Local\Temp\pip-install-wl9gly17\msrest\msrest\serialization.py", line 1478, in deserialize_iter


 "C:\Users\VSSADM~1\AppData\Local\Temp\pip-install-wl9gly17\msrest\msrest\serialization.py", line 1478, in <listcomp>


 "C:\Users\VSSADM~1\AppData\Local\Temp\pip-install-wl9gly17\msrest\msrest\serialization.py", line 1460, in deserialize_data


 "C:\Users\VSSADM~1\AppData\Local\Temp\pip-install-wl9gly17\msrest\msrest\serialization.py", line 1298, in _deserialize


 "C:\Users\VSSADM~1\AppData\Local\Temp\pip-install-wl9gly17\msrest\msrest\exceptions.py", line 51, in raise_with_traceback


 "C:\Users\VSSADM~1\AppData\Local\Temp\pip-install-wl9gly17\msrest\msrest\serialization.py", line 1288, in _deserialize


 "C:\Users\VSSADM~1\AppData\Local\Temp\pip-install-wl9gly17\msrest\msrest\serialization.py", line 1078, in rest_key_case_insensitive_extractor


 "C:\Users\VSSADM~1\AppData\Local\Temp\pip-install-wl9gly17\msrest\msrest\serialization.py", line 1101, in attribute_key_case_insensitive_extractor
msrest.exceptions.SerializationError: Unable to build a model: Unable to deserialize to object: type, AttributeError: 'str' object has no attribute 'get', DeserializationError: Unable to deserialize to object: type, AttributeError: 'str' object has no attribute 'get'
