摘要: 1、bandersnatch安装: pip install bandersnatch 2、生成bandersnatch.conf文件:并创建软件包存放目录。 bandersnatch -c 路径bandersnatch.conf mirror 3、修改bandersnatch.conf文件,只修改如 阅读全文
posted @ 2023-08-28 15:03 海東青 阅读(779) 评论(0) 推荐(0)
摘要: 1、首先根据pip源的url将软件名全部爬出来。 import os import requests import re report = requests.get('https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple/') # url text 阅读全文
posted @ 2023-08-28 11:27 海東青 阅读(253) 评论(0) 推荐(0)