pipreqs使用踩坑 黑麋鹿 收录于 类别 Python 2021-09-03 2021-09-03 约 96 字 预计阅读 1 分钟 目录 安装 使用 GBK报错 安装 1 pip install pipreqs 使用 1 pipreqs . GBK报错加 --encoding=utf8参数 1 pipreqs . --encoding=utf8 check_hostname requires server_hostname这可能是因为使用代理造成的,不管怎么样,解决方法是降低urllib3版本: 1 pip install urllib3==1.25.11