pip install -r requriements.txt
pip install pipreqs# 项目根目录执行 pipreqs ./
如果报编码错误 (UnicodeDecodeError: 'gbk' codec can't decode byte 0xa8 in position 24: illegal multibyte sequence)
可使用:pipreqs ./ --encoding=utf8