ModuleNotFoundError: No module named 'openpyxl'

Hello all

I would like to use Python4Capella.

I followed the installation procedure … and tested some scripts samples.

“List_logical_components_in_console.py” and “List_logical_functions_in_console.py” are working well.

But I when I try any of the scripts to export to excel, I get the following message
“ModuleNotFoundError: No module named ‘openpyxl’”

How can I add openpyxl to my configuration ?

You need to install openpyxl:

pip install openpyxl

More details here if you are using the Python 3.7 provided on the Python4Capella github project.

1 Like

Thanks!

Indeed I found the doc this morning also.

Works perfectly now…