pipreqs UnicodeDecodeError编码错误

背景

使用

pipreqs ./

命令生成 requirements文件时报此错误

原因

编码错误

解决

指的编码类型。
使用命令

pipreqs ./ --encoding=utf8

猜你喜欢

转载自blog.csdn.net/summerriver1/article/details/128315856