Bug ID 1013248
Summary Missing dependencies for python-azure-sdk: msrest
Classification openSUSE
Product openSUSE Distribution
Version Leap 42.3
Hardware Other
OS Other
Status NEW
Severity Normal
Priority P5 - None
Component Other
Assignee bnc-team-screening@forge.provo.novell.com
Reporter kgronlund@suse.com
QA Contact qa-bugs@suse.de
Found By ---
Blocker ---

Trying to use openSUSE on Azure cloud, I get these errors from the Python API:

krig@node1:~> sudo python
Python 2.7.12 (default, Jul 01 2016, 15:34:22) [GCC] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from azure.common.credentials import UserPassCredentials
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python2.7/site-packages/azure/common/credentials.py", line 14,
in <module>
    raise ImportError("You need to install 'msrest' to use this feature")
ImportError: You need to install 'msrest' to use this feature
>>> from azure.mgmt.resource import ResourceManagementClient
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python2.7/site-packages/azure/mgmt/resource/__init__.py", line
1, in <module>
    ���from .features import FeatureClient
  File
"/usr/lib/python2.7/site-packages/azure/mgmt/resource/features/__init__.py",
line 12, in <module>
    from .feature_client import FeatureClient
  File
"/usr/lib/python2.7/site-packages/azure/mgmt/resource/features/feature_client.py",
line 12, in <module>
    from msrest.service_client import ServiceClient
ImportError: No module named msrest.service_client
>>> from azure.mgmt.storage import StorageManagementClient
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python2.7/site-packages/azure/mgmt/storage/__init__.py", line
12, in <module>
    from .storage_management_client import StorageManagementClient
  File
"/usr/lib/python2.7/site-packages/azure/mgmt/storage/storage_management_client.py",
line 12, in <module>
    from msrest.service_client import ServiceClient
ImportError: No module named msrest.service_client
>>> from azure.storage import CloudStorageAccount
>>> from azure.storage.blob.models import ContentSettings
>>> 

It seems the "msrest" module is missing from the python-azure-sdk package.


You are receiving this mail because: