[FAQ] ImportError: scipy._cyutility does not export expected C function slice_memviewslice when importing sklearn
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
- #539 di @github-actions — chiusa senza merge
Valutazione
- Difficoltà
- 1/5
- Tempo stimato
- Meno di un'ora
- Idoneità per principianti
- 20/100
- Tipo di issue
- Documentazione
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Ferma
- Stack tecnologico
- numpy, python, scikit-learn
- Ambito
- documentation
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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
- Lingua principale
- Python
- Stelle
- 8
- Fork
- 20
- Merge medio
- 4g 12h
- PR unite (30g)
- 26
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di DataTalksClub/faq
-
Do I need to add a credit card to my Nebius account to receive the GPU credits provided for this course?Forse già presa @github-actions l’ha presa 3 giorni fa. Apertafaq-proposal
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
DataTalksClub/faq#586 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Two different inputs get the same XGBoost churn probability in my Flask API—does that mean my model is broken?Forse già presa @github-actions l’ha presa 9 giorni fa. Apertafaq-proposal
Difficoltà 1/5 1-3 ore Idoneità per principianti 85/100
DataTalksClub/faq#571 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
[FAQ] How do I use `GridSearchCV` with parallel processing, and how do I fix the scikit-learn parallel-processing warning?Forse di nuovo libera Una pull request per questa issue è stata chiusa senza essere unita. Apertafaq-proposal
Difficoltà 1/5 1-3 ore Idoneità per principianti 86/100
DataTalksClub/faq#551 · 6 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 86/100
DataTalksClub/faq#550 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Fixing ValueError: This solver needs samples of at least 2 classes in Logistic RegressionForse di nuovo libera Una pull request per questa issue è stata chiusa senza essere unita. Apertafaq-proposal
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
DataTalksClub/faq#532 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di DataTalksClub/faq
Issue simili
-
needs-triage
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
flashinfer-ai/flashinfer#9803 ·
I maintainer di solito rispondono entro 1 giorno
-
bug frontend good first issue help wanted
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
oscarbol09/thesisforge#61 ·
-
api bug performance
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
oscarbol09/audiobard#159 ·
-
area:web p2 product:business triage:active type:bug
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 89/100
cuadrao-ai/argus#2328 ·
I maintainer di solito rispondono entro 1 giorno
-
bug frontend good first issue help wanted
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
nikhilb2/simple_invoicing#907 ·