pip install -U imbalanced-learn
from imblearn import under_sampling, over_sampling
from sklearn.datasets import make_classification
from sklearn.decomposition import PCA
from imblearn.oversampling import SMOTE
我正在尝试使用上面的代码,但是它抛出错误ModuleNotFoundError:没有名为'imblearn.oversampling'的模块
有人可以帮我吗?