You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
DEBUG: Command arguments: ['extension', 'add', '--source', 'https://github.com/Azure/azure-batch-cli-extensions/releases/download/azure-batch-cli-extensions-2.1.0/azure_batch_cli_extensions-2.1.0-py2.py3-none-any.whl', '--debug', '-y']
DEBUG: Event: Cli.PreExecute []
DEBUG: Event: CommandParser.OnGlobalArgumentsCreate [<function CLILogging.on_global_arguments at 0x7fa5f68e5b70>, <function OutputProducer.on_global_arguments at 0x7fa5f640a840>, <function CLIQuery.on_global_arguments at 0x7fa5f5fa6378>]
DEBUG: Event: CommandInvoker.OnPreCommandTableCreate [<function CLILogging.remove_logger_flags at 0x7fa5f68e5bf8>]
DEBUG: Installed command modules ['acr', 'acs', 'advisor', 'appservice', 'backup', 'batch', 'batchai', 'billing', 'cdn', 'cloud', 'cognitiveservices', 'configure', 'consumption', 'container', 'cosmosdb', 'dla', 'dls', 'eventgrid', 'eventhubs', 'extension', 'feedback', 'find', 'interactive', 'iot', 'keyvault', 'lab', 'monitor', 'network', 'profile', 'rdbms', 'redis', 'reservations', 'resource', 'role', 'servicebus', 'servicefabric', 'sql', 'storage', 'vm']
DEBUG: Loaded module 'acr' in 0.002 seconds.
DEBUG: Loaded module 'acs' in 0.002 seconds.
DEBUG: Loaded module 'advisor' in 0.001 seconds.
DEBUG: Loaded module 'appservice' in 0.003 seconds.
DEBUG: Loaded module 'backup' in 0.003 seconds.
DEBUG: Event: CommandLoader.OnLoadCommandTable []
DEBUG: Loaded module 'batch' in 0.006 seconds.
DEBUG: Loaded module 'batchai' in 0.002 seconds.
DEBUG: Loaded module 'billing' in 0.001 seconds.
DEBUG: Event: CommandLoader.OnLoadCommandTable []
DEBUG: Loaded module 'cdn' in 0.002 seconds.
DEBUG: Loaded module 'cloud' in 0.001 seconds.
DEBUG: Loaded module 'cognitiveservices' in 0.001 seconds.
DEBUG: Loaded module 'configure' in 0.001 seconds.
DEBUG: Loaded module 'consumption' in 0.001 seconds.
DEBUG: Loaded module 'container' in 0.001 seconds.
DEBUG: Loaded module 'cosmosdb' in 0.003 seconds.
DEBUG: Loaded module 'dla' in 0.003 seconds.
DEBUG: Loaded module 'dls' in 0.002 seconds.
DEBUG: Loaded module 'eventgrid' in 0.001 seconds.
DEBUG: Loaded module 'eventhubs' in 0.002 seconds.
DEBUG: Loaded module 'extension' in 0.001 seconds.
DEBUG: Loaded module 'feedback' in 0.001 seconds.
DEBUG: Loaded module 'find' in 0.001 seconds.
DEBUG: Loaded module 'interactive' in 0.000 seconds.
DEBUG: Loaded module 'iot' in 0.003 seconds.
DEBUG: Loaded module 'keyvault' in 0.003 seconds.
DEBUG: Loaded module 'lab' in 0.002 seconds.
DEBUG: Loaded module 'monitor' in 0.003 seconds.
DEBUG: Loaded module 'network' in 0.014 seconds.
DEBUG: Loaded module 'profile' in 0.002 seconds.
DEBUG: Loaded module 'rdbms' in 0.003 seconds.
DEBUG: Loaded module 'redis' in 0.001 seconds.
DEBUG: Loaded module 'reservations' in 0.001 seconds.
DEBUG: Loaded module 'resource' in 0.003 seconds.
DEBUG: Loaded module 'role' in 0.002 seconds.
DEBUG: Loaded module 'servicebus' in 0.003 seconds.
DEBUG: Loaded module 'servicefabric' in 0.001 seconds.
DEBUG: Loaded module 'sql' in 0.003 seconds.
DEBUG: Event: CommandLoader.OnLoadCommandTable []
DEBUG: Loaded module 'storage' in 0.025 seconds.
DEBUG: Loaded module 'vm' in 0.009 seconds.
DEBUG: Loaded all modules in 0.119 seconds. (note: there's always an overhead with the first module loaded)
DEBUG: Extensions directory: '/home/ceitestuser/.azure/cliextensions'
DEBUG: Event: CommandInvoker.OnPreCommandTableTruncate []
DEBUG: Event: CommandInvoker.OnPostCommandTableCreate [<function add_id_parameters at 0x7fa5f3d4f0d0>]
DEBUG: Event: CommandInvoker.OnCommandTableLoaded []
DEBUG: Event: CommandInvoker.OnPreParseArgs [<function _documentdb_deprecate at 0x7fa5f3b88488>]
DEBUG: Event: CommandInvoker.OnPostParseArgs [<function OutputProducer.handle_output_argument at 0x7fa5f640a8c8>, <function CLIQuery.handle_query_parameter at 0x7fa5f5fa6400>, <function handler at 0x7fa5f3aba9d8>]
DEBUG: Extension source is url? True
DEBUG: Extensions directory: '/home/ceitestuser/.azure/cliextensions'
DEBUG: Downloading https://github.com/Azure/azure-batch-cli-extensions/releases/download/azure-batch-cli-extensions-2.1.0/azure_batch_cli_extensions-2.1.0-py2.py3-none-any.whl to /tmp/tmp_t4vvl26/azure_batch_cli_extensions-2.1.0-py2.py3-none-any.whl
DEBUG: urllib3.connectionpool : Starting new HTTPS connection (1): github.com
DEBUG: urllib3.connectionpool : https://github.com:443 "GET /Azure/azure-batch-cli-extensions/releases/download/azure-batch-cli-extensions-2.1.0/azure_batch_cli_extensions-2.1.0-py2.py3-none-any.whl HTTP/1.1" 302 None
DEBUG: urllib3.connectionpool : Starting new HTTPS connection (1): github-production-release-asset-2e65be.s3.amazonaws.com
DEBUG: urllib3.connectionpool : https://github-production-release-asset-2e65be.s3.amazonaws.com:443 "GET /83587333/4fd5e3aa-f61c-11e7-88b7-b32a3d567e7a?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20180406%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20180406T200406Z&X-Amz-Expires=300&X-Amz-Signature=61a57429c6679b4b10a328659385c7c9695c92cb352f48d758c83d1ce1484c6e&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Dazure_batch_cli_extensions-2.1.0-py2.py3-none-any.whl&response-content-type=application%2Foctet-stream HTTP/1.1" 200 12300
DEBUG: Downloaded to /tmp/tmp_t4vvl26/azure_batch_cli_extensions-2.1.0-py2.py3-none-any.whl
DEBUG: Validating the extension /tmp/tmp_t4vvl26/azure_batch_cli_extensions-2.1.0-py2.py3-none-any.whl
DEBUG: Extension compatibility result: is_compatible=True cli_core_version=2.0.30 min_required=2.0.24 max_required=2.1.0
DEBUG: Validation successful on /tmp/tmp_t4vvl26/azure_batch_cli_extensions-2.1.0-py2.py3-none-any.whl
DEBUG: Linux distro check: Reading from: /etc/apt/sources.list.d/azure-cli.list
DEBUG: Linux distro check: Found in list file: xenial
DEBUG: Linux distro check: Reported by API: xenial
DEBUG: Executing pip with args: ['install', '--target', '/home/ceitestuser/.azure/cliextensions/azure-batch-cli-extensions', '/tmp/tmp_t4vvl26/azure_batch_cli_extensions-2.1.0-py2.py3-none-any.whl']
DEBUG: Running: ['/opt/az/bin/python3', '-m', 'pip', 'install', '--target', '/home/ceitestuser/.azure/cliextensions/azure-batch-cli-extensions', '/tmp/tmp_t4vvl26/azure_batch_cli_extensions-2.1.0-py2.py3-none-any.whl', '-vv', '--disable-pip-version-check', '--no-cache-dir']
DEBUG: Traceback (most recent call last):
File "/opt/az/lib/python3.6/runpy.py", line 183, in _run_module_as_main
mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
File "/opt/az/lib/python3.6/runpy.py", line 142, in _get_module_details
return _get_module_details(pkg_main_name, error)
File "/opt/az/lib/python3.6/runpy.py", line 109, in _get_module_details import(pkg_name)
File "/opt/az/lib/python3.6/site-packages/pip/init.py", line 28, in
from pip.vcs import git, mercurial, subversion, bazaar # noqa
File "/opt/az/lib/python3.6/site-packages/pip/vcs/mercurial.py", line 9, in
from pip.download import path_to_url
File "/opt/az/lib/python3.6/site-packages/pip/download.py", line 36, in
from pip.utils.glibc import libc_ver
File "/opt/az/lib/python3.6/site-packages/pip/utils/glibc.py", line 4, in
import ctypes
File "/opt/az/lib/python3.6/ctypes/init.py", line 7, in
from _ctypes import Union, Structure, Array
ImportError: libffi.so.5: cannot open shared object file: No such file or directory
DEBUG: Command '['/opt/az/bin/python3', '-m', 'pip', 'install', '--target', '/home/ceitestuser/.azure/cliextensions/azure-batch-cli-extensions', '/tmp/tmp_t4vvl26/azure_batch_cli_extensions-2.1.0-py2.py3-none-any.whl', '-vv', '--disable-pip-version-check', '--no-cache-dir']' returned non-zero exit status 1.
DEBUG: Pip failed so deleting anything we might have installed at /home/ceitestuser/.azure/cliextensions/azure-batch-cli-extensions
ERROR: An error occurred. Pip failed with status code 1. Use --debug for more information.
Ran on a linux data science vm on Azure.
Am I missing some development headers or something?
The text was updated successfully, but these errors were encountered:
@djm158 Thank you for the feedback! It looks like a similar issue occurred for other extensions as well. A proposed solution can be found at MicrosoftDocs/azure-docs#6606 . Please let me know if this helps with your issue.
az extension add --source https://github.com/Azure/azure-batch-cli-extensions/releases/download/azure-batch-cli-extensions-2.1.0/azure_batch_cli_extensions-2.1.0-py2.py3-none-any.whl -y --debug
DEBUG: Command arguments: ['extension', 'add', '--source', 'https://github.com/Azure/azure-batch-cli-extensions/releases/download/azure-batch-cli-extensions-2.1.0/azure_batch_cli_extensions-2.1.0-py2.py3-none-any.whl', '--debug', '-y']
DEBUG: Event: Cli.PreExecute []
DEBUG: Event: CommandParser.OnGlobalArgumentsCreate [<function CLILogging.on_global_arguments at 0x7fa5f68e5b70>, <function OutputProducer.on_global_arguments at 0x7fa5f640a840>, <function CLIQuery.on_global_arguments at 0x7fa5f5fa6378>]
DEBUG: Event: CommandInvoker.OnPreCommandTableCreate [<function CLILogging.remove_logger_flags at 0x7fa5f68e5bf8>]
DEBUG: Installed command modules ['acr', 'acs', 'advisor', 'appservice', 'backup', 'batch', 'batchai', 'billing', 'cdn', 'cloud', 'cognitiveservices', 'configure', 'consumption', 'container', 'cosmosdb', 'dla', 'dls', 'eventgrid', 'eventhubs', 'extension', 'feedback', 'find', 'interactive', 'iot', 'keyvault', 'lab', 'monitor', 'network', 'profile', 'rdbms', 'redis', 'reservations', 'resource', 'role', 'servicebus', 'servicefabric', 'sql', 'storage', 'vm']
DEBUG: Loaded module 'acr' in 0.002 seconds.
DEBUG: Loaded module 'acs' in 0.002 seconds.
DEBUG: Loaded module 'advisor' in 0.001 seconds.
DEBUG: Loaded module 'appservice' in 0.003 seconds.
DEBUG: Loaded module 'backup' in 0.003 seconds.
DEBUG: Event: CommandLoader.OnLoadCommandTable []
DEBUG: Loaded module 'batch' in 0.006 seconds.
DEBUG: Loaded module 'batchai' in 0.002 seconds.
DEBUG: Loaded module 'billing' in 0.001 seconds.
DEBUG: Event: CommandLoader.OnLoadCommandTable []
DEBUG: Loaded module 'cdn' in 0.002 seconds.
DEBUG: Loaded module 'cloud' in 0.001 seconds.
DEBUG: Loaded module 'cognitiveservices' in 0.001 seconds.
DEBUG: Loaded module 'configure' in 0.001 seconds.
DEBUG: Loaded module 'consumption' in 0.001 seconds.
DEBUG: Loaded module 'container' in 0.001 seconds.
DEBUG: Loaded module 'cosmosdb' in 0.003 seconds.
DEBUG: Loaded module 'dla' in 0.003 seconds.
DEBUG: Loaded module 'dls' in 0.002 seconds.
DEBUG: Loaded module 'eventgrid' in 0.001 seconds.
DEBUG: Loaded module 'eventhubs' in 0.002 seconds.
DEBUG: Loaded module 'extension' in 0.001 seconds.
DEBUG: Loaded module 'feedback' in 0.001 seconds.
DEBUG: Loaded module 'find' in 0.001 seconds.
DEBUG: Loaded module 'interactive' in 0.000 seconds.
DEBUG: Loaded module 'iot' in 0.003 seconds.
DEBUG: Loaded module 'keyvault' in 0.003 seconds.
DEBUG: Loaded module 'lab' in 0.002 seconds.
DEBUG: Loaded module 'monitor' in 0.003 seconds.
DEBUG: Loaded module 'network' in 0.014 seconds.
DEBUG: Loaded module 'profile' in 0.002 seconds.
DEBUG: Loaded module 'rdbms' in 0.003 seconds.
DEBUG: Loaded module 'redis' in 0.001 seconds.
DEBUG: Loaded module 'reservations' in 0.001 seconds.
DEBUG: Loaded module 'resource' in 0.003 seconds.
DEBUG: Loaded module 'role' in 0.002 seconds.
DEBUG: Loaded module 'servicebus' in 0.003 seconds.
DEBUG: Loaded module 'servicefabric' in 0.001 seconds.
DEBUG: Loaded module 'sql' in 0.003 seconds.
DEBUG: Event: CommandLoader.OnLoadCommandTable []
DEBUG: Loaded module 'storage' in 0.025 seconds.
DEBUG: Loaded module 'vm' in 0.009 seconds.
DEBUG: Loaded all modules in 0.119 seconds. (note: there's always an overhead with the first module loaded)
DEBUG: Extensions directory: '/home/ceitestuser/.azure/cliextensions'
DEBUG: Event: CommandInvoker.OnPreCommandTableTruncate []
DEBUG: Event: CommandInvoker.OnPostCommandTableCreate [<function add_id_parameters at 0x7fa5f3d4f0d0>]
DEBUG: Event: CommandInvoker.OnCommandTableLoaded []
DEBUG: Event: CommandInvoker.OnPreParseArgs [<function _documentdb_deprecate at 0x7fa5f3b88488>]
DEBUG: Event: CommandInvoker.OnPostParseArgs [<function OutputProducer.handle_output_argument at 0x7fa5f640a8c8>, <function CLIQuery.handle_query_parameter at 0x7fa5f5fa6400>, <function handler at 0x7fa5f3aba9d8>]
DEBUG: Extension source is url? True
DEBUG: Extensions directory: '/home/ceitestuser/.azure/cliextensions'
DEBUG: Downloading https://github.com/Azure/azure-batch-cli-extensions/releases/download/azure-batch-cli-extensions-2.1.0/azure_batch_cli_extensions-2.1.0-py2.py3-none-any.whl to /tmp/tmp_t4vvl26/azure_batch_cli_extensions-2.1.0-py2.py3-none-any.whl
DEBUG: urllib3.connectionpool : Starting new HTTPS connection (1): github.com
DEBUG: urllib3.connectionpool : https://github.com:443 "GET /Azure/azure-batch-cli-extensions/releases/download/azure-batch-cli-extensions-2.1.0/azure_batch_cli_extensions-2.1.0-py2.py3-none-any.whl HTTP/1.1" 302 None
DEBUG: urllib3.connectionpool : Starting new HTTPS connection (1): github-production-release-asset-2e65be.s3.amazonaws.com
DEBUG: urllib3.connectionpool : https://github-production-release-asset-2e65be.s3.amazonaws.com:443 "GET /83587333/4fd5e3aa-f61c-11e7-88b7-b32a3d567e7a?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20180406%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20180406T200406Z&X-Amz-Expires=300&X-Amz-Signature=61a57429c6679b4b10a328659385c7c9695c92cb352f48d758c83d1ce1484c6e&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Dazure_batch_cli_extensions-2.1.0-py2.py3-none-any.whl&response-content-type=application%2Foctet-stream HTTP/1.1" 200 12300
DEBUG: Downloaded to /tmp/tmp_t4vvl26/azure_batch_cli_extensions-2.1.0-py2.py3-none-any.whl
DEBUG: Validating the extension /tmp/tmp_t4vvl26/azure_batch_cli_extensions-2.1.0-py2.py3-none-any.whl
DEBUG: Extension compatibility result: is_compatible=True cli_core_version=2.0.30 min_required=2.0.24 max_required=2.1.0
DEBUG: Validation successful on /tmp/tmp_t4vvl26/azure_batch_cli_extensions-2.1.0-py2.py3-none-any.whl
DEBUG: Linux distro check: Reading from: /etc/apt/sources.list.d/azure-cli.list
DEBUG: Linux distro check: Found in list file: xenial
DEBUG: Linux distro check: Reported by API: xenial
DEBUG: Executing pip with args: ['install', '--target', '/home/ceitestuser/.azure/cliextensions/azure-batch-cli-extensions', '/tmp/tmp_t4vvl26/azure_batch_cli_extensions-2.1.0-py2.py3-none-any.whl']
DEBUG: Running: ['/opt/az/bin/python3', '-m', 'pip', 'install', '--target', '/home/ceitestuser/.azure/cliextensions/azure-batch-cli-extensions', '/tmp/tmp_t4vvl26/azure_batch_cli_extensions-2.1.0-py2.py3-none-any.whl', '-vv', '--disable-pip-version-check', '--no-cache-dir']
DEBUG: Traceback (most recent call last):
File "/opt/az/lib/python3.6/runpy.py", line 183, in _run_module_as_main
mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
File "/opt/az/lib/python3.6/runpy.py", line 142, in _get_module_details
return _get_module_details(pkg_main_name, error)
File "/opt/az/lib/python3.6/runpy.py", line 109, in _get_module_details
import(pkg_name)
File "/opt/az/lib/python3.6/site-packages/pip/init.py", line 28, in
from pip.vcs import git, mercurial, subversion, bazaar # noqa
File "/opt/az/lib/python3.6/site-packages/pip/vcs/mercurial.py", line 9, in
from pip.download import path_to_url
File "/opt/az/lib/python3.6/site-packages/pip/download.py", line 36, in
from pip.utils.glibc import libc_ver
File "/opt/az/lib/python3.6/site-packages/pip/utils/glibc.py", line 4, in
import ctypes
File "/opt/az/lib/python3.6/ctypes/init.py", line 7, in
from _ctypes import Union, Structure, Array
ImportError: libffi.so.5: cannot open shared object file: No such file or directory
DEBUG: Command '['/opt/az/bin/python3', '-m', 'pip', 'install', '--target', '/home/ceitestuser/.azure/cliextensions/azure-batch-cli-extensions', '/tmp/tmp_t4vvl26/azure_batch_cli_extensions-2.1.0-py2.py3-none-any.whl', '-vv', '--disable-pip-version-check', '--no-cache-dir']' returned non-zero exit status 1.
DEBUG: Pip failed so deleting anything we might have installed at /home/ceitestuser/.azure/cliextensions/azure-batch-cli-extensions
ERROR: An error occurred. Pip failed with status code 1. Use --debug for more information.
Ran on a linux data science vm on Azure.
Am I missing some development headers or something?
The text was updated successfully, but these errors were encountered: