python 运行出现:ImportError: cannot import name ‘getStringIO’ from ‘reportlab.lib.utils’ (C:\Users\admin\Desktop\test\SuperMarket_Management_System_Django\venv\lib\site-packages\reportlab\lib\utils.py)
解决办法:reportlab版本问题,Change reportlab to version 3.6.6
pip install reportlab==3.6.6
参考:https://github.com/xhtml2pdf/xhtml2pdf/issues/589