Current location - Trademark Inquiry Complete Network - Futures platform - Error in importing svm from Python scikit-learn. What's the matter?
Error in importing svm from Python scikit-learn. What's the matter?
1, you need to confirm whether these packages are installed correctly.

2. The version may not match. Please try to update them all to the latest version. Mine is fine.

3. The reason may be that there is a sklearn.pyc file with the same name as sklearn in the file directory. Just change the name of the file.