Hacktoberfest 2026: die Issues, die Maintainer für den Oktober markiert haben – offen und einsteigerfreundlich. Hacktoberfest-Issues durchsuchen

ImportError: Missing required package "azureml-dataset-runtime"

Offen
#1,797 9 Kommentare 6 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
20/100
Issue-Typ
Bug
Klarheit
Muss geklärt werden
Aktivitätsstatus
Veraltet
Tech-Stack
azure, jupyter-notebook, pandas, python

Rechercherichtung

Verwende das Conda-Setup des Notebooks und die gezeigte Dataset.get_by_name/to_pandas_dataframe-Zelle als Reproduktionspfad. Überprüfe, welcher Kernel und welcher Interpreter jeweils das %pip install erhalten, und dokumentiere eine reproduzierbare Abhängigkeitskorrektur; erledigt, wenn die Zelle ohne den Fehler wegen des fehlenden Pakets ausgeführt wird.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

I am having a weird issue in Azure ML.

I like to work in isolated conda environments with its own kernel, so for each little project I create my own environment and kernel like this:


conda create — name myenv
conda activate myenv
conda install pip
conda install ipykernel
python -m ipykernel install --user --name myenv  --display-name myenv

This creates the environment and the kernel, and then it's totally empty which means I have to install all modules myself. (including Azure SDK)

So I tried to install the following:

%pip install azureml
%pip install azureml-core
%pip install pandas
%pip install azureml-dataset-runtime --upgrade

And then I tried to run a simple Load Dataset code

# azureml-core of version 1.0.72 or higher is required
# azureml-dataprep[pandas] of version 1.1.34 or higher is required
from azureml.core import Workspace, Dataset

subscription_id = 'xx'
resource_group = 'mlplayground'
workspace_name = 'mlplayground'

workspace = Workspace(subscription_id, resource_group, workspace_name)

dataset = Dataset.get_by_name(workspace, name='BelgiumRealEstate')
df=dataset.to_pandas_dataframe()

But then I get this error:

Missing required package "azureml-dataset-runtime", which can be installed by running: "/anaconda/envs/LightGBM/bin/python" -m pip install azureml-dataset-runtime --upgrade

And Yes, I tried to run this command, but got errors when trying to install it:

1

Can someone please enlighten me? Am I doing something wrong?

Thanks a lot.

Vorherrschende Sprache
Jupyter Notebook
Sterne
4.4k
Forks
2.6k
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus Azure/MachineLearningNotebooks

Alle Issues in Azure/MachineLearningNotebooks

Ähnliche Issues

Weitere Issues zu DevTools

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.