×

INDI Library v2.0.6 is Released (02 Feb 2024)

Bi-monthly release with minor bug fixes and improvements

Import PyIndi in Python

  • Posts: 3
  • Thank you received: 1

Import PyIndi in Python was created by Nick

I'm trying to write a python script to control my Sky-Watcher Allview mount on Ubuntu 16.04 LTS. I initially ran into some PyIndi install problems that I solved after following the discussion here , but I've run into a new problem. When I try to run my script it immediately fails on the import call with the following response:
Traceback (most recent call last):
  File "skywatcherComm.py", line 4, in <module>
    import PyIndi
  File "/usr/local/lib/python2.7/dist-packages/pyindi_client-0.2.0-py2.7-linux-x86_64.egg/PyIndi.py", line 28, in <module>
    _PyIndi = swig_import_helper()
  File "/usr/local/lib/python2.7/dist-packages/pyindi_client-0.2.0-py2.7-linux-x86_64.egg/PyIndi.py", line 24, in swig_import_helper
    _mod = imp.load_module('_PyIndi', fp, pathname, description)
ImportError: /usr/local/lib/python2.7/dist-packages/pyindi_client-0.2.0-py2.7-linux-x86_64.egg/_PyIndi.so: undefined symbol: ln_get_apparent_sidereal_time

Did I miss something in the install? Should I have rebooted after I finished? I'm still kind of new on Linux, and completely new to astronomy, so any insight is appreciated.
6 years 11 months ago #16244

Please Log in or Create an account to join the conversation.

Time to create page: 0.539 seconds