I am trying to write a small script to capture a image with a SBIG CCD camara using python under Ubuntu 20.10.
Using the Indi libraries PPA I installed the 1.8.8 libraries and the SBIG Driver. I confirmed they work by using KStars.
After that, I followed this
guide
to install PyIndi and, after apt installing libindi-dev, I got pip to correctly install PyIndi.
However, when I try to import it into my script I get this error:
ImportError Traceback (most recent call last)
~/Documentos/Bionirs/Prototipo/Camara SBIG/SampleCCD.py in
----> 2 import PyIndi
3 import time
4 import sys
5 import threading
6 from astropy.io import fits
/usr/local/lib/python3.8/dist-packages/PyIndi.py in <module>
13 from . import _PyIndi
14 else:
---> 15 import _PyIndi
16
17 try:
ImportError: /usr/local/lib/python3.8/dist-packages/_PyIndi.cpython-38-x86_64-linux-gnu.so: undefined symbol: IUSaveConfigText
I tried purging the PPA and use the version of the libraries that came with Ubuntu 20.10 (1.8.5) and, after reinstalling PyIndi, it now imports correctly. However, without the PPA, I don't have the drivers for the CCD.