首页 > 其他分享 >工具 | pip报错 ValueError: check_hostname requires server_hostname解决方法

工具 | pip报错 ValueError: check_hostname requires server_hostname解决方法

时间:2023-07-16 22:00:39浏览次数:33  
标签:hostname server 报错 pip ValueError check

使用python的pip安装第三方包的时候会出现这个问题。

报错信息:

ValueError: check_hostname requires server_hostname

解决方法:

​ 你可能打开了代理,你可以关闭代理试一下。如果不行,重启电脑再试一下。

标签:hostname,server,报错,pip,ValueError,check
From: https://www.cnblogs.com/zhangxuegold/p/17558675.html

相关文章

  • 记录一次.net core使用redis报错
    一、记录一次报错:报错信息如下RedisTimeoutException:Timeoutawaitingresponse(outbound=0KiB,inbound=1KiB,12063mselapsed,timeoutis1000ms),command=SCAN,next:SCAN,inst:0,qu:0,qs:1,aw:False,bw:Inactive,rs:DequeueResult,ws:Idle,in:0,in-......
  • Ant design的Table组件报错TypeError: rawData.some is not a function
    [(54条消息)Antdesign的Table组件报错TypeError:rawData.someisnotafunction_清颖~的博客-CSDN博客](https://blog.csdn.net/aaqingying/article/details/118971186)React的组件库,AntDesign之Table系列问题解决。这个问题其实很简单,但也很常见呢~看了网上的其他博文,说不......
  • 解决报错Cannot connect to the Maven process. Try again later. If the problem per
    故障描述:使用idea下载java某个源文件,idea报错:CannotconnecttotheMavenprocess.Tryagainlater.Iftheproblempersists,checktheMaven解决方案:修改maven的配置文件......
  • 洛谷P1219 [USACO1.5] 八皇后 Checker Challenge
    写在前面我又回来了!偷了几天懒,还认识我吗?甭管认识不认识,还是要自我介绍一番:本人是初学c++的初中生,还是个蒟蒻,最要命的是没有脑子。今天,还请允许我浪费您一点时间,叨叨上几句。本题目来自于洛谷,网址https://www.luogu.com.cn/problem/P1219,建议在洛谷上看一下。本题解非盈利,无恶......
  • 4、报错注入
     updatexml(),concat() mysql>selectupdatexml(1,concat(0x7e,(selectdatabase()),0x7e),1);ERROR1105(HY000):XPATHsyntaxerror:'~security~' updatexml(),concat_ws() mysql>selectupdatexml(1,concat_ws(0x5c,0x5c,substr(@@v......
  • python中tk的simpledialog.askstring报错解决方案
    simpledialog.askstring还是比较好用的,能够很方便的获取用户输入的文本,但是在多线程中会出现下面的错误:_tkinter.TclError:window".!_querystring"wasdeletedbeforeitsvisibilitychanged解决的方案参考:https://stackoverflow.com/questions/53480400/tkinter-ask......
  • idea进行maven打包的时候报错Cannot create resource output directory
    今天在进行maven打包的时候报错了Cannotcreateresourceoutputdirectory:XXXXX,之前遇到过,但是之前选择了重启就好了,这次真不想重启,有很多需要保存的shell页面原因呢就是target被占用,导致打包不了。但是我仔仔细细检查了,真的没这情况啊,没有任何文件夹占用了然后各种看,最后,在......
  • DockerDeskTop系列---【启动DockerDeskTop时报错:Please try shutting WSL down (wsl
    DockerDeskTop安装完成后,无法启动报错信息如下:PleasetryshuttingWSLdown(wsl--shutdown)and/orrebootingyourcomputer.Ifnotsufficient,WSLmayneedtobereinstalledfully.Asalastresort,trytouninstall/reinstallDockerDesktop.解决方案:以管......
  • Mysql导入sql脚本报错,时间格式数据为空
    Mysql导入sql脚本报错,时间格式数据为空Mysql导入sql脚本时候导入的sql脚本中有时间格式为空的时候时间格字段会报错。解决方式也很简单:查看sql_mode:select@@session.sql_mode;查询结果:STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,N......
  • MySQL报错: Unknown prepared statement handler (stmt2) given to DEALLOCATE PREPAR
    上面的报错,是在MySQL里执行动态拼接SQL后报错的。--先定义两段SQLset@update_sql_fm=concat('updateads_gcl3e_patient_',@base_group_short_name,'_detail1t1jointemp_gcl3e_record_listtmpont1.report_info_id=tmp.report_info_idleftjoin(',@select_sql_fm,�......