windows中pip下载过慢或报错 Read timed out

Win10安装Tensorflow出错:socket.timeout: The read operation timed out Windows10系统用pip3安装Tensorflow指定版本(之前安装的2.1.0版本太高了): (tensorflow) C:\Users\XXX>pip3 install tensorflow==1.2.1 出错: WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status... 阅读详情

pip默认使用国外源,下载速度贼慢,甚至报错:

C:\Users\MARS>python -m pip install --user pygal==1.7
Collecting pygal==1.7
  Downloading pygal-1.7.0.tar.gz (737 kB)
     |████                            | 92 kB 2.2 kB/s eta 0:04:47ERROR: Exception:
Traceback (most recent call last):
  File "C:\Users\MARS\AppData\Local\Programs\Python\Python36-32\lib\site-packages\pip\_vendor\urllib3\response.py", line 437, in _error_catcher
    yield
  File "C:\Users\MARS\AppData\Local\Programs\Python\Python36-32\lib\site-packages\pip\_vendor\urllib3\response.py", line 519, in read
    data = self._fp.read(amt) if not fp_closed else b""
  File "C:\Users\MARS\AppData\Local\Programs\Python\Python36-32\lib\site-packages\pip\_vendor\cachecontrol\filewrapper.py", line 62, in read
    data = self.__fp.read(amt)
  File "C:\Users\MARS\AppData\Local\Programs\Python\Python36-32\lib\http\client.py", line 449, in read
    n = self.readinto(b)
  File "C:\Users\MARS\AppData\Local\Programs\Python\Python36-32\lib\http\client.py", line 493, in readinto
    n = self.fp.readinto(b)
  File "C:\Users\MARS\AppData\Local\Programs\Python\Python36-32\lib\socket.py", line 586, in readinto
    return self._sock.recv_into(b)
  File "C:\Users\MARS\AppData\Local\Programs\Python\Python36-32\lib\ssl.py", line 1009, in recv_into
    return self.read(nbytes, buffer)
  File "C:\Users\MARS\AppData\Local\Programs\Python\Python36-32\lib\ssl.py", line 871, in read
    return self._sslobj.read(len, buffer)
  File "C:\Users\MARS\AppData\Local\Programs\Python\Python36-32\lib\ssl.py", line 631, in read
    v = self._sslobj.read(len, buffer)
socket.timeout: The read operation timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\MARS\AppData\Local\Programs\Python\Python36-32\lib\site-packages\pip\_internal\cli\base_command.py", line 216, in _main
    status = self.run(options, args)
  File "C:\Users\MARS\AppData\Local\Programs\Python\Python36-32\lib\site-packages\pip\_internal\cli\req_command.py", line 182, in wrapper
    return func(self, options, args)
  File "C:\Users\MARS\AppData\Local\Programs\Python\Python36-32\lib\site-packages\pip\_internal\commands\install.py", line 325, in run
    reqs, check_supported_wheels=not options.target_dir
  File "C:\Users\MARS\AppData\Local\Programs\Python\Python36-32\lib\site-packages\pip\_internal\resolution\legacy\resolver.py", line 183, in resolve
    discovered_reqs.extend(self._resolve_one(requirement_set, req))
  File "C:\Users\MARS\AppData\Local\Programs\Python\Python36-32\lib\site-packages\pip\_internal\resolution\legacy\resolver.py", line 388, in _resolve_one
    abstract_dist = self._get_abstract_dist_for(req_to_install)
  File "C:\Users\MARS\AppData\Local\Programs\Python\Python36-32\lib\site-packages\pip\_internal\resolution\legacy\resolver.py", line 340, in _get_abstract_dist_for
    abstract_dist = self.preparer.prepare_linked_requirement(req)
  File "C:\Users\MARS\AppData\Local\Programs\Python\Python36-32\lib\site-packages\pip\_internal\operations\prepare.py", line 469, in prepare_linked_requirement
    hashes=self._get_linked_req_hashes(req)
  File "C:\Users\MARS\AppData\Local\Programs\Python\Python36-32\lib\site-packages\pip\_internal\operations\prepare.py", line 259, in unpack_url
    hashes=hashes,
  File "C:\Users\MARS\AppData\Local\Programs\Python\Python36-32\lib\site-packages\pip\_internal\operations\prepare.py", line 130, in get_http_url
    link, downloader, temp_dir.path, hashes
  File "C:\Users\MARS\AppData\Local\Programs\Python\Python36-32\lib\site-packages\pip\_internal\operations\prepare.py", line 282, in _download_http_url
    for chunk in download.chunks:
  File "C:\Users\MARS\AppData\Local\Programs\Python\Python36-32\lib\site-packages\pip\_internal\cli\progress_bars.py", line 168, in iter
    for x in it:
  File "C:\Users\MARS\AppData\Local\Programs\Python\Python36-32\lib\site-packages\pip\_internal\network\utils.py", line 88, in response_chunks
    decode_content=False,
  File "C:\Users\MARS\AppData\Local\Programs\Python\Python36-32\lib\site-packages\pip\_vendor\urllib3\response.py", line 576, in stream
    data = self.read(amt=amt, decode_content=decode_content)
  File "C:\Users\MARS\AppData\Local\Programs\Python\Python36-32\lib\site-packages\pip\_vendor\urllib3\response.py", line 541, in read
    raise IncompleteRead(self._fp_bytes_read, self.length_remaining)
  File "C:\Users\MARS\AppData\Local\Programs\Python\Python36-32\lib\contextlib.py", line 99, in __exit__
    self.gen.throw(type, value, traceback)
  File "C:\Users\MARS\AppData\Local\Programs\Python\Python36-32\lib\site-packages\pip\_vendor\urllib3\response.py", line 442, in _error_catcher
    raise ReadTimeoutError(self._pool, None, "Read timed out.")
pip._vendor.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out.

此时切换国内源即可,输入命令:

pip install pip -U

pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple

输入命令后,再进行install,秒完成。

C:\Users\MARS>python -m pip install --user pygal==1.7
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
Collecting pygal==1.7
  Downloading https://pypi.tuna.tsinghua.edu.cn/packages/a9/2a/4c07302157297054cf21e2166c05f2ab77d95da3101988856cb0eae62919/pygal-1.7.0.tar.gz (737 kB)
     |████████████████████████████████| 737 kB 1.7 MB/s
Building wheels for collected packages: pygal
  Building wheel for pygal (setup.py) ... done
  Created wheel for pygal: filename=pygal-1.7.0-py3-none-any.whl size=789251 sha256=cec7d590138507d1e6192871b6129484ec6dc502fe16f85b4aa66dfc45f20193
  Stored in directory: c:\users\mars\appdata\local\pip\cache\wheels\93\d3\29\86efeeccad77fa0960f2116ecaf0ea4830f728008895f56a1d
Successfully built pygal
Installing collected packages: pygal
Successfully installed pygal-1.7.0

 

京东风控算法工程师带你解读Action Model-精细化运营(上篇) 电影《蝴蝶效应》中,男主拥有回到童年改变过去的能力,虽然在剧中男主一次次穿越时空拯救世界,但由于他无法预见自己做出的抉择对未来产生的其他影响,最终还是没能阻止悲剧的发生。可见,一个好的决策需要衡量其对未来产生的影响。JDD风控算法团队本期为大家解惑最优决策难题的解决方法-Action Model。 阅读详情

相关推荐

TwinCAT 3 实战指南:从系统配置到高级运动控制

本文详细介绍了TwinCAT 3工业自动化控制平台的实战应用,从系统配置、PLC编程到EtherCAT总线配置和高级运动控制。通过倍福(Beckhoff)的TwinCAT 3平台,工程师可以高效实现复杂的工业自动化任务,包括运动控制、PLC编程等。文章还提供了常见问题排查和性能优化技巧,帮助用户提升系统稳定性和实时性。

weixin_30831529的博客 305

Python可视化包Pygal安装

python可视化包Pygal来生成可缩放的矢量图形文件。在屏幕上,它们将自动缩放,以适合观看者的屏幕。Windows操作系统:安装pip https://pypi.python.org/pypi/pip#downloads安装即可,在dos下python setup.py install设置环境变量就可以使用pippython -m pip install --user pygal==1.7如果...

you are sherlocked by me! 5135

【SLAM】探索explore_lite在移动机器人自主建图中的高效边界检测策略

本文深入解析了explore_lite在移动机器人自主建图中的应用,重点探讨了其高效的贪婪边界检测策略。该工具包专为资源受限平台设计,通过直接利用SLAM生成的地图信息,以极低的计算开销实现快速、稳定的未知区域探索,并与move_base导航框架无缝协作,是轻量级机器人自主探索的优选方案。

purple的博客 1067

解决pip下载速度过慢的问题

在做项目的时候,我们会发现单纯的使用 pip 安装插件或模块,下载速度慢的可怜,安装 torch 用了半个多小时, 所以就想着去解决这个问题,提升一下效率。

一个默默无闻的小程序员的博客 3万+

ADS2020实战:手把手教你搭建交叉耦合VCO并分析相位噪声(附避坑指南)

本文以ADS2020软件为例,提供了交叉耦合压控振荡器(VCO)从原理图搭建到相位噪声分析的完整实战指南。详细讲解了核心器件选择、谐波平衡与瞬态仿真的关键设置,并重点剖析了相位噪声的仿真方法与优化方向。文中附有详细的避坑指南,帮助初学者和工程师高效完成VCO设计与仿真验证,避免常见错误。

p5l2m9n4o6q的博客 283

Keil5 安装与卸载全攻略:从零开始到完美避坑

本文提供了Keil5集成开发环境的完整安装与卸载指南。针对嵌入式开发新手,详细解析了安装前的关键准备、MDK核心与C51双环境的安装激活步骤、常见问题排查,并重点介绍了如何彻底卸载软件以避免残留问题,帮助用户从零开始搭建稳定高效的开发环境。

weixin_29172963的博客 636

利用pip安装python包遇到socket.timeout:The read operation timed out问题的解决方法

一般是由于网速不稳定,下载过慢,超出默认时间,所以只要修改一下响应时间就好了。 方法如下: pip --default-timeout=100 install 包名

QQ_2642160196的博客 2万+

机械臂抓取前言

机械臂相关的笔记

weixin_64037619的博客 3908

Python——记录pip问题(解决下载慢、升级失败问题)

每次我都是针对某一个库安装出错,然后去排查问题,十分浪费时间!!!在此记录,引以为戒! 不推荐使用pycharm上面的库安装,因为没有明显的报错提示,无法很好的判断问题所在 当电脑存在多个版本python的时候,记得使用pip -version查看使用的是哪一个版本!

Pan_peter的博客 2万+

FTPClient使用中,碰到SocketTimeoutException 坑

ftpclient设置soTimeout无效

u010379794的博客 1953

AXI VIP配置全指南:从报错到成功仿真的完整流程(Vivado 2023版)

本文详细解析了在Vivado 2023环境中配置AXI Verification IP(VIP)进行协议仿真的完整流程。针对常见的include和import报错问题,提供了具体的解决方案和代码示例,指导用户从IP核创建、参数化配置,到构建可工作的仿真测试平台,最终实现成功仿真。

gpt4scribbler的博客 235

解决pip下载慢的几种方式,最后一种一劳永逸

我们下载模块的话,如果直接pip安装,一般下载会非常慢,运气不好,直接下载超时,因为默认是使用国外的源进行下载。不知道方法的话,直接弄一天也是有可能的。

人生苦短, 还不用Python? 9868

windows下使用Nginx搭建Rtmp流媒体服务器,实现视频直播功能

一、环境介绍 操作系统:win10 64位系统 Linux下搭建Nginx搭建Rtmp流媒体服务器方法请看这里:https://blog.csdn.net/xiaolong1126626497/article/details/105378894 二、流媒体服务器介绍 流媒体服务器的主要功能是以流式协议(RTP/RTSP、MMS、RTMP等)将视频文件传输到客户端,供用户在线观看;也可从视频采集、压缩软件接收实时视频流,再以流式协议直播给客户端。 nginx服务器是开源的高性能的http服务器,反向

1万+

【pip安装python报错】socket.timeout:The read operation timed out问题的解决方法

(ocr) [root@localhost.localdomain /usr/local/OCR/chineseocr_lite-onnx_v1.0.1]#pip3 install -r requirements.txt -i https://mirrors.aliyun.com/pypi/simple/ Looking in indexes: https://mirrors.aliyun.com/pypi/simple/ Collecting tornado==5.1.1 Downloading h.

小慌慌的博客 3817

Outlook Express 6 (OE6) for Win7/Win8/Win10

英文版 Outlook Express6.0, 兼容Win7/Win10/WinXP,解压就可用。

Statistics and Machine Learning Toolbox

Statistics and Machine Learning Toolbox(带书签),MATLAB统计学习工具

pip安装python模块时报错,安装失败的解决办法,超详细!(Read timed out.等)

原因:pip安装包经常失败,原因是网速慢,国外服务器连接超时,默认15s 解决办法:先下载,后安装 1.打开https://www.lfd.uci.edu/~gohlke/pythonlibs/(里面有几乎所有window版本的python包),找到自己所需要的包 2.选择自己所匹配的python版本 如:我的python的版本是3.6.1,系统是Windows64位,那么我选择的就...

HelenLee 3047

深度学习工具包 DeepLearningToolbox

深度学习工具包Deprecation notice.-----This toolbox is outdated and no longer maintained.There are much better tools available for deep learning than this toolbox, e.g. [Theano](http://deeplearning.net/software/theano/), [torch](http://torch.ch/) or [tensorflow](http://www.tensorflow.org/)I would suggest you use one of the tools mentioned above rather than use this toolbox.Best, Rasmus.DeepLearnToolbox================A Matlab toolbox for Deep Learning.Deep Learning is a new subfield of machine learning that focuses on learning deep hierarchical models of data.It is inspired by the human brain's apparent deep (layered, hierarchical) architecture.A good overview of the theory of Deep Learning theory is[Learning Deep Architectures for AI](http://www.iro.umontreal.ca/~bengioy/papers/ftml_book.pdf)For a more informal introduction, see the following videos by Geoffrey Hinton and Andrew Ng.* [The Next Generation of Neural Networks](http://www.youtube.com/watch?v=AyzOUbkUf3M) (Hinton, 2007)* [Recent Developments in Deep Learning](http://www.youtube.com/watch?v=VdIURAu1-aU) (Hinton, 2010)* [Unsupervised Feature Learning and Deep Learning](http://www.youtube.com/watch?v=ZmNOAtZIgIk) (Ng, 2011)If you use this toolbox in your research please cite [Prediction as a candidate for learning deep hierarchical models of data](http://www2.imm.dtu.dk/pubdb/views/publication_details.php?id=6284)```@MASTERSTHESIS\{IMM2012-06284, author = "R. B. Palm", title = "Prediction as a candidate for learning deep hierarchical models of data", year = "2012",}```Contact: rasmusbergpalm at gmail dot comDirectories included in the toolbox-----------------------------------`NN/` - A library for Feedforward Backpropagation Neural Networks`CNN/` - A library for Convolutional Neural Networks`DBN/` - A library for Deep Belief Networks`SAE/` - A library for Stacked Auto-Encoders`CAE/` - A library for Convolutional Auto-Encoders`util/` - Utility functions used by the libraries`data/` - Data used by the examples`tests/` - unit tests to verify toolbox is workingFor references on each library check REFS.mdSetup-----1. Download.2. addpath(genpath('DeepLearnToolbox'));Example: Deep Belief Network---------------------```matlabfunction test_example_DBNload mnist_uint8;train_x = double(train_x) / 255;test_x = double(test_x) / 255;train_y = double(train_y);test_y = double(test_y);%% ex1 train a 100 hidden unit RBM and visualize its weightsrand('state',0)dbn.sizes = [100];opts.numepochs = 1;opts.batchsize = 100;opts.momentum = 0;opts.alpha = 1;dbn = dbnsetup(dbn, train_x, opts);dbn = dbntrain(dbn, train_x, opts);figure; visualize(dbn.rbm{1}.W'); % Visualize the RBM weights%% ex2 train a 100-100 hidden unit DBN and use its weights to initialize a NNrand('state',0)%train dbndbn.sizes = [100 100];opts.numepochs = 1;opts.batchsize = 100;opts.momentum = 0;opts.alpha = 1;dbn = dbnsetup(dbn, train_x, opts);dbn = dbntrain(dbn, train_x, opts);%unfold dbn to nnnn = dbnunfoldtonn(dbn, 10);nn.activation_function = 'sigm';%train nnopts.numepochs = 1;opts.batchsize = 100;nn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.10, 'Too big error');```Example: Stacked Auto-Encoders---------------------```matlabfunction test_example_SAEload mnist_uint8;train_x = double(train_x)/255;test_x = double(test_x)/255;train_y = double(train_y);test_y = double(test_y);%% ex1 train a 100 hidden unit SDAE and use it to initialize a FFNN% Setup and train a stacked denoising autoencoder (SDAE)rand('state',0)sae = saesetup([784 100]);sae.ae{1}.activation_function = 'sigm';sae.ae{1}.learningRate = 1;sae.ae{1}.inputZeroMaskedFraction = 0.5;opts.numepochs = 1;opts.batchsize = 100;sae = saetrain(sae, train_x, opts);visualize(sae.ae{1}.W{1}(:,2:end)')% Use the SDAE to initialize a FFNNnn = nnsetup([784 100 10]);nn.activation_function = 'sigm';nn.learningRate = 1;nn.W{1} = sae.ae{1}.W{1};% Train the FFNNopts.numepochs = 1;opts.batchsize = 100;nn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.16, 'Too big error');```Example: Convolutional Neural Nets---------------------```matlabfunction test_example_CNNload mnist_uint8;train_x = double(reshape(train_x',28,28,60000))/255;test_x = double(reshape(test_x',28,28,10000))/255;train_y = double(train_y');test_y = double(test_y');%% ex1 Train a 6c-2s-12c-2s Convolutional neural network %will run 1 epoch in about 200 second and get around 11% error. %With 100 epochs you'll get around 1.2% errorrand('state',0)cnn.layers = { struct('type', 'i') %input layer struct('type', 'c', 'outputmaps', 6, 'kernelsize', 5) %convolution layer struct('type', 's', 'scale', 2) %sub sampling layer struct('type', 'c', 'outputmaps', 12, 'kernelsize', 5) %convolution layer struct('type', 's', 'scale', 2) %subsampling layer};cnn = cnnsetup(cnn, train_x, train_y);opts.alpha = 1;opts.batchsize = 50;opts.numepochs = 1;cnn = cnntrain(cnn, train_x, train_y, opts);[er, bad] = cnntest(cnn, test_x, test_y);%plot mean squared errorfigure; plot(cnn.rL);assert(er<0.12, 'Too big error');```Example: Neural Networks---------------------```matlabfunction test_example_NNload mnist_uint8;train_x = double(train_x) / 255;test_x = double(test_x) / 255;train_y = double(train_y);test_y = double(test_y);% normalize[train_x, mu, sigma] = zscore(train_x);test_x = normalize(test_x, mu, sigma);%% ex1 vanilla neural netrand('state',0)nn = nnsetup([784 100 10]);opts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samples[nn, L] = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.08, 'Too big error');%% ex2 neural net with L2 weight decayrand('state',0)nn = nnsetup([784 100 10]);nn.weightPenaltyL2 = 1e-4; % L2 weight decayopts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex3 neural net with dropoutrand('state',0)nn = nnsetup([784 100 10]);nn.dropoutFraction = 0.5; % Dropout fraction opts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex4 neural net with sigmoid activation functionrand('state',0)nn = nnsetup([784 100 10]);nn.activation_function = 'sigm'; % Sigmoid activation functionnn.learningRate = 1; % Sigm require a lower learning rateopts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex5 plotting functionalityrand('state',0)nn = nnsetup([784 20 10]);opts.numepochs = 5; % Number of full sweeps through datann.output = 'softmax'; % use softmax outputopts.batchsize = 1000; % Take a mean gradient step over this many samplesopts.plot = 1; % enable plottingnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex6 neural net with sigmoid activation and plotting of validation and training error% split training data into training and validation datavx = train_x(1:10000,:);tx = train_x(10001:end,:);vy = train_y(1:10000,:);ty = train_y(10001:end,:);rand('state',0)nn = nnsetup([784 20 10]); nn.output = 'softmax'; % use softmax outputopts.numepochs = 5; % Number of full sweeps through dataopts.batchsize = 1000; % Take a mean gradient step over this many samplesopts.plot = 1; % enable plottingnn = nntrain(nn, tx, ty, opts, vx, vy); % nntrain takes validation set as last two arguments (optionally)[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');```[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/rasmusbergpalm/deeplearntoolbox/trend.png)](https://bitdeli.com/free "Bitdeli Badge")

Python的Read timed out报错问题解决

设置默认的退出时间 添加 --default-timeout:自定义timeout时间,一般能解决大部分timeout问题,但是无法提升下载速度。 1 pip -default-timeout=1000 -U networkx 设置专有下载镜像 在Windows下:C:\Users\Administrator\下新建pip文件夹,在创建pip.ini文件,拷贝下面代码进去,保存。 [global]...

dltan 1906

蓝牙模块HM-10手册

蓝牙模块HM-10手册,该手册对蓝牙模块HM-10进行了详细的介绍和使用方法以及一些AT指令。

HTTPSConnectionPool(host=‘files.pythonhosted.org‘, port=443): Read timed out解决

HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out解决

7me 1万+

安装Tensorflow报错Read timed out解决办法(Windows10环境下安装)

背景: 最近报了学校的的双创课,讲了些机器学习的东西。于是我这个菜狗就打算先安装一个tensorflow。 本以为是一条命令就能解决的是事情结果又出bug了。 问题描述: 看了官网的安装,想着一句pip install 就行了 pip3 install --upgrade tensorflow 结果安装了好几次都没有成功 ERROR: Exception: Traceback (most recent call last): File "C:\Users\Wang\anaconda3\lib\sit

weixin_43938599的博客 1061

pip install 模块时出现socket.timeout:The read operation timed out异常

下载超时,下载时长超过默认时间,可以学长修改响应时间,如下: windows环境下输入:pip --default-timeout=100 install 模块名; Linux环境下输入:pip --default-timeout=100 install -U 模块名;

programmeruse的博客 1614

pip安装selenium报错:Read timed out

今天打算把selenium降级重新安装,发现安装时总是失败,报如下错误: raise ReadTimeoutError(self._pool, None, 'Read timed out.') pip._vendor.requests.packages.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='pypi.p...

weixin_30950607的博客 493

python 安装第三方库超时报错--Read timed out和国内镜像地址

这里写自定义目录标题1. 解决方法,设置超时时间2. 解决方法:用国内镜像下载国内源: 1. 解决方法,设置超时时间 pip --default-timeout=100 install -U Pillow 2. 解决方法:用国内镜像下载 例如: pip install --index https://pypi.mirrors.ustc.edu.cn/simple/ gevent==1.4.0 国内...

u010984785的博客 1851

pip安装报错:HTTPSConnectionPool(host=‘files.pythonhosted.org‘, port=443): Read timed out.

问题:直接使用pip安装报错 D:\Python39\Scripts>pip install opencv-python==4.5.2.54 Collecting opencv-python==4.5.2.54 Downloading opencv_python-4.5.2.54-cp39-cp39-win_amd64.whl (34.7 MB) |████████████████████████████████| 34.7 MB 656 kB/s Collecting numpy&gt

qq_41596734的博客 1万+

d2l配置环境时的报错:raise ReadTimeoutError(self._pool, None, “Read timed out.“) pip._.ReadTimeo

【代码】d2l下载pytroch时的报错:raise ReadTimeoutError(self._pool, None, “Read timed out.“) pip._.ReadTimeo。

imblackcat的博客 438

pip安装python虚拟环境显示Read timed out

pip install virtualenvwrapper-win显示如下错误 pip install --index-url https://pypi.douban.com/simple pipenv使用豆瓣代理,成功 参考博文

qq_43078795的博客 335

pip换源,pip指定源安装,pip安装报错ReadTimeoutError解决办法

目录 pip报错:ReadTimeoutError 解决办法1:延长timeout时间 解决办法2:指定源安装 解决办法3:永久修改源 pip国内镜像 Linux系统 Windows系统 Mac系统 pip报错:ReadTimeoutError pip安装python包的时候,经常由于网速慢报错ReadTimeoutError,如下所示: r...

zkgoup的博客 977

【已解决】python 虚拟环境的三种方法+处理问题:Read timed out.

1 背景 在装一个以前项目,有几个库版本过低,为了避免来回改动版本,特地装了一个python虚拟环境。 系统win10,本身就是python3.7,再装一个python3.6.5. 2 装两个python3 怕路径冲突,我只在原来的python3.7上打✔,在环境变量中path加入路劲,另一个仅在虚拟环境中使用的,所以并没有打勾。 注意:这个是我自己想的,不知道对不对,实践是可行的。...

还有很长很长的路 2396
上一篇: window下安装pygame方法
下一篇: python编写计时器并可进行加减
AA赵师傅
博客等级 码龄9年 89粉丝 124原创
评论 1
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值