当我尝试通过其中的任何一个或通过从他们的站点下载包并运行来安装Python 的Cryptography包时,我收到以下错误:pip install cryptographypython setup.py
D:\Anaconda\Scripts\pip-script.py run on 02/27/14 16:13:17
Downloading/unpacking cryptography
Getting page https://pypi.python.org/simple/cryptography/
URLs to search for versions for cryptography:
* https://pypi.python.org/simple/cryptography/
Analyzing links from page https://pypi.python.org/simple/cryptography/
Skipping https://pypi.python.org/packages/cp26/c/cryptography/cryptography-0.2-cp26-none-win32.whl#md5=13e5c4b19520e7dc6f07c6502b3f74e2 (from https://pypi.python.org/simple/cryptography/) because it is not compatible with this Python
Skipping https://pypi.python.org/packages/cp26/c/cryptography/cryptography-0.2.1-cp26-none-win32.whl#md5=00e733648ee5cdb9e58876238b1328f8 (from https://pypi.python.org/simple/cryptography/) because it is not compatible with this Python
Skipping https://pypi.python.org/packages/cp27/c/cryptography/cryptography-0.2-cp27-none-win32.whl#md5=013ccafa6a5a3ea92c73f2c1c4879406 (from https://pypi.python.org/simple/cryptography/) because it is not compatible with this Python
Skipping https://pypi.python.org/packages/cp27/c/cryptography/cryptography-0.2.1-cp27-none-win32.whl#md5=127d6a5dc687250721f892d55720a06c (from https://pypi.python.org/simple/cryptography/) because it is not compatible …Run Code Online (Sandbox Code Playgroud) 我们可以导入azure.storage,但不能访问BlobService属性
文档说使用以下import语句:
from azure.storage import BlobService
Run Code Online (Sandbox Code Playgroud)
但是得到以下错误:
ImportError: cannot import name BlobService
Run Code Online (Sandbox Code Playgroud)
我们尝试了以下方法:
import azure.storage
...
foo = azure.storage.BlobService(...)
Run Code Online (Sandbox Code Playgroud)
但是收到了以下错误:
AttributeError: ‘module’ object has no attribute ‘BlobService’
Run Code Online (Sandbox Code Playgroud)
我们还用"azure.storage.blob"代替"azure.storage"尝试了上述所有内容
我们尝试更新azure-storage软件包,但它是最新的(版本0.30.0)
我们还尝试卸载azure-storage并安装整个azure包,但我们得到了相同的结果.我们尝试用pip和conda安装它们,但两次都是相同的结果.
我知道输出表明此版本的azure.storage没有BlobService属性,但文档明确指出要从那里导入.