报错示例:

【踩坑】修复报错 failed to find libmagic_import

修复方法:

pip uninstall python-magic
pip install python-magic-bin==0.4.14