Azure-sdk-for-python: Python 3.7.7 on Windows 10 x64 failing to install azure via pipenv

Created on 30 Mar 2020  路  4Comments  路  Source: Azure/azure-sdk-for-python

Problem

I am on a Windows 10 x64 VDI using Python 3.7.7 x64. I am attempting to install azure using pipenv. The command its following output are located in this Gist.

The command used.

C:\Users\dudleyp\Documents\Development\Azure
位  py -3.7 -m pipenv install --pre

The Pipfile.

[[source]]
name = "pypi"
url = "https://pypi.org/simple"
verify_ssl = true

[dev-packages]

[packages]
azure-cli = "*"
azure-devops = "*"
azure = "*"

[requires]
python_version = "3.7"

[pipenv]
allow_prereleases = true

It seems to be complaining about something to do with azure-batch not matching a version constraint.

Computer Information

C:\Users\dudleyp\Documents\Development\Azure
位  systeminfo.exe

Host Name:                 V1DUDLEYP
OS Name:                   Microsoft Windows 10 Enterprise
OS Version:                10.0.17134 N/A Build 17134
OS Manufacturer:           Microsoft Corporation
OS Configuration:          Member Workstation
Azure.Core Client

Most helpful comment

azure packages has been officially deprecated, the list of available packages can be found here:
https://aka.ms/azsdk/python/all

All 4 comments

Hi @predatorian3
The current recommendation is to not use azure meta-package, but to install individual packages as needed (like azure-mgmt-compute). May I ask you why you are trying to install azure (what documentation you read, what samples, etc.) so we can update that page.

Thank you!

lack of knowledge on my part and not knowing which client library I would need right now to do what I'm experimenting with.

azure packages has been officially deprecated, the list of available packages can be found here:
https://aka.ms/azsdk/python/all

There is a documentation part that needs to be updated here then unless the azure package is for --pre installs.

Was this page helpful?
0 / 5 - 0 ratings