- 오류 내용
- cannot import name 'CountVectorizer' from 'sklearn.feature_extraction' (/usr/local/lib/python3.10/dist-packages/sklearn/feature_extraction/__init__.py)
- 오류 코드
from sklearn.feature_extraction.text import CountVectorizer
- 해결 방법
from tensorflow.sklearn.feature_extraction.text import CountVectorizer
'Error Party' 카테고리의 다른 글
[Colab] 구글 코랩 matplotlib 한글 깨짐 현상 해결방법 (0) | 2024.08.14 |
---|---|
[Colab] Mecab 설치 오류 (subprocess-exited-with-error) (0) | 2024.08.14 |
Pytorch 가상환경에 설치 후 오류 module 'torch' has no attribute '__version__' (0) | 2024.06.09 |
[VSCode] VSCode 터미널 무반응 ... (0) | 2023.04.13 |
[VSCode] 터미널 창 키면 바로 사라짐 / VSCode "The terminal process terminated with exit code: 1" (0) | 2023.03.29 |