Welcome, Guest
Username: Password: Remember me
27 Feb 2017
INDI development team is happy to announce the release of INDI Library v1.4.0. This new exciting release builds on the maturity of INDI Library and comes with many new supported devices and fixes for existing drivers. Several improvements and enhancements are included in this release including native support for Cygwin and MacOS platforms in addition to Linux, BSD, and Windows (Client only).
Read More...
  • Page:
  • 1

TOPIC: Import PyIndi in Python

Import PyIndi in Python 1 month 1 week ago #16243

  • nturner
  • nturner's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 3
  • Thank you received: 1
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.

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

Last Edit: by nturner.

Import PyIndi in Python 1 month 1 week ago #16250

  • nturner
  • nturner's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 3
  • Thank you received: 1
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.
The following user(s) said Thank You: knro

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

  • Page:
  • 1
Time to create page: 0.111 seconds

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!

Gallery

Replica

Why INDI

Replica