MicrosoftDocs / azure-docs

Open source documentation of Microsoft Azure
https://docs.microsoft.com/azure
Creative Commons Attribution 4.0 International
10.24k stars 21.41k forks source link

TypeError: load_component() missing 1 required positional argument: 'path' #102269

Open levalencia opened 1 year ago

levalencia commented 1 year ago

When testing this tutorial: On this line:

train_component = load_component(source=os.path.join(train_src_dir, "train.yml"))

I got this error: <1 sec TypeError: load_component() missing 1 required positional argument: 'path'

[Enter feedback here]


Document Details

Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

AjayBathini-MSFT commented 1 year ago

@levalencia Thanks for your feedback! We will investigate and update as appropriate.

levalencia commented 1 year ago

related: https://github.com/Azure/azure-sdk-for-python/issues/27819

RohitMungi-MSFT commented 1 year ago

Assigning the issue to doc author to update the snippet as per investigation in the referenced SDK issue. Thanks!!

tuscar2001 commented 1 year ago

I had the same issue and I created a new compute that I attached to the notebook and it worked: Processing Unit: [GPU - 1 x NVIDIA Tesla K80] VM: Standard_NC6

Hope this helps

NehaKesh01 commented 1 year ago

I am still seeing this error. Was there any fix or solution suggested for this?