首页
斐讯设备
疯言疯语
系统运维
编程语言
网站建设
友情连接
推荐
autojs
Search
1
charles破解注册码(含windows和mac)最新安装教程「亲测有效」
36 阅读
2
【omv5安装教程二】N1盒子Armbian系统下,一条命令搞定Openmediavault(OMV5)安装
18 阅读
3
博客简介
11 阅读
4
【N1安装飞牛优化四】关闭不必要服务优化记录
11 阅读
5
SSH如何访问fe80开头的ipv6????
11 阅读
登录
Search
标签搜索
JAVA
JAVA学习系列
docker
Linux
js
N1
git
模块二
端口
模块一
模块五
模块九
数据库
模块四
镜像
模块三
模块六
MySQL
百度网盘
nginx
DaiMaFengZi
累计撰写
587
篇文章
累计收到
8
条评论
首页
栏目
斐讯设备
疯言疯语
系统运维
编程语言
网站建设
页面
友情连接
推荐
autojs
搜索到
3
篇与
的结果
2023-07-10
pip安装报403错误 解决方法
问题使用清华源(https://pypi.tuna.tsinghua.edu.cn) pip安装报403错误ERROR: HTTP error 403 while getting https://pypi.tuna.tsinghua.edu.cn/packages/16/18/9726cac3c7cb9e5a1ac4523b3e508128136b37aadb3462c857a19318900e/Flask-BasicAuth-0.2.0.tar.gz#sha256=df5ebd489dc0914c224419da059d991eb72988a01cdd4b956d52932ce7d501ff (from https://pypi.tuna.tsinghua.edu.cn/simple/flask-basicauth/) ERROR: Could not install requirement Flask-BasicAuth>=0.2.0 from https://pypi.tuna.tsinghua.edu.cn/packages/16/18/9726cac3c7cb9e5a1ac4523b3e508128136b37aadb3462c857a19318900e/Flask-BasicAuth-0.2.0.tar.gz#sha256=df5ebd489dc0914c224419da059d991eb72988a01cdd4b956d52932ce7d501ff (from locust) because of HTTP error 403 Client Error: Forbidden for url: https://pypi.tuna.tsinghua.edu.cn/packages/16/18/9726cac3c7cb9e5a1ac4523b3e508128136b37aadb3462c857a19318900e/Flask-BasicAuth-0.2.0.tar.gz for URL https://pypi.tuna.tsinghua.edu.cn/packages/16/18/9726cac3c7cb9e5a1ac4523b3e508128136b37aadb3462c857a19318900e/Flask-BasicAuth-0.2.0.tar.gz#sha256=df5ebd489dc0914c224419da059d991eb72988a01cdd4b956d52932ce7d501ff (from https://pypi.tuna.tsinghua.edu.cn/simple/flask-basicauth/)这是因为 PyPI 禁用了对 API 的非 HTTPS 访问https://mail.python.org/pipermail/distutils-sig/2017-October/031712.html解决方法将安装源换成 https://pypi.python.org/simple/pip install xxxx -i https://pypi.python.org/simple/整个docker换源更换docker容器里的pip源。https://www.daimafengzi.ml/archives/166.html
2023年07月10日
0 阅读
0 评论
0 点赞
2022-11-25
更换docker容器里的pip源。
先进入容器docker ps docker exec -it 容器ID /bin/bash更换源pip config set global.index-url https://mirrors.aliyun.com/pypi/simple # 永久配置国内镜像源 pip config list国内源列表国内镜像源: 清华: https://pypi.tuna.tsinghua.edu.cn/simple 阿里云: http://mirrors.aliyun.com/pypi/simple/ 中国科技大学: https://pypi.mirrors.ustc.edu.cn/simple/ 华中理工大学: http://pypi.hustunique.com/ 山东理工大学: http://pypi.sdutlinux.org/ 豆瓣: http://pypi.douban.com/simple/
2022年11月25日
1 阅读
0 评论
0 点赞
2022-02-12
执行pip报错:sys.stderr.write(f“ERROR: {exc}“)
执行pip报错:sys.stderr.write(f"ERROR: {exc}")在刚刚装好的系统里面执行pip命令报错如下wget https://bootstrap.pypa.io/pip/2.7/get-pip.py python get-pip.py
2022年02月12日
0 阅读
0 评论
0 点赞