[FAQ] ImportError: scipy._cyutility does not export expected C function slice_memviewslice when importing sklearn
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
- #539 của @github-actions — đã đóng, không merge
Đánh giá
- Độ khó
- 1/5
- Thời gian dự kiến
- Dưới một giờ
- Mức phù hợp với người mới
- 20/100
- Loại issue
- Tài liệu
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- numpy, python, scikit-learn
- Lĩnh vực
- documentation
Hướng nghiên cứu
The proposed FAQ entry is already drafted in the issue body, and pull request #539 is open against it, so check that PR before doing anything else. Compare its wording with the Q/A text here and with the existing machine-learning-zoomcamp FAQ file in the DataTalksClub/faq repository. Done means the entry is in the FAQ file once and the PR is merged or closed.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Course
machine-learning-zoomcamp
Question
Q: ImportError: scipy._cyutility does not export expected C function slice_memviewslice when importing sklearn
The scipy install is broken or mismatched with numpy or scikit-learn, usually after a pip install (for example xgboost) into a conda environment. Reinstall them together with python -m pip install --force-reinstall --no-cache-dir scipy numpy scikit-learn, restart the kernel, and consider using a dedicated conda environment so pip and conda packages don’t clash.
Answer
A: The scipy install is broken or mismatched with numpy or scikit-learn, usually after a pip install into a conda environment. Reinstall them together with python -m pip install --force-reinstall --no-cache-dir scipy numpy scikit-learn, restart the kernel, and consider a dedicated conda environment so pip and conda packages don’t clash.
Checklist
- I have searched existing FAQs and this question is not already answered
- The answer provides accurate, helpful information
- I have included any relevant code examples or links
- Ngôn ngữ chính
- Python
- Star
- 8
- Fork
- 20
- Merge trung bình
- 4 ngày 12 giờ
- Pull request đã merge (30 ngày)
- 26
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọ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 DataTalksClub/faq
-
Do I need to add a credit card to my Nebius account to receive the GPU credits provided for this course?Có thể đã có người làm @github-actions đã nhận 3 ngày trước. Đang mởfaq-proposal
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
DataTalksClub/faq#586 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Two different inputs get the same XGBoost churn probability in my Flask API—does that mean my model is broken?Có thể đã có người làm @github-actions đã nhận 9 ngày trước. Đang mởfaq-proposal
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 85/100
DataTalksClub/faq#571 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[FAQ] How do I use `GridSearchCV` with parallel processing, and how do I fix the scikit-learn parallel-processing warning?Có thể làm lại được Pull request cho issue này đã bị đóng mà không được merge. Đang mởfaq-proposal
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 86/100
DataTalksClub/faq#551 · 6 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 86/100
DataTalksClub/faq#550 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Fixing ValueError: This solver needs samples of at least 2 classes in Logistic RegressionCó thể làm lại được Pull request cho issue này đã bị đóng mà không được merge. Đang mởfaq-proposal
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
DataTalksClub/faq#532 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của DataTalksClub/faq
Issue tương tự
-
needs-triage
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
flashinfer-ai/flashinfer#9803 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug frontend good first issue help wanted
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
oscarbol09/thesisforge#61 ·
-
api bug performance
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
oscarbol09/audiobard#159 ·
-
area:web p2 product:business triage:active type:bug
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 89/100
cuadrao-ai/argus#2328 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug frontend good first issue help wanted
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
nikhilb2/simple_invoicing#907 ·