In this Azure article, we will discuss the ways to install the Azure module in Python. But before that let’s quickly discuss a bit about Azure SDK for Python.
Table of Contents
What is Azure SDK for Python?
Azure SDK for Python is a set of libraries that helps to interact with Azure from Python. It also helps you with runtime and data needs. You can install the libraries using the pip install command.
There are different versions that are supported, those are 2.7.x, 3.4.x, 3.5.x, 3.6.x and 3.7.x, 3.8x, etc
You can check out Azure Python SDK for more information.
How Do I Install An Azure Module In Python?
If you want to install the latest version of Library, you can install using the below commands
pip install azure-storage-blob
You can also use the management libraries
pip install azure-mgmt-storage
You can also mention the specific version if you want to install any specific version, you can use the command below
pip install azure-storage-blob==version number
and the same way for the management script
pip install azure-mgmt-storage==version number
Now, If you want to cross-check if the installation has been done successfully or not, you can use the below command
pip show azure-storage-blob
And for the management script, you can use the below command
pip show azure-mgmt-storage
In this Azure article, we discussed how to install an Azure module in Python. Thanks for reading this article. Hope this information will help you.