xlwings is really designed to interact with an executable instance of Excel and therefore does not work on Linux.
You need to take a look at the pandas to_excel method , or you can even use one of the base libraries that this method uses ( XlsxWriter, openpyxland xlwt).
In short, with pandas you can do:
df.to_excel('output.xlsx', 'Sheet1')
source
share