Tried using the wrapper. I think I got everything but I get the following error:
Traceback (most recent call last):
File "asitest.py", line 3, in
import asi
ImportError: /home/mark/src/telescope-finder-camera/.env/lib/python3.8/site-packages/asi.cpython-38-x86_64-linux-gnu.so: undefined symbol: libusb_handle_events_timeout
Never mind I figured it out. For linux the USB is under root because its hardware access. So the cython and the libraries but all be under root though the calling script can be at user level.
I'm not sure I understand how you've solved it. Based on the "undefined symbol" error, my guess would be that you'd need to link against libusb, by adding "usb" to "libraries" in setup.py.
Tried using the wrapper. I think I got everything but I get the following error:
Traceback (most recent call last): File "asitest.py", line 3, in
import asi
ImportError: /home/mark/src/telescope-finder-camera/.env/lib/python3.8/site-packages/asi.cpython-38-x86_64-linux-gnu.so: undefined symbol: libusb_handle_events_timeout
Never mind I figured it out. For linux the USB is under root because its hardware access. So the cython and the libraries but all be under root though the calling script can be at user level.