# Rossum CLI ImportError: cannot import name 'save_virtual_workbook' from openpyxl

Running the Rossum CLI failed with "ImportError: cannot import name 'save_virtual_workbook' from 'openpyxl.writer.excel'". The save_virtual_workbook helper was removed in openpyxl 3.1, and the Rossum CLI code still imported it, so any install with openpyxl &gt;= 3.1 crashed on the export path. The reporter confirmed the error disappeared after downgrading, and a second user confirmed the same workaround.

## How to handle it

Pin openpyxl to a version that still has save_virtual_workbook: pip install openpyxl==3.0.10. The reporter confirmed the error disappeared after downgrading, and a second user confirmed the same fix for XLS exports. Longer term, the Rossum CLI needs to stop importing the removed helper (a code upgrade for openpyxl 3.1+). Source: https://github.com/rossumai/rossum/issues/42