Nick created a new topic ' Import PyIndi in Python' in the forum. 3 months ago

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.

Read More...

Jasem Mutlaq thanked Nick in topic Import PyIndi in Python 3 months ago
Nick replied to the topic 'Import PyIndi in Python' in the forum. 3 months ago

I ended up solving my own problem. I had installed INDI using the instructions for Ubuntu in the download page on this site, but I after visiting the project on GitHub noticed that I should also run the following:

sudo apt-get install libnova-dev libcfitsio-dev libusb-1.0-0-dev zlib1g-dev libgsl-dev build-essential cmake git libjpeg-dev libcurl4-gnutls-dev

That solved my problem.

Read More...

Nick created a new topic ' Import PyIndi in Python' in the forum. 3 months ago

I'm trying to write a python script to control my Sky-Watcher Allview mount on Ubuntu 16.04 LTS. I ran into some install problems that I solved by following the discussion here , but have run into a new problem that I didn't find anywhere already in the forums. When I try to run my script I get the following message:

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 on install? Should I have rebooted after install? Any insight is appreciated.

Read More...

Login

3rd Party

Choose from the numerous 3rd party INDI drivers to suit your needs!

Got Problem?

Check out the FAQ, the forum, and the bug tracking system to resolve any issues you might have!
You can also subscribe to INDI newsletter and development mailing lists to get the latest updates on INDI!