小编mby*_*ama的帖子

从“azure.storage.blob”导入“BlobServiceClient”时出错

我有以下代码行:

from azure.storage.blob import BlobServiceClient
Run Code Online (Sandbox Code Playgroud)

我收到以下错误:

from azure.storage.blob import BlobServiceClient
ImportError: cannot import name 'BlobServiceClient' from 'azure.storage.blob' (/home/user-name/.local/lib/python3.7/site-packages/azure/storage/blob/__init__.py)
Run Code Online (Sandbox Code Playgroud)

我在 PythonAnywhere 和我的本地机器上都有这个错误。我正在关注这里的教程

我已经通读了 github 上的这篇文章,但无济于事。

有什么不见了?我试图实现的目标是当我有一个 URI 和一个共享密钥时访问容器中的 blob。

感谢任何帮助。

python azure azure-storage azure-storage-blobs azure-blob-storage

7
推荐指数
2
解决办法
2万
查看次数

在 Visual Studio 中使用 git-bash 作为集成终端

Git bash 可以很好地集成到 VS Code 中,但不能集成到 Visual Studio 中。在 VS Code 中,它在终端选项卡中打开,但在 Visual Studio (17.4.2) 中,它作为单独的窗口打开。有没有办法让 git bash 作为集成终端打开,就像 Developer Powershell 一样?

visual-studio git-bash

2
推荐指数
1
解决办法
1251
查看次数