MLOpsTemplate icon indicating copy to clipboard operation
MLOpsTemplate copied to clipboard

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

Open BecayeSoft opened this issue 1 year ago • 0 comments

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 avatar Jun 26 '23 21:06 BecayeSoft