Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

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

Đang mở
#1,797 9 bình luận 6 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
20/100
Loại issue
Lỗi
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Công nghệ
azure, jupyter-notebook, pandas, python
Lĩnh vực
devtools, machine-learning

Hướng nghiên cứu

Sử dụng thiết lập conda của notebook và cell Dataset.get_by_name/to_pandas_dataframe được hiển thị làm đường dẫn tái hiện. Xác minh kernel và interpreter nào nhận từng %pip install, sau đó ghi lại một bản sửa dependency có thể tái hiện; hoàn tất khi cell chạy mà không có lỗi thiếu package.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
Jupyter Notebook
Star
4.4k
Fork
2.6k
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của Azure/MachineLearningNotebooks

Tất cả issue của Azure/MachineLearningNotebooks

Issue tương tự

Thêm issue về DevTools

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.