intrepidcs / python_ics

Library for interfacing with Intrepid devices in Python
MIT License
61 stars 29 forks source link

Doesn't work on Apple Silicon M1 device #138

Closed wa1one closed 1 year ago

wa1one commented 1 year ago

I did:

pip install python_ics

Then ran:

import ics as icsneo
devices = icsneo.FindNeoDevices()
print(devices)
for device in devices:
    print(device.Name, device.SerialNumber)

And no devices were found.

C++ examples work as expected. I was able to find all devices. Like:

1 device found!
[1] ValueCAN 3 88732    Connected: No   Online: No  Msg Polling: Off
ic3man5 commented 1 year ago

@wa1one I will look into this as soon as I can, I've been extremely strapped for time in the last couple months. Sorry for the late reply.

The build script is hardcoded for mac to point to a certain hash for libicsneo:

https://github.com/intrepidcs/python_ics/blob/master/build_libicsneo.py

Can you let me know what commit you are using for your C++ build?

drebbe-intrepid commented 1 year ago

@wa1one Hopefully this is resolved on your end. If you need further support here please feel free to re-open this issue.