我从Rackspace Documentation获得了以下代码。
import pyrax
pyrax.set_setting("identity_type", "rackspace")
pyrax.set_default_region('ORD')
pyrax.set_credentials('ot7336', '2755cd822321335191c8cc3ab46bbcff')
但是当我运行模块时,我收到以下错误消息
Traceback (most recent call last):
File "C:/Python27/rackspaceFileDownload.py", line 1, in <module>
import pyrax
ImportError: No module named pyrax
我已从此链接https://github.com/rackspace/pyrax/
下载了pyrax解压缩并使用&#34; setup.py install&#34;
将其安装在CMD的Windows中