Skip to content

OpenSuSe Tumbleweed 'cannot import name 'BlockBlobService' from 'azure.storage.blob' #12399

@Zaita

Description

@Zaita

This is autogenerated. Please review and update as needed.

Describe the bug

I'm using today's release of OpenSuSe Tumbleweed
run
$ az
Command not found
$ zypper install az
$ az login
Login successful
$ az webapp list
Errors out here....

Command Name
az webapp list

Errors:

cannot import name 'BlockBlobService' from 'azure.storage.blob' (/usr/lib/python3.7/site-packages/azure/storage/blob/__init__.py)
Traceback (most recent call last):
python3.7/site-packages/knack/cli.py, ln 206, in invoke
    cmd_result = self.invocation.execute(args)
cli/core/commands/__init__.py, ln 528, in execute
    self.commands_loader.load_arguments(command)
azure/cli/core/__init__.py, ln 299, in load_arguments
    self.command_table[command].load_arguments()  # this loads the arguments via reflection
cli/core/commands/__init__.py, ln 291, in load_arguments
    super(AzCliCommand, self).load_arguments()
...
<frozen importlib._bootstrap_external>, ln 728, in exec_module
<frozen importlib._bootstrap>, ln 219, in _call_with_frames_removed
cli/command_modules/appservice/custom.py, ln 39, in <module>
    from azure.storage.blob import BlockBlobService, BlobPermissions
ImportError: cannot import name 'BlockBlobService' from 'azure.storage.blob' (/usr/lib/python3.7/site-packages/azure/storage/blob/__init__.py)

To Reproduce:

Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

  • Put any pre-requisite steps here...
  • az webapp list

Expected Behavior

Environment Summary

Linux-5.5.6-1-default-x86_64-with-glibc2.2.5
Python 3.7.3

azure-cli 2.1.0

Additional Context

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions