I'm trying to import KNeihgborsClassifier from 'sklearn.neighbors'
You are importing KNeihgborsClassifier which is wrong, change it to:
from sklearn.neighbors import KNeighborsClassifier
I'm trying to import KNeihgborsClassifier from 'sklearn.neighbors' but I have this error ImportError: cannot import name 'KNeihgborsClassifier' from 'sklearn.neighbors' (C:\Users\lenovo\anaconda3\lib\site-packages\sklearn\neighbors_init_.py)