当前位置:   article > 正文

python安装xgboost报错_error: could not find a version that satisfies the

error: could not find a version that satisfies the requirement xgboost (from
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

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/2023面试高手/article/detail/421569
推荐阅读
相关标签
  

闽ICP备14008679号