xrootd now needs to be installed separately
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 45/100
Hướng nghiên cứu
Bắt đầu với Getting Started.ipynb, đặc biệt là ô 10, và tái hiện việc truy cập tệp ROOT từ xa trong Codespaces. Kiểm tra cách dự án cấu hình Codespaces hoặc môi trường phân tích của mình, đồng thời đảm bảo các Python bindings của XRootD được bao gồm. Hoàn tất khi ô notebook mở được tệp từ xa mà không gặp ModuleNotFoundError.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Environment: (where does this bug occur, have you tried other environments)
- Which branch (often
mainfor latest released): main - Environment: Codespaces
Steps to reproduce: (give a step by step account of how to trigger the bug)
- Open project in codespaces (it opens fine)
- Try running notebooks cells that open remote root file
- This produces an error:
---------------------------------------------------------------------------
ModuleNotFoundError Traceback (most recent call last)
File /opt/conda/envs/analysis/lib/python3.12/site-packages/uproot/extras.py:98, in XRootD_client()
97 try:
---> 98 import XRootD
99 import XRootD.client
ModuleNotFoundError: No module named 'XRootD'
The above exception was the direct cause of the following exception:
ModuleNotFoundError Traceback (most recent call last)
/workspaces/python-analysis-bootcamp/Getting Started.ipynb Cell 10 line 1
----> [1](vscode-notebook-cell://codespaces%2Bjubilant-palm-tree-5rjr5g9rv7344x6/workspaces/python-analysis-bootcamp/Getting%20Started.ipynb#X12sdnNjb2RlLXJlbW90ZQ%3D%3D?line=0) events = ur.open(server + dir + file + ':events')
File /opt/conda/envs/analysis/lib/python3.12/site-packages/uproot/reading.py:143, in open(path, object_cache, array_cache, custom_classes, decompression_executor, interpretation_executor, **options)
134 if not uproot._util.isstr(file_path) and not (
135 hasattr(file_path, "read") and hasattr(file_path, "seek")
136 ):
137 raise ValueError(
138 "'path' must be a string, pathlib.Path, an object with 'read' and "
139 "'seek' methods, or a length-1 dict of {file_path: object_path}, "
140 f"not {path!r}"
141 )
--> 143 file = ReadOnlyFile(
...
ModuleNotFoundError: Install XRootD python bindings with:
conda install -c conda-forge xrootd
- Ngôn ngữ chính
- Jupyter Notebook
- Star
- 2
- Fork
- 1
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Không có hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của eic/python-analysis-bootcamp
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 20/100
Tất cả issue của eic/python-analysis-bootcamp
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
trezor/trezor-firmware#7997 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
good first issue hacktoberfest
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 88/100
elnachto/laya-triage#6 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug ci good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 90/100
happy520ai/unified-ai-system#211 · 4 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày