ebroecker / canmatrix

Converting Can (Controller Area Network) Database Formats .arxml .dbc .dbf .kcd ...
BSD 2-Clause "Simplified" License
908 stars 401 forks source link

This format is not supported for writing #157

Closed DirewolfKai closed 6 years ago

DirewolfKai commented 6 years ago

Hi Eduard,

I'm new to python and want to use your code to convert .dbc to .xlsx. I installed the package and the location is right. I also added the environment and double checked it. However, when I type in "canconvert A.dbc B.xlsx" in the command window. It returned Error -formats - This file format is not supported for writing.

Could you please give me some comments on this issue? Thank you for your time!

Best,

Kai

ebroecker commented 6 years ago

did you install xlswriter package? pip install xlswriter.

altendky commented 6 years ago

Or if canmatrix is installed as canmatrix[xlsx] the dependencies would be installed automatically.

DirewolfKai commented 6 years ago

Hi Eduard,

It works now! Thank you for your comments and help!