question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unable to install azure-storage-blob dependencies via setup.py

See original GitHub issue

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

>>> from azure.storage.blob import BlockBlobService
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named storage.blob

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

azure-common==1.1.14
azure-nspkg==2.0.0
azure-storage-blob==1.3.1
azure-storage-common==1.3.0
azure-storage-nspkg==3.0.0

What problem was encountered?

Unable to install the whole dependency tree via classic setup.py in install_requires

Have you found a mitigation/solution?

Using pip install azure-storage-blob==1.3.1 it works well but in our CI process we try to have all dependency in our setup.py

I tried to add what seems to be the additional dependencies while pip freeze after manual pip install but this does not work either. FYI, i added

    'azure-common==1.1.14',
    'azure-nspkg==2.0.0',
    'azure-storage-blob==1.3.1',
    'azure-storage-common==1.3.0',
    'azure-storage-nspkg==3.0.0',

Is there something i need to add in the setup.py to make it work ?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

6reactions
zezha-msftcommented, Sep 5, 2018

Hi @SamuelRamond, thanks for reaching out!

I was able to reproduce this issue by doing python azure-storage-blob/setup.py install. I’ll look into how to fix this. Thanks!

0reactions
zezha-msftcommented, Nov 10, 2018

Fixed in 1.4.0.

Read more comments on GitHub >

github_iconTop Results From Across the Web

No module named azure.storage.blob (when doing syncdb)
Failed to install Python Cryptography package with PIP and setup.py ... file where I was using the statement from azure.storage.blob import ...
Read more >
Azure Storage Blobs client library for Python
Install the Azure Storage Blobs client library for Python with pip: ... You can find the storage account's blob service URL using the...
Read more >
How to install Azure SDK library packages for Python
How to install, uninstall, and verify Azure SDK or Python libraries using pip and conda. Includes details on installing specific versions ...
Read more >
Installation — Bob 0.22.0rc2.dev6+g335299b documentation
Apart from the Python dependencies additional run time dependencies could arise, ... Either install via pip ( python3 -m pip install azure-storage-blob )...
Read more >
Azure Storage Blob client library for JavaScript
Start using @azure/storage-blob in your project by running `npm i ... The preferred way to install the Azure Storage Blob client library for ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found