Python 程序报错: No module named azure.mgmt.compute.v2017_03_30.models.virtual_machine_scale_set_update_ip_configuration

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

通过 pip 在命令行中安装:

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

指定安装版本:

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

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