pip uninstall reportlab # 先卸载现有版本 pip install --upgrade --force-reinstall reportlab[graphics] #重新安装完整版ReportLab