Azure / MachineLearningNotebooks

Python notebooks with ML and deep learning examples with Azure Machine Learning Python SDK | Microsoft
https://docs.microsoft.com/azure/machine-learning/service/
MIT License
4k stars 2.49k forks source link

ModuleNotFoundError: No module named 'azureml.opendatasets' #1921

Open BecayeSoft opened 1 year ago

BecayeSoft commented 1 year ago

Hello there,

I am trying to generate the data for the workshop.

Problem

When running the script src/workshop/data/create_datasets.py I get the following error:

from azureml.opendatasets import NycTlcGreen

ModuleNotFoundError: No module named 'azureml.opendatasets'

What I have tried

I have tried to install opendatasets as a separate package using: pip install azureml-opendatasets

But I got dependencies conflicts:

ERROR: Cannot install azureml-dataset-runtime because these package versions have conflicting dependencies.

The conflict is caused by:
    azureml-dataprep 4.10.8 depends on azureml-dataprep-rslex~=2.17.12dev0
    azureml-dataprep 4.10.7 depends on azureml-dataprep-rslex~=2.17.6dev0
    azureml-dataprep 4.10.6 depends on azureml-dataprep-rslex~=2.17.0dev0
    azureml-dataprep 4.10.5 depends on azureml-dataprep-rslex~=2.17.0dev0
    azureml-dataprep 4.10.4 depends on azureml-dataprep-rslex~=2.17.0dev0
    azureml-dataprep 4.10.1 depends on azureml-dataprep-rslex~=2.17.0dev0
    azureml-dataprep 4.10.0 depends on azureml-dataprep-rslex~=2.17.0dev0

Any solution would be much appreciated.

BecayeSoft commented 1 year ago

Hello there,

I am trying to generate the data for the workshop.

Problem

When running the script src/workshop/data/create_datasets.py I get the following error:

from azureml.opendatasets import NycTlcGreen

ModuleNotFoundError: No module named 'azureml.opendatasets'

What I have tried

I have tried to install opendatasets as a separate package using: pip install azureml-opendatasets

But I got dependencies conflicts:

ERROR: Cannot install azureml-dataset-runtime because these package versions have conflicting dependencies.

The conflict is caused by:
    azureml-dataprep 4.10.8 depends on azureml-dataprep-rslex~=2.17.12dev0
    azureml-dataprep 4.10.7 depends on azureml-dataprep-rslex~=2.17.6dev0
    azureml-dataprep 4.10.6 depends on azureml-dataprep-rslex~=2.17.0dev0
    azureml-dataprep 4.10.5 depends on azureml-dataprep-rslex~=2.17.0dev0
    azureml-dataprep 4.10.4 depends on azureml-dataprep-rslex~=2.17.0dev0
    azureml-dataprep 4.10.1 depends on azureml-dataprep-rslex~=2.17.0dev0
    azureml-dataprep 4.10.0 depends on azureml-dataprep-rslex~=2.17.0dev0

Any solution would be much appreciated.

My bad, I mistook the repository.