ERROR: Could not find a version that satisfies the requirement matplotlib (from versions: none)
今天在Ubuntu中的pycharm软件安装matplotlib模块时出现,如下问题,提示pip版本不符合,需要更新
ERROR: Could not find a version that satisfies the requirement matplotlib (from versions: none)
ERROR: No matching distribution found for matplotlib
使用如下命令,更新pip版本,并没有成功
python -m pip install --upgrade pip
提示如下的问题,Could not fetch URL https://pypi.org/simple/pip/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host=‘pypi.org’, port=443): Max retries exceeded with url: /simple/pip/ (Caused by SSLError(“Can’t connect to HTTPS URL because the SSL module is not available.”)) - skipping
又在网上找到一种方法:
更改为国内的镜像源:(xxx为安装的包)
pip install xxx -i http://pypi.douban.com/simple --trusted-host pypi.douban.com
pip3 install -i https://pypi.tuna.tsinghua.edu.cn/simple xxx
然而还是没有用~
虽然不行,但是提醒我通过/usr/local/python3.10.0/bin/python3.10 -m pip install --upgrade pip,对pip进行更新,我开始尝试,结果还是失败了
问题又开始回去了,又是提醒Could not fetch URL https://pypi.org/simple/pip/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host=‘pypi.org’, port=443): Max retries exceeded with url: /simple/pip/ (Caused by SSLError(“Can’t connect to HTTPS URL because the SSL module is not available.”)) - skipping
于是我想了想,把两种方法综合一下,结果成功解决了
/usr/local/python3.10.0/bin/python3.10 -m pip install --upgrade pip -i http://pypi.douban.com/simple --trusted-host pypi.douban.com
最近一直在网上找方法,一直没能解决,今天解决了,记录下来,希望能帮助到其他朋友~
python安装pip install报错Could not fetch URL https://pypi.org/simple/pip/: There was a problem confirm
相关文章
- 【技术种草】cdn+轻量服务器+hugo=让博客“云原生”一下
- CLB运维&运营最佳实践 ---访问日志大洞察
- vnc方式登陆服务器
- 轻松学排序算法:眼睛直观感受几种常用排序算法
- 十二个经典的大数据项目
- 为什么使用 CDN 内容分发网络?
- 大数据——大数据默认端口号列表
- Weld 1.1.5.Final,JSR-299 的框架
- JavaFX 2012:彻底开源
- 提升as3程序性能的十大要点
- 通过凸面几何学进行独立于边际的在线多类学习
- 利用行动影响的规律性和部分已知的模型进行离线强化学习
- ModelLight:基于模型的交通信号控制的元强化学习
- 浅谈Visual Source Safe项目分支
- 基于先验知识的递归卡尔曼滤波的代理人联合状态和输入估计
- 结合网络结构和非线性恢复来提高声誉评估的性能
- 最佳实践丨云开发CloudBase多环境管理实践
- TimeVAE:用于生成多变量时间序列的变异自动编码器
- 具有线性阈值激活的神经网络:结构和算法
- 内网渗透之横向移动 -- 从域外向域内进行密码喷洒攻击