简体   繁体   中英

Unable to install imbalanced-learn

I am trying to install the imbalanced-learn package in Python3 with the following command: pip install - U imbalanced-learn . I get this error:

 Could not find a version that satisfies the requirement imbalanced-learn (from versions: ) No matching distribution found for imbalanced-learn You are using pip version 10.0.1, however version 18.1 is available. You should consider upgrading via the 'python -m pip install --upgrade pip' command.

However, when I try upgrading using python -m pip install --upgrade pip I get this:

 Requirement already up-to-date: pip in c:\\programdata\\anaconda3\\lib\\site-packages (10.0.1) You are using pip version 10.0.1, however version 18.1 is available. You should consider upgrading via the 'python -m pip install --upgrade pip' command.

Can anyone tell me what's going on?

我也一直在努力安装它,但它对我有用:

conda install imbalanced-learn

Trying doing a pip install in your conda environment with pip install imbalanced-learn . If that doesn't work then I'll recommend you revert back to v0.3 with conda install -c glemaitre imbalanced-learn

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM