requests.exceptions.ConnectionError: HTTPConnectionPool(host='172.30.34.86', port=16666)
时间: 2023-10-30 22:25:34 浏览: 148
这个错误信息是requests库抛出的一个异常,表示连接池无法建立与指定主机和端口的连接。根据引用中的解决方案,可以尝试更换源来解决这个问题。你可以使用以下命令来更换pip源:`pip install tensorflow -i http://mirrors.aliyun.com/pypi/simple --trusted-host mirrors.aliyun.com`。这个命令会将pip源更换为阿里云的镜像源,可能会解决你遇到的连接问题。另外,引用中提到了使用requests库的get方法时带上header参数的方式,可以进一步优化请求的过程。同时,引用中提到了使用docker命令拉取镜像的方法,如果你是在使用Docker进行开发,可以尝试拉取`lmwbio/metawrap_1.3.2_binning_fastq_gz`镜像来解决这个问题。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [换源解决pip超时问题: pip._vendor.urllib3.exceptions.SSLError](https://blog.csdn.net/wowotuo/article/details/124550085)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 33.333333333333336%"]
- *2* [python requests.get带header](https://download.csdn.net/download/weixin_38717143/12852198)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 33.333333333333336%"]
- *3* [05 isescan plasmidfinder export pip -i参数 singularity使用安装metawrap phyloflash安装apptainer](https://blog.csdn.net/qq_52813185/article/details/128916262)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 33.333333333333336%"]
[ .reference_list ]
阅读全文