RuntimeError: Unable to retrieve .NET dependencies. Please make sure you are connected to the Internet and have a stable network connection."

Li Tian 0 Reputation points Microsoft Employee
2024-03-01T03:16:21.6833333+00:00

I met the problem when download datasets using azcopy on AzureML. The error message as follows:

Traceback (most recent call last):
  File "pods_aml_main.py", line 1109, in <module>
    main()
  File "pods_aml_main.py", line 1074, in main
    prepare_azcopy_dataset(args)
  File "pods_aml_main.py", line 714, in prepare_azcopy_dataset
    return prepare_azcopy_dataset_aml(args)
  File "pods_aml_main.py", line 659, in prepare_azcopy_dataset_aml
    prepare_azcopy_dataset_download_per_node(ds_dict)
  File "pods_aml_main.py", line 785, in prepare_azcopy_dataset_download_per_node
    AMLNodeRunner("download_dataset", download_dataset, dataset_pair_list)
  File "pods_aml_main.py", line 219, in __init__
    func(*args, **kwargs)
  File "pods_aml_main.py", line 549, in download_dataset
    json.loads(dataset.__repr__())['source'][0])
  File "/opt/conda/lib/python3.8/site-packages/azureml/data/_loggerfactory.py", line 132, in wrapper
    return func(*args, **kwargs)
  File "/opt/conda/lib/python3.8/site-packages/azureml/data/abstract_dataset.py", line 1029, in __repr__
    steps = self._dataflow._get_steps()
  File "/opt/conda/lib/python3.8/site-packages/azureml/data/_loggerfactory.py", line 132, in wrapper
    return func(*args, **kwargs)
  File "/opt/conda/lib/python3.8/site-packages/azureml/data/abstract_dataset.py", line 221, in _dataflow
    dataprep().api._datastore_helper._set_auth_type(self._registration.workspace)
  File "/opt/conda/lib/python3.8/site-packages/azureml/dataprep/api/_datastore_helper.py", line 184, in _set_auth_type
    get_engine_api().set_aml_auth(SetAmlAuthMessageArgument(auth_type, json.dumps(auth_value)))
  File "/opt/conda/lib/python3.8/site-packages/azureml/dataprep/api/engineapi/api.py", line 19, in get_engine_api
    _engine_api = EngineAPI()
  File "/opt/conda/lib/python3.8/site-packages/azureml/dataprep/api/engineapi/api.py", line 102, in __init__
    self._message_channel = launch_engine()
  File "/opt/conda/lib/python3.8/site-packages/azureml/dataprep/api/engineapi/engine.py", line 333, in launch_engine
    dependencies_path = runtime.ensure_dependencies()
  File "/opt/conda/lib/python3.8/site-packages/dotnetcore2/runtime.py", line 289, in ensure_dependencies
    raise RuntimeError(err_msg)
RuntimeError: Unable to retrieve .NET dependencies. Please make sure you are connected to the Internet and have a stable network connection.

The exp link:
https://ml.azure.com/experiments/id/6978fe6b-c3af-4dff-a53f-96182e6fe8c8/runs/f27f9493-3fa9-49a5-b701-b6e1d8393b4b?wsid=/subscriptions/b8da985a-830d-4d20-b9e5-8d4c0d798c7f/resourcegroups/Vision_GPU/workspaces/OCRA&tid=72f988bf-86f1-41af-91ab-2d7cd011db47
.NET Internet of things
.NET Internet of things
.NET: Microsoft Technologies based on the .NET software framework.Internet of things: A concept that aims to extend the benefits of the regular internet, including constant connectivity, remote control ability, and data sharing, to goods in the physical world.
30 questions
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.