msrest and msrestazure dependencies not installed
See original GitHub issueIs it just me, or does this package not install dependencies?
- installed via
pip3 install azurefrom azure.common.credentials import UserPassCredentialsresulted inImportError: No module named 'msrest' - installed msrest via
pip3 install msrestfrom azure.common.credentials import UserPassCredentialsresulted inImportError: No module named 'msrestazure' - installed msrest azure via
pip3 install msrestazurefrom azure.common.credentials import UserPassCredentialsfinally worked
Issue Analytics
- State:
- Created 7 years ago
- Comments:38 (13 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
My solution is a workable way to solve No module named msrest.serialization issue. In OS X 10.13.6, run
brew instabll ansibleto 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 directoryNeed to use its pip script to install azure packages
/usr/local/Cellar/ansible/2.6.2/libexec/bin/pip install azureto fix the azure dependences.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”}