jedie / inverter-connect

Get information from Deye Microinverter
https://pypi.org/project/inverter-connect/
GNU General Public License v3.0
27 stars 9 forks source link

Mac error #57

Closed m-reuter closed 1 year ago

m-reuter commented 1 year ago

Hi,

thanks for the awesome project!

when running the cli.py --help on a Mac it installed all dependencies as expected and then gives this error message:

NotADirectoryError: Directory does not exists: "/etc/systemd/system"

Thanks for any help.

mgraupner commented 1 year ago

For a temporary fix comment the following line in inverter/user_settings.py (69) so it looks like this:

#systemd: dataclasses = dataclasses.field(default_factory=SystemdServiceInfo)

jedie commented 1 year ago

So sorry. I have to fix that. Systemd isn't available on mac ;)

jedie commented 1 year ago

It's fixed. Please test the new version.