Azure / Azure/azure-storage-python

Cannot import name 'RecoveryServicesBackupClient' from 'azure.mgmt.recoveryservicesbackup'

未关闭
#705 3 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Python
星标
343
派生
243
PR 合并指标
30 天内没有已合并 PR

描述

### Which service(blob, file, queue) does this issue concern?
Note: for package version >= 12.0.0 please post the issue here instead: https://github.com/Azure/azure-sdk-for-python/issues
for table service, please post the issue here instead: https://github.com/Azure/azure-cosmosdb-python.

`azure.mgmt.recoveryservicesbackup`

### Which version of the SDK was used? Please provide the output of `pip freeze`.
```
(venv) zachgleason@aerospike-1-0:~$ pip freeze
azure-common==1.1.28
azure-core==1.24.1
azure-mgmt-core==1.3.1
azure-mgmt-recoveryservicesbackup==4.0.0
certifi==2022.6.15
charset-normalizer==2.1.0
idna==3.3
isodate==0.6.1
msrest==0.7.1
oauthlib==3.2.0
requests==2.28.1
requests-oauthlib==1.3.1
six==1.16.0
typing_extensions==4.2.0
urllib3==1.26.9
```

### What problem was encountered?
```
(venv) zachgleason@aerospike-1-0:~$ python
Python 3.7.3 (default, Jan 22 2021, 20:04:44)
[GCC 8.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from azure.mgmt.recoveryservicesbackup import RecoveryServicesBackupClient
Traceback (most recent call last):
File "", line 1, in
ImportError: cannot import name 'RecoveryServicesBackupClient' from 'azure.mgmt.recoveryservicesbackup' (/home/zachgleason/venv/lib/python3.7/site-packages/azure/mgmt/recoveryservicesbackup/__init__.py)
```

### Have you found a mitigation/solution?

No

贡献指南

打开贡献指南

调研方向

使用 azure-mgmt-recoveryservicesbackup==4.0.0 在 Python REPL 中重现 import,并检查 traceback 中指出的 azure/mgmt/recoveryservicesbackup/__init__.py。将包导出的符号与文档记录的客户端入口点进行比较,并确定预期的行为或修正内容。

由索引模型根据 Issue 内容生成。

评估

技术栈
python
领域
api
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
25/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。