摘要: 在文件顶部加上以下语句 import urllib3 urllib3.disable_warnings() 阅读全文
posted @ 2021-04-12 22:32 乱炖er 阅读(113) 评论(0) 推荐(0) 编辑
摘要: 点底部的加号,弹出的对话框选择“Manage Repositories” 默认值:https://pypi.python.org/simple 国内常用源: 清华:https://pypi.tuna.tsinghua.edu.cn/simple阿里:https://mirrors.aliyun.co 阅读全文
posted @ 2021-04-12 12:38 乱炖er 阅读(1157) 评论(0) 推荐(0) 编辑
摘要: 1,删除venv/lib/python3.7整个目录 2,运行(虚拟环境) python3 -m ensurepip python3 -m pip install --upgrade pip setuptools wheel 3,此时会在 venv/lib下生产新的 python3.7 目录,之后就 阅读全文
posted @ 2021-04-12 12:24 乱炖er 阅读(284) 评论(0) 推荐(0) 编辑