I haven't yet found a clean solution to this problem. Seems to by a bug in the new libraries? Anyone knows where should I report it?
I do have a workaround: I can install PyIndi via pip before adding the PPA with the new versions of the libraries and then, only after installing PyIndi, update to the PPA and install the drivers for my CCD. Doing this PyIndi imports and works ok (I guess it is build against the old libraries?) and I have the drivers for the CCD.
Read More...
I am still having this problem, but I have a messy workaround.
If I install PyIndi via pip *before* installing the PPA (and, thus using the libraries provided by Ubuntu, v1.8.5) the import works. I am then able to install the PPA, update the libraries and install the drivers of my CCD and everything seems to continue to work OK.
However, I think this is a bug that needs to be solved. Anyone knows where to report it?
Read More...
Hi.
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
HI.
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
guide
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
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