Cache entry deserialization failed, entry ignored
Could not fetch URL https://pypi.tuna.tsinghua.edu.cn/simple/threadpoolctl/: There was a problem confirming the ssl certificate: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:852) - skipping
Could not find a version that satisfies the requirement threadpoolctl>=2.0.0 (from scikit-learn0.24.0) (from versions: )
No matching distribution found for threadpoolctl>=2.0.0 (from scikit-learn0.24.0)
You are using pip version 9.0.1, however version 21.3.1 is available.
You should consider upgrading via the ‘python -m pip install --upgrade pip’ command.
这一般是pip的版本没有更新,一般情况下使用“python -m pip install --upgrade pip”此条命令,对pip进行升级。但是如果使用此条命令,会出现以下问题:
You are using pip version 9.0.1, however version 21.3.1 is available.
You should consider upgrading via the ‘python -m pip install --upgrade pip’ command.
解决办法:
改用如下命令
python -m pip install -U pip -i http://pypi.douban.com/simple --trusted-host pypi.douban.com
突然就成了!
多谢点赞