labelle-org / labelle

Label printing software
Apache License 2.0
33 stars 4 forks source link

Support on Macs #5

Open maresb opened 5 months ago

maresb commented 5 months ago

Does Labelle work on a Mac? I don't know, since I don't have one. After https://github.com/computerlyrik/dymoprint/pull/56 I don't see any obvious reason why it shouldn't work.

I'd be grateful to anyone who could share their experiences.

maresb commented 4 months ago

I am borrowing a mac for a few hours.

The first error I'm hitting is usb.core.NoBackendError: No backend available from usb.core:1309 arising from labelle.lib.detect:57. I figured it might be a missing libusb, but running brew install libusb didn't resolve the error. Still investigating...

maresb commented 4 months ago

Ah, hmm, I'm working in a Conda environment, and micromamba install libusb did resolve the issue. So somehow it's not just that libusb must be installed, but it also must be detectable by the environment.

Next error: Access denied (insufficient permissions) when running detach_kernel_driver from labelle.lib.detect:114.

I'm giving up for now, since I think I'm unlikely to make further progress at the moment. See #17.

maresb commented 4 months ago

Since hidapi doesn't seem viable at the moment, I don't see any good way forward here.