0
votes

I'm trying to upload file to azure blob storage.

Installed library using following command

pip install azure-storage-blob

Project is unable to run because of following error

[ERROR] Runtime.ImportModuleError: Unable to import module 'app/handler': No module named 'cryptography.hazmat.bindings._padding'

Anyone can help to resolve this error. I'm following documentation from following link https://docs.microsoft.com/en-us/azure/storage/blobs/storage-quickstart-blobs-python

Using Python 3.7

1
Did you try pip install cryptography? - rdas
Yes its already there - Asfar Irshad

1 Answers

1
votes

It may be that you have an older version of cryptography, try:

pip install --upgrade cryptography

It may also be where your code is relative to the cryptography package. Can you code find the package?