I have built from source the latest version of libindi (
github.com/indilib/indi
) and pyindi-client (
svn.code.sf.net/p/pyindi-client/code/
) and there were no errors, everything built ok. I believe I have all the necessary dependencies installed. indiserver starts up fine so I believe the server installation is ok.
However, when I try to import PyIndi into Python 3 I get the following error:
$ python3
Python 3.5.3 (default, Jan 19 2017, 14:11:04)
[GCC 6.3.0 20170124] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import PyIndi
Traceback (most recent call last):
File "~/Pyindi/trunk/pip/pyindi-client/PyIndi.py", line 18, in swig_import_helper
return importlib.import_module(mname)
File "/usr/lib/python3.5/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 986, in _gcd_import
File "<frozen importlib._bootstrap>", line 969, in _find_and_load
File "<frozen importlib._bootstrap>", line 958, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 666, in _load_unlocked
File "<frozen importlib._bootstrap>", line 577, in module_from_spec
File "<frozen importlib._bootstrap_external>", line 914, in create_module
File "<frozen importlib._bootstrap>", line 222, in _call_with_frames_removed
ImportError: /usr/local/lib/python3.5/dist-packages/pyindi_client-0.2.0-py3.5-linux-armv7l.egg/_PyIndi.cpython-35m-arm-linux-gnueabihf.so: undefined symbol: IUFindNumber
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "~/Pyindi/trunk/pip/pyindi-client/PyIndi.py", line 21, in <module>
_PyIndi = swig_import_helper()
File "~/Pyindi/trunk/pip/pyindi-client/PyIndi.py", line 20, in swig_import_helper
return importlib.import_module('_PyIndi')
File "/usr/lib/python3.5/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
ImportError: /usr/local/lib/python3.5/dist-packages/pyindi_client-0.2.0-py3.5-linux-armv7l.egg/_PyIndi.cpython-35m-arm-linux-gnueabihf.so: undefined symbol: IUFindNumber