ImportError
Corvoninety opened this issue · 1 comments
Corvoninety commented
Hello everyone! Hope somebody can help me.
I imported the project in Anaconda on a Mac, but when I try to execute the file main.py I run into this error:
File ~/anaconda3/lib/python3.11/site-packages/imblearn/utils/_param_validation.py:908
from sklearn.utils._param_validation import (
ImportError: cannot import name '_MissingValues' from 'sklearn.utils._param_validation' (/Users/MYFOLDER/anaconda3/lib/python3.11/site-packages/sklearn/utils/_param_validation.py)
What could be the problem? Thanks to everyone who will try to help me!
KnightRider37 commented
You can try:
pip uninstall scikit-learn
pip install scikit-learn==1.2.2