赞
踩
更换了安装源,使用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/即可正常安装
温馨提示:更换安装源地址后请刷新哦
这时候在重新安装即可正常安装
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。