当前位置:   article > 正文

pycharm安装模块提示RROR: Could not find a version that satisfies the requirement bs4 (from versions: none)_error: could not find a version that satisfies the

error: could not find a version that satisfies the requirement bs4 (from ver

更换了安装源,使用pycharm安装模块提示错误信息RROR: Could not find a version that satisfies the requirement bs4 (from versions: none)

一:pycharm安装模块流程(这里以安装bs4模块为例)

打开 File ==>Settings ==> Project:项目名称 ==> Project Interpreter 

这时候出现错误提示,点击报错提示后的Details...出现详细错误信息:ERROR: Could not find a version that satisfies the requirement bs4 (from versions: none)

二:解决方法

折腾了好久,发现是安装源地址出现了问题,没有使用https开头的安装源地址

点击Manage Repositotirs 将原有安装源地址:http://pypi.doubanio.com/simple/更改为:https://pypi.doubanio.com/simple/即可正常安装

温馨提示:更换安装源地址后请刷新哦

这时候在重新安装即可正常安装

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

闽ICP备14008679号