ERROR: Could not find a version that satisfies the requirement xgboost (from versions: none)
ERROR: No matching distribution found for xgboost

解决办法:

换成国内的pip源

pip install xgboost -i http://pypi.doubanio.com/simple/ --trusted-host py

看提示还是报错:

换为阿里云就可以了

pip install xgboost -i http://mirrors.aliyun.com/pypi/simple/ --trusted-host mirrors.aliyun.com

Logo

腾讯云面向开发者汇聚海量精品云计算使用和开发经验,营造开放的云计算技术生态圈。

更多推荐