Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection bro

该问题可能是源的问题,我目前换了pip源进行解决。

Simple Indexicon-default.png?t=M3K6https://pypi.mirrors.ustc.edu.cn/simple/

阿里云 http://mirrors.aliyun.com/pypi/simple/

中国科技大学 https://pypi.mirrors.ustc.edu.cn/simple/

豆瓣(douban) http://pypi.douban.com/simple/

清华大学 https://pypi.tuna.tsinghua.edu.cn/simple/
我目前使用中科大的源进行下载

首先使用pip3 ,安装pip

pip3 install -i https://pypi.mirrors.ustc.edu.cn/simple/ --trusted-host pypi.mirrors.ustc.edu.cn pip
Collecting pip
  Cache entry deserialization failed, entry ignored
  Downloading https://mirrors.bfsu.edu.cn/pypi/web/packages/a4/6d/6463d49a933f547439d6b5b98b46af8742cc03ae83543e4d7688c2420f8b/pip-21.3.1-py3-none-any.whl (1.7MB)
    100% |████████████████████████████████| 1.7MB 942kB/s 
Installing collected packages: pip
Successfully installed pip-21.3.1
然后 安装av

 pip3 install -i https://pypi.mirrors.ustc.edu.cn/simple/ --trusted-host pypi.mirrors.ustc.edu.cn av
WARNING: pip is being invoked by an old script wrapper. This will fail in a future version of pip.
Please see https://github.com/pypa/pip/issues/5599 for advice on fixing the underlying issue.
To avoid this problem you can invoke Python with '-m pip' instead of running pip directly.
Defaulting to user installation because normal site-packages is not writeable
Looking in indexes: https://pypi.mirrors.ustc.edu.cn/simple/
Collecting av
  Using cached https://mirrors.bfsu.edu.cn/pypi/web/packages/56/e9/8928607b46177d907deeb8a10f40156afab401b7120e63662f392074475b/av-9.2.0.tar.gz (2.4 MB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Building wheels for collected packages: av
  Building wheel for av (pyproject.toml) ... done
  Created wheel for av: filename=av-9.2.0-cp36-cp36m-linux_x86_64.whl size=5878372 sha256=554219aab65be28227d44a01a8532f43bd2f3e508987eb412749c2a5de7b0189
  Stored in directory: /home/xufuliang/.cache/pip/wheels/6d/86/0f/4bd66c9d0be54cf8418d7142ebc9b618c3c66f796ca2be45d4
Successfully built av
Installing collected packages: av
  WARNING: The script pyav is installed in '/home/xufuliang/.local/bin' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Successfully installed av-9.2.0
最后安装ffmpeg,

安装依赖包

 sudo apt install yasm libsdl2-dev libx264-dev libx265-dev libfdk-aac-dev
源码编译ffmpeg

./configure --prefix=${FFMPEG_INSTALL_PATH} --enable-shared --enable-libx264 --enable-libx265 --enable-gpl --enable-libfdk-aac --enable-nonfree

make&&make install

  • 1
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论
由于提供的引用内容中没有完整的问题,我无法回答你的问题。请提供完整的问题,我将尽力为你提供答案。 #### 引用[.reference_title] - *1* [关于Python 安装模块时的错误提示 WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=...](https://blog.csdn.net/weixin_44899752/article/details/128372969)[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^v91^control_2,239^v3^insert_chatgpt"}} ] [.reference_item] - *2* [WARNING:Retrying(Retry(total=4,connect=None,read=None,redirect=None,status =None))终极解决方案](https://blog.csdn.net/allrubots/article/details/130791160)[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^v91^control_2,239^v3^insert_chatgpt"}} ] [.reference_item] - *3* [WARNING:Retrying(Retry(total=4,connect=None,read=None,redirect=None,status =None))connect broken解决...](https://blog.csdn.net/weixin_43178406/article/details/129298593)[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^v91^control_2,239^v3^insert_chatgpt"}} ] [.reference_item] [ .reference_list ]
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

莫回首�

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值