Scikit-learn
importing _check_build
问题。我正在使用pycharm
作为代码。
我已尽一切努力来解决该问题,就像我已经多次重新启动外壳程序,重新安装scikit-learn
,升级pip和scikit-learn
版本,已经声明名为PYTHONPATH的变量一样。
这是错误
Traceback (most recent call last):
File "C:/Users/Kashif/PycharmProjects/Machine Learning/K-NearestNeighbour/Code.py", line 3, in <module>
import sklearn
File "C:\Users\Kashif\PycharmProjects\Machine Learning\K-NearestNeighbour\venv\lib\site-packages\sklearn\__init__.py", line 63, in <module>
from . import __check_build
ImportError: cannot import name '__check_build' from 'sklearn' (C:\Users\Kashif\PycharmProjects\Machine Learning\K-NearestNeighbour\venv\lib\site-packages\sklearn\__init__.py)