I am trying to write a simple python script to capture images with a SBIG CCD camera under Ubuntu. I installed the drivers and libraries using the provided PPA nad KStars sees the camera and is able to control it.
Then, I followed this
to install PyIndi. I needed to also install libindi-dev, not mentioned in the guide, in order for pip to successfully install PyIndi, but after that it installed with no issues.
The problem is when I try to import it into my python 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
---> 15 import _PyIndi
ImportError: /usr/local/lib/python3.8/dist-packages/_PyIndi.cpython-38-x86_64-linux-gnu.so: undefined symbol: IUSaveConfigText
I can't find much info about IUSaveConfigText on Google.
I did try to use the default indi packages that came with Ubuntu 20.10, and with them PyIndi imports ok and seems to work. They are version 1.8.5, versus 1.8.8 in the PPA. But without the PPA, I don't have the drivers for the SBIG Camera.