microsoft / microsoft/MLOpsTemplate

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

Open
#440 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Jupyter Notebook
Stars
90
Forks
261
Avg merge
21d 22h
Merged PRs (30d)
1

Description

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.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with src/workshop/data/create_datasets.py and reproduce the ModuleNotFoundError for azureml.opendatasets. Review the attempted azureml-opendatasets installation and its dependency-conflict output; the issue is resolved when the workshop dataset-generation script runs with compatible dependencies, though the payload does not specify a fix or test command.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
machine-learning
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.