
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
欢迎分享,转载请注明来源:内存溢出
微信扫一扫
支付宝扫一扫
评论列表(0条)