azure-sdk-for-python icon indicating copy to clipboard operation
azure-sdk-for-python copied to clipboard

Error while creating an Azure virtual machine

Open youssefbenfarhat opened this issue 4 years ago • 2 comments

I'm trying to create an Azure VM with Ansible and I'm getting this error.

TASK [VM CREATION] ****************************************************************************************************************************************** An exception occurred during task execution. To see the full traceback, use -vvv. The error was: ModuleNotFoundError: No module named 'azure.mgmt.network' fatal: [localhost]: FAILED! => {"changed": false, "msg": "Failed to import the required Python library (ansible[azure] (azure >= 2.0.0)) on vmi576440.contaboserver.net's Python /home/yf/miniconda3/envs/grafenv/bin/python3.9. Please read the module documentation and install it in the appropriate location. If the required library is installed, but Ansible is using the wrong Python interpreter, please consult the documentation on ansible_python_interpreter"}

youssefbenfarhat avatar Jul 14 '22 11:07 youssefbenfarhat

Thanks for reaching out.

Could you give more details about how you setup the environment?

xiangyan99 avatar Jul 14 '22 16:07 xiangyan99

Hi, we're sending this friendly reminder because we haven't heard back from you in a while. We need more information about this issue to help address it. Please be sure to give us your input within the next 7 days. If we don't hear back from you within 14 days of this comment the issue will be automatically closed. Thank you!

ghost avatar Jul 21 '22 20:07 ghost