Azure / azure-storage-python

Microsoft Azure Storage Library for Python
https://azure-storage.readthedocs.io
MIT License
338 stars 240 forks source link

Import errors with BlockBlobService #666

Closed kmair closed 4 years ago

kmair commented 4 years ago

Which service(blob, file, queue) does this issue concern?

Only the BlockBlobService importing issue. Rest are being correctly imported

Which version of the SDK was used? Please provide the output of pip freeze.

azure-core==1.6.0 azure-storage-blob==12.3.1

What problem was encountered?

On trying to run: from azure.storage.blob import BlockBlobService

Results in: ImportError: cannot import name 'BlockBlobService' from 'azure.storage.blob' (C:\Users..\azure\storage\blob__init__.py)

Have you found a mitigation/solution?

Can't solve the import error

xiafu-msft commented 4 years ago

Hi @kmair you are looking at a wrong repo. https://github.com/Azure/azure-sdk-for-python/tree/master/sdk/storage/azure-storage-blob is the correct repo

xiafu-msft commented 4 years ago

please refer to the wiki https://github.com/Azure/azure-storage-python/wiki#frequently-encountered-problem-no-module-named-azurestorageblob

I'll close this issue for now, if you still have the problem please feel free to reopen it!