我正在尝试使用以下命令imbalanced-learn
在Python3中安装pip install - U imbalanced-learn
软件包。我收到此错误:
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.
但是,当我尝试使用python -m pip install --upgrade pip
进行升级时,我得到了:
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.
谁能告诉我发生了什么事?
答案 0 :(得分:1)
我也一直在努力安装它,但是它对我有用:
conda install imbalanced-learn
答案 1 :(得分:0)
尝试使用pip install imbalanced-learn
在conda环境中进行pip安装。如果这不起作用,那么我建议您使用conda install -c glemaitre imbalanced-learn