azure-testing
azure-testing copied to clipboard
Error: Do you have azure>=2.0.0 installed?
I am getting below error when I run ansible playbook:
Do you have azure>=2.0.0 installed? Try
pip install 'azure>=2.0.0' --upgrade- No module named containerservice
Ansible version:
ansible 2.4.0.0 config file = /var/www/Ansible/ansible.cfg configured module search path = [u'/home/vagrant/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python2.7/dist-packages/ansible executable location = /usr/local/bin/ansible python version = 2.7.12 (default, Jul 18 2016, 15:02:52) [GCC 4.8.4]
Azure:
Name: azure Version: 2.0.0rc5 Summary: Microsoft Azure Client Libraries for Python Home-page: https://github.com/Azure/azure-sdk-for-python Author: Microsoft Corporation Author-email: [email protected] License: MIT License Location: /usr/local/lib/python2.7/dist-packages Requires: azure-servicemanagement-legacy, azure-batch, azure-servicebus, azure-mgmt, azure-storage, azure-graphrbac
I tried to install this: pip install azure-mgmt-containerservice But, now below error is coming:
Installed resource client version is 0.30.0rc5. The supported version is 1.1.0. Try
pip install azure>=2.0.0 --upgrade
do you have a solution ? @rnkhouse
no @flemzord
try sudo easy_install ansible[azure]
total steps for me were:
sudo easy_install pip
sudo pip install ansible
sudo pip install packaging
sudo easy_install msrestazure
sudo easy_install ansible[azure]