msrest and msrestazure dependencies not installed

See original GitHub issue

Is it just me, or does this package not install dependencies?

  1. installed via pip3 install azure from azure.common.credentials import UserPassCredentials resulted in ImportError: No module named 'msrest'
  2. installed msrest via pip3 install msrest from azure.common.credentials import UserPassCredentials resulted in ImportError: No module named 'msrestazure'
  3. installed msrest azure via pip3 install msrestazure from azure.common.credentials import UserPassCredentials finally worked

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:38 (13 by maintainers)

github_iconTop GitHub Comments

4reactions
redicecommented, Aug 10, 2018

My solution is a workable way to solve No module named msrest.serialization issue. In OS X 10.13.6, run brew instabll ansible to install the latest ansbile package (my case is 2.6.2) Ansible 2.6.2 has its own python 2.7.15 in /usr/local/Cellar/ansible/2.6.2/libexec/bin directory

Need to use its pip script to install azure packages /usr/local/Cellar/ansible/2.6.2/libexec/bin/pip install azure to fix the azure dependences.

4reactions
scmdavidcommented, Feb 20, 2017

I am using Mac (10.12.3) and python 2.7.13 I manually run sudo pip install msrest (0.4.5) sudo pip install msrestazure (0.4.7) sudo pip install “azure==2.0.0rc5”

All succeed but I still got : fatal: [localhost]: FAILED! => {“changed”: false, “failed”: true, “msg”: “Do you have azure==2.0.0rc5 installed? Try pip install azure==2.0.0rc5- No module named msrest.serialization”}

Read more comments on GitHub >

github_iconTop Results From Across the Web

msrestazure - PyPI
Introduces ARMPolling implementation of Azure Resource Management LRO. Requires msrest 0.4.25 (new dependency). This is used by code generated with Autorest.
Read more >
Installing 'ansible[azure]' missing dependency 'msrest'
Problem was that from ansible version >= 2.9 collections where released and extras are being moved. If you don't want to use Galaxy...
Read more >
ModuleNotFoundError No module named msrest msrestazure
“msrest” is an Azure dependency required for this Ansible version. To install this dependency execute the below command.
Read more >
ms-rest-azure - npm
MS-Rest-Azure. Infrastructure for error handling, tracing, and http client pipeline configuration. Required by nodeJS Azure client libraries, ...
Read more >
Ms-rest-azure - npm.io
MS-Rest-Azure · How to Install · Usage · Authentication · Using the generic (authenticated) AzureServiceClient to make custom requests to Azure. · Related...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found