# Problem importing imblearn [closed]

I am trying to do:

import imblearn


in my jupyter notebook, but when I run the cell I get the following error message:

SyntaxError: invalid syntax


even if I have installed the package. I am using python 2.

What could the problem be, and how do I solve it?

• what is imblearn for – develarist Nov 8 '20 at 11:03
• @develarist, I want to use it for dealing with an imbalanced dataset – J.D. Nov 9 '20 at 18:41
• try imbalanced-learn pypi.org/project/imbalanced-learn – Peter Nov 9 '20 at 22:54