安装库的报错汇总
1、安装sklearn报错 error: subprocess-exited-with-error
我用的命令是
pip install -i https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple sklearn
我在网上搜了一下没发现解决方法,仔细看了一眼报错
改成了下面这条命令,安装成功。
pip install -i https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple scikit-learn
2、安装yaml报错ERROR: Could not find a version that satisfies the requirement yaml (from versions: none)
看了网上的解决办法,修改命令为
pip install pyyaml