使用pip或conda等包管理工具下载python的扩展包时报错:
Could not find a version that satisfies the requirement selenium (from versions: )
No matching distribution found for selenium
pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
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
或者
ValueError: check_hostname requires server_hostname

解决
1、换源下载安装
1)http://mirrors.aliyun.com/pypi/simple/ 阿里云
2)https://pypi.mirrors.ustc.edu.cn/simple/ 中国科技大学
3) http://pypi.douban.com/simple/ 豆瓣
4) https://pypi.tuna.tsinghua.edu.cn/simple/ 清华大学
5) http://pypi.mirrors.ustc.edu.cn/simple/ 中国科学技术大学

例(使用清华镜像下载安装 pyecharts扩展包):

pip install -i https://pypi.tuna.tsinghua.edu.cn/simple pyecharts

换源下载后 如果仍然报错则可能是网络代理服务器打开了的问题,
2、在设置中关闭网络代理服务器即可成功下载安装扩展包。

pip下载扩展包时报错 ValueError: check_hostname requires server_hostname相关推荐

  1. 报错ValueError: check_hostname requires server_hostname

    问题大概如上,当我们pip下载包的时候出现这个问题. 很大可能是科学上网的原因,关闭代理即可.

  2. pip安装报错ValueError: check_hostname requires server_hostname

    如题,在执行pip install命令的时候报错了,原因应该是开了梯子. 解决办法就是更换下pip的下载源就好了,我换成了阿里云的,问题就解决了.

  3. pip ValueError: check_hostname requires server_hostname

    网友的方法: https://www.jianshu.com/p/d4af07d5af27 ip安装yapf包时出现 ValueError: check_hostname requires serve ...

  4. ValueError: check_hostname requires server_hostname的解决办法

    在用pip安装scikit-image库时报错:ValueError: check_hostname requires server_hostname 报错ValueError: check_host ...

  5. pip代理问题–ValueError: check_hostname requires server_hostname

    pip代理问题–ValueError: check_hostname requires server_hostname Windows上pip开代理后安装包时出现以上错误,主要原因是因为request ...

  6. ValueError: check_hostname requires server_hostname解决方法

    使用python的pip安装第三方包的时候会出现这个问题 查看了一些解决方法 关掉一些代理VPN然后重试,再不行就关闭计算机代理: PS H:\python_project\Python-Multip ...

  7. 【踩坑】requests 使用 IP 代理时 ValueError: check_hostname requires server_hostname

    requests 使用 IP 代理时 ValueError: check_hostname requires server_hostname 报错原因: urllib3 1.26.xx 版本库有 bu ...

  8. python pip安装包时出现 ValueError: check_hostname requires server_hostname 错误 解决方法

    原因及解决方法 1.这种时候可能是你开了vpn连接了外网,关掉vpn即可. 2.可能你之前开了vpn,导致浏览器代理设置使用了代理服务器,在代理设置中关掉即可,具体步骤以谷歌浏览器为例,看下面两张图. ...

  9. check_hostname requires server_hostname

    系统环境:Win11+python3.97 文章目录 1.错误 2.原因 3.解决方法 4.备注 1.错误 在进行pip更新时显示ValueError: check_hostname requires ...

最新文章

  1. thinkphp的伪静态化
  2. win7 安装c语言环境变量,win7下如何配置编程环境变量的方法
  3. 英语口语(5月17)
  4. python之_init_函数的简介
  5. 子类实现父类接口时注解为啥报错_Java中的注解使用:全面性的总结一下
  6. 谈谈API接口安全性设计思路
  7. nginx引入自定义的配置文件
  8. java synchronized 参数_java – 将参数传递给synchronized块的目的是什么?
  9. html扫雷源码js,js实现扫雷源代码.pdf
  10. CSS3的box-sizing 属性
  11. 两计算机网线连接打印机共享打印机共享打印机,打印机、资源共享、协同工作、一根网线连接两电脑的方...
  12. 风口的猪-中国牛市(小米2016校招)
  13. 双活数据中心负载均衡理解
  14. HDU 6438Buy and Resell
  15. java汉字获取拼音的方法
  16. java知识精华总结
  17. C# 创建MDI窗体
  18. Flask学习笔记总结(一)
  19. ftl模板导出excel_freemarker导出定制excel
  20. 人体运动轨迹的人工智能动画模拟

热门文章

  1. 爬虫技术罪与罚:失衡的催收应用边界
  2. 创新型人格分析,创新型人格的职业发展规划
  3. Docker容器不识别宋体等字体问题
  4. 洛谷P4383 [八省联考2018]林克卡特树
  5. java 线程亲缘性_亲缘性线程池,这是什么鬼?
  6. 2021年浙江高考成绩一本线查询,2021年浙江高考分数线
  7. 保存计算过程的计算器Java实现
  8. 帮助你整理碎片信息的App——《卡片夹》
  9. 我去蔚来试车了。。。
  10. java 学习历程_java的学习历程(一)