首页 > 其他分享 >ESPRESSIF-pip安装模板超时Read timed out

ESPRESSIF-pip安装模板超时Read timed out

时间:2023-04-01 23:05:03浏览次数:37  
标签:Users esp Read ESPRESSIF zhang -- pip espressif timed

一、问题:

pip._vendor.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out.
Command failed: "C:\Users\zhang\.espressif\python_env\idf4.4_py3.8_env\Scripts\python.exe" -m pip install --upgrade --constraint "c:\Users\zhang\.vscode\extensions\espressif.esp-idf-extension-1.6.0\espidf.constraints.txt" --no-warn-script-location -r "c:\Users\zhang\.vscode\extensions\espressif.esp-idf-extension-1.6.0\esp_debug_adapter\requirements.txt"
ERROR: Exception:

二、解决:

手动运行python安装+添加超时命令,如--default-timeout=10000 install 模块名

python -m pip --default-timeout=10000 install --upgrade --constraint "c:\Users\zhang\.vscode\extensions\espressif.esp-idf-extension-1.6.0\espidf.constraints.txt" --no-warn-script-location -r "c:\Users\zhang\.vscode\extensions\espressif.esp-idf-extension-1.6.0\esp_debug_adapter\requirements.txt"

标签:Users,esp,Read,ESPRESSIF,zhang,--,pip,espressif,timed
From: https://www.cnblogs.com/qq2806933146xiaobai/p/17279626.html

相关文章

  • 类型类Type classes(第一部分)类约束 Eq、Ord、Show、Read、Enum、Num、Integral、Float
    类型类Typeclasses是一种定义某种行为的接口。如果类型是类型类的成员,则意味着类型支持并实现了类型类定义的行为。类约束==函数的类型,如下:type(==)(==)::Eqa=>a->a->Bool=>符号定义了一个类约束,==函数接受两个相同类型的形参,并返回Bool类型。这两个形参的类型......
  • c++ 多线程编程std::thread, std::shared_mutex, std::unique_lock
    在C++11新标准中,可以简单通过使用thread库,来管理多线程,使用时需要#include<thread>头文件。简单用例如下:1std::thread(Simple_func);2std::threadt(Simple_func);3t.detach();第一行是直接启动一个新线程来执行Simple_func函数,而第二行先声明一个线程函数t(返回类型为......
  • README
    pytestcachedirectoryThisdirectorycontainsdatafromthepytest'scacheplugin,whichprovidesthe--lfand--ffoptions,aswellasthecachefixture.Donotcommitthistoversioncontrol.Seethedocsformoreinformation.......
  • 线程池----ThreadPoolExecutor
    从Java5开始,Java提供了自己的线程池。线程池就是一个线程的容器,每次只执行额定数量的线程。java.util.concurrent.ThreadPoolExecutor就是这样的线程池。它很灵活,但使用起来也比较复杂,本文就对其做一个介绍。首先是构造函数。以最简单的构造函数为例:publicThreadPoolExecuto......
  • Java并发编程——Thread详解
    前言操作系统中,一个进程往往代表着一个应用程序实例,而线程是进程中轻量级的调度单元,也可以看作是轻量级的进程,可以共享进程资源。下面简单介绍在操作系统中线程通用实现方式。接下来内容主要对线程模型进行简单介绍,然后对Java线程实现Thread类进行了解。一、线程模型暂且抛开Jav......
  • 设置动态的spread
    基于波动率的动态spread:根据市场波动率的变化动态调整spread。可以使用统计方法,比如历史波动率、实时波动率等,也可以使用模型,比如GARCH模型等。基于订单簿的动态sprea......
  • Read It Later更名Pocket 实现图片和视频稍后看
    成立于2007年的ReadItLater其功能与Dropbox相似,当用户在互联网上看到感兴趣的文章或网页,如果当时没时间阅读,可以将其URL储存在ReadItLater上,之后就可以在任何设备上(PC,......
  • nodejs连接mysql报错:throw err; // Rethrow non-MySQL errors TypeError: Cannot re
    该问题的解决方案如下:win+R输入cmdmysql-uroot-p输入密码进入到mysql3.执行sql语句,将密码改成123456(自己可以记住的密码即可)alteruser'root'@'localhost'i......
  • Python ThreadPoolExecutor的简单使用
    pythonThreadPoolExecutor的简单使用一、前言Python3.2以后,官方新增了concurrent.futures模块,该模块提供线程池ThreadPoolExecutor和进程池ProcessPoolExecutor。使用......
  • Node.js: fs.readFile/writeFile 和 fs.createReadStream/writeStream 区别
    1.先说说各自的用法:HowdoIreadfilesinnode.js?fs=require('fs');fs.readFile(file,[encoding],[callback]);//file=(string)filepathofthefiletore......