Python/알면 쓸모있는 잡다한 코드

scikit-learn 설치 됐는데 setup.py 에러

joannekim0420 2021. 12. 28. 15:21
728x90

___________________________________________________________________________
Contents of /home/sjlee927/jekim/SentenceSimilarity/cm/lib/python3.6/site-packages/sklearn/__check_build:
_check_build.cpython-36m-x86_64-linux-gnu.so__pycache__               __init__.py
setup.py

___________________________________________________________________________
It seems that scikit-learn has not been built correctly.

If you have installed scikit-learn from source, please do not forget
to build the package before using it: run `python setup.py install` or
`make` in the source directory.

If you have used an installer, please check that it is suited for your
Python version, your operating system and your platform.

 

 

 

scikit-learn 제대로 설치되었는데, 위와 같은 오류가 뜬다면, 가장 첫 줄에

import sklearn

추가!!