Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The Azure SDK for Python is composed of many individual libraries that you can install in standard Python or conda environments.
You can find libraries for standard Python environments in the package index.
You can find packages for conda environments in the Microsoft channel on anaconda.org. Azure packages have names that begin with azure-.
By using these Azure libraries, you can create and manage resources on Azure services (by using the management libraries, whose package names begin with azure-mgmt) and connect with those resources from app code (by using the client libraries, whose package names begin with just azure-).
Install the latest version of a package
pip install <package>
pip install gets the latest version of a package in your current Python environment.
On Linux systems, you must install a package separately for each user. Don't use sudo pip install to install packages for all users, as it's unsupported.
Use any package name listed in the package index. On the index page, look in the Name column for the functionality you need, and then find and select the PyPI link in the Package column.
Install specific package versions
Specify the version you want on the command line by using pip install.
pip install <package>==<version>
You can find version numbers in the package index. On the index page, look in the Name column for the functionality you need, and then find and select the PyPI link in the Package column. For example, to install a version of the azure-storage-blob package, use: pip install azure-storage-blob==12.19.0.
Install preview packages
To install the latest preview of a package, include the --pre flag on the command line.
pip install --pre <package>
Microsoft periodically releases preview packages that support upcoming features. Preview packages come with the caveat that the package is subject to change and must not be used in production projects.
You can use any package name listed in the package index.
Verify a package installation
To verify a package installation, run the following command:
pip show <package>
If the package is installed, pip show displays version and other summary information. Otherwise, the command displays nothing.
You can also use pip freeze or pip list to see all the packages that are installed in your current Python environment.
You can use any package name listed in the package index.
Uninstall a package
To uninstall a package:
pip uninstall <package>
You can use any package name listed in the package index.