Python 程序报错: No module named azure.mgmt.compute.v2017_12_01.models.rolling_upgrade_running_status_py3

很可能是因为环境中缺少第三方包 azure_storage_fileazure_mgmt_eventgridazure_mgmt_cosmosdbazure_storage_queueazure_mgmt_authorizationopal_azure_cli_billingopal_azure_cli_dlsazure_mgmt_reservationsazure_mgmt_sqlvirtualmachineopal_azure_cli_batchazure_mgmt_powerbiembeddedazure_mgmt_hanaonazureazure_mgmt_msiazure_mgmt_recoveryservicesopal_azure_cli_vmazure_mgmt_redisazure_mgmt_cognitiveservicesazure_storage_blobazure_keyvaultazure_mgmt_managementgroupsazure_mgmt_datafactoryopal_azure_cli_natgatewayopal_azure_cli_feedbackopal_azure_cli_cognitiveservicesazure_mgmt_rdbmsopal_azure_cli_consumptionopal_azure_cli_redisazure_mgmt_containerserviceazure_applicationinsightsazure_storage_commonazure_mgmt_machinelearningcomputeopal_azure_cli_acsopal_azure_cliopal_azure_cli_rdbmsopal_azure_cli_profileazure_mgmt_datamigrationopal_azure_cli_storageazure_mgmt_mediaazure_mgmt_keyvaultazure_mgmt_policyinsightsazure_mgmt_datalake_storeazure_mgmt_searchopal_azure_cli_extensionazure_mgmt_iotcentralazure_mgmt_computeopal_azure_cli_keyvaultazure_mgmt_notificationhubsazure_mgmt_batchazure_graphrbacopal_azure_cli_mapsopal_azure_cli_resourceazure_mgmt_scheduler

通过 pip 在命令行中安装:

        pip install azure_storage_file
# or
pip install azure_mgmt_eventgrid
# or
pip install azure_mgmt_cosmosdb
# or
pip install azure_storage_queue
# or
pip install azure_mgmt_authorization
# or
pip install opal_azure_cli_billing
# or
pip install opal_azure_cli_dls
# or
pip install azure_mgmt_reservations
# or
pip install azure_mgmt_sqlvirtualmachine
# or
pip install opal_azure_cli_batch
# or
pip install azure_mgmt_powerbiembedded
# or
pip install azure_mgmt_hanaonazure
# or
pip install azure_mgmt_msi
# or
pip install azure_mgmt_recoveryservices
# or
pip install opal_azure_cli_vm
# or
pip install azure_mgmt_redis
# or
pip install azure_mgmt_cognitiveservices
# or
pip install azure_storage_blob
# or
pip install azure_keyvault
# or
pip install azure_mgmt_managementgroups
# or
pip install azure_mgmt_datafactory
# or
pip install opal_azure_cli_natgateway
# or
pip install opal_azure_cli_feedback
# or
pip install opal_azure_cli_cognitiveservices
# or
pip install azure_mgmt_rdbms
# or
pip install opal_azure_cli_consumption
# or
pip install opal_azure_cli_redis
# or
pip install azure_mgmt_containerservice
# or
pip install azure_applicationinsights
# or
pip install azure_storage_common
# or
pip install azure_mgmt_machinelearningcompute
# or
pip install opal_azure_cli_acs
# or
pip install opal_azure_cli
# or
pip install opal_azure_cli_rdbms
# or
pip install opal_azure_cli_profile
# or
pip install azure_mgmt_datamigration
# or
pip install opal_azure_cli_storage
# or
pip install azure_mgmt_media
# or
pip install azure_mgmt_keyvault
# or
pip install azure_mgmt_policyinsights
# or
pip install azure_mgmt_datalake_store
# or
pip install azure_mgmt_search
# or
pip install opal_azure_cli_extension
# or
pip install azure_mgmt_iotcentral
# or
pip install azure_mgmt_compute
# or
pip install opal_azure_cli_keyvault
# or
pip install azure_mgmt_notificationhubs
# or
pip install azure_mgmt_batch
# or
pip install azure_graphrbac
# or
pip install opal_azure_cli_maps
# or
pip install opal_azure_cli_resource
# or
pip install azure_mgmt_scheduler
      

指定安装版本:

        pip install "azure_storage_file==1.4.0"
# or
pip install "azure_mgmt_eventgrid==1.0.0"
# or
pip install "azure_mgmt_cosmosdb==0.4.1"
# or
pip install "azure_storage_queue==1.4.0"
# or
pip install "azure_mgmt_authorization==0.50.0"
# or
pip install "opal_azure_cli_billing==0.2.4"
# or
pip install "opal_azure_cli_dls==0.1.13"
# or
pip install "azure_mgmt_reservations==0.2.1"
# or
pip install "azure_mgmt_sqlvirtualmachine==0.3.0"
# or
pip install "opal_azure_cli_batch==4.0.6"
# or
pip install "azure_mgmt_powerbiembedded==2.0.0"
# or
pip install "azure_mgmt_hanaonazure==0.1.1"
# or
pip install "azure_mgmt_msi==0.2.0"
# or
pip install "azure_mgmt_recoveryservices==0.1.1"
# or
pip install "opal_azure_cli_vm==2.2.26"
# or
pip install "azure_mgmt_redis==6.0.0"
# or
pip install "azure_mgmt_cognitiveservices==3.0.0"
# or
pip install "azure_storage_blob==1.5.0"
# or
pip install "azure_keyvault==1.1.0"
# or
pip install "azure_mgmt_managementgroups==0.1.0"
# or
pip install "azure_mgmt_datafactory==0.6.0"
# or
pip install "opal_azure_cli_natgateway==0.1.4"
# or
pip install "opal_azure_cli_feedback==2.2.4"
# or
pip install "opal_azure_cli_cognitiveservices==0.2.8"
# or
pip install "azure_mgmt_rdbms==1.9.0"
# or
pip install "opal_azure_cli_consumption==0.4.6"
# or
pip install "opal_azure_cli_redis==0.4.6"
# or
pip install "azure_mgmt_containerservice==5.2.0"
# or
pip install "azure_applicationinsights==0.1.0"
# or
pip install "azure_storage_common==1.4.2"
# or
pip install "azure_mgmt_machinelearningcompute==0.4.1"
# or
pip install "opal_azure_cli_acs==2.4.6"
# or
pip install "opal_azure_cli==2.0.70"
# or
pip install "opal_azure_cli_rdbms==0.3.14"
# or
pip install "opal_azure_cli_profile==2.1.8"
# or
pip install "azure_mgmt_datamigration==1.0.0"
# or
pip install "opal_azure_cli_storage==2.4.6"
# or
pip install "azure_mgmt_media==1.0.0"
# or
pip install "azure_mgmt_keyvault==1.1.0"
# or
pip install "azure_mgmt_policyinsights==0.1.0"
# or
pip install "azure_mgmt_datalake_store==0.5.0"
# or
pip install "azure_mgmt_search==2.1.0"
# or
pip install "opal_azure_cli_extension==0.2.8"
# or
pip install "azure_mgmt_iotcentral==1.0.0"
# or
pip install "azure_mgmt_compute==5.0.0"
# or
pip install "opal_azure_cli_keyvault==2.2.18"
# or
pip install "azure_mgmt_notificationhubs==2.1.0"
# or
pip install "azure_mgmt_batch==6.0.0"
# or
pip install "azure_graphrbac==0.60.0"
# or
pip install "opal_azure_cli_maps==0.3.7"
# or
pip install "opal_azure_cli_resource==2.1.18"
# or
pip install "azure_mgmt_scheduler==2.0.0"
      

在 pypi.org 中查看安装包的更多信息: azure_storage_file azure_mgmt_eventgrid azure_mgmt_cosmosdb azure_storage_queue azure_mgmt_authorization opal_azure_cli_billing opal_azure_cli_dls azure_mgmt_reservations azure_mgmt_sqlvirtualmachine opal_azure_cli_batch azure_mgmt_powerbiembedded azure_mgmt_hanaonazure azure_mgmt_msi azure_mgmt_recoveryservices opal_azure_cli_vm azure_mgmt_redis azure_mgmt_cognitiveservices azure_storage_blob azure_keyvault azure_mgmt_managementgroups azure_mgmt_datafactory opal_azure_cli_natgateway opal_azure_cli_feedback opal_azure_cli_cognitiveservices azure_mgmt_rdbms opal_azure_cli_consumption opal_azure_cli_redis azure_mgmt_containerservice azure_applicationinsights azure_storage_common azure_mgmt_machinelearningcompute opal_azure_cli_acs opal_azure_cli opal_azure_cli_rdbms opal_azure_cli_profile azure_mgmt_datamigration opal_azure_cli_storage azure_mgmt_media azure_mgmt_keyvault azure_mgmt_policyinsights azure_mgmt_datalake_store azure_mgmt_search opal_azure_cli_extension azure_mgmt_iotcentral azure_mgmt_compute opal_azure_cli_keyvault azure_mgmt_notificationhubs azure_mgmt_batch azure_graphrbac opal_azure_cli_maps opal_azure_cli_resource azure_mgmt_scheduler