Welcome, Guest
Username: Password: Remember me
20 Aug 2017
INDI development team is happy to announce the release of INDI Library v1.5.0. This new exciting release builds on the maturity of INDI Library and comes with many new supported devices and fixes for existing drivers.
Read More...
  • Page:
  • 1
  • 2

TOPIC: Problems with installing Python wrappers for INDI

Problems with installing Python wrappers for INDI 7 months 17 hours ago #15382

I don't think making a fresh install is necessary. If you download the pyindi-client package, untar it, modify the line in setup.cfg
libraries= z nova cfitsio
and run python setup.py install --user, that should work if you don't have already installed the package.If setup finds it is already there it may not reinstall anything. In this case you should run python setup.py build --force and python setup.py install --user.
Give me the output of these setup build and install commands and what displays the PyIndi import.
Normally with the --user flag, the resulting package is installed in ~/.local/ so a good thing would be to test it with
ls -l ~/.local/lib/python3.5/site-packages/pyindi_client-0.1.0a1-py3.5-linux-x86_64.egg/
ldd -v ~/.local/lib/python3.5/site-packages/pyindi_client-0.1.0a1-py3.5-linux-x86_64.egg/_PyIndi.cpython-35m-x86_64-linux-gnu.so
Replace the python version with the one you use, and also the architecture name.
And the good idea is not to refresh the tutorial page, but modify the setup scripts for the new libindi version (and pip which tells you to use version numbers, but now consider that 0.1.0a1 is not enough a version number).
The following user(s) said Thank You: knro

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

Problems with installing Python wrappers for INDI 7 months 15 hours ago #15389

it works :cheer: :woohoo:

Amazing. I can import the PyIndi library without error. Really good. I spend 3 days on this, my eyes are tired and blood tinted.

It's time to go to bed. Big thank you. Next step is to download a picture. I'll keep you in touch geehalel.

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

Kubuntu 16.04 with KDE Plasma 5.5.5 using PPA for latest KStars-bleeding and INDI
Raspberry Pi 2 with Ubuntu Mate
Atik 314E - QHY5 - CG5

Problems with installing Python wrappers for INDI 7 months 9 hours ago #15394

geehalel wrote: I don't think making a fresh install is necessary. If you download the pyindi-client package, untar it, modify the line in setup.cfg

libraries= z nova cfitsio
and run python setup.py install --user, that should work if you don't have already installed the package.If setup finds it is already there it may not reinstall anything. In this case you should run python setup.py build --force and python setup.py install --user.
Give me the output of these setup build and install commands and what displays the PyIndi import.
Normally with the --user flag, the resulting package is installed in ~/.local/ so a good thing would be to test it with
ls -l ~/.local/lib/python3.5/site-packages/pyindi_client-0.1.0a1-py3.5-linux-x86_64.egg/
ldd -v ~/.local/lib/python3.5/site-packages/pyindi_client-0.1.0a1-py3.5-linux-x86_64.egg/_PyIndi.cpython-35m-x86_64-linux-gnu.so
Replace the python version with the one you use, and also the architecture name.
And the good idea is not to refresh the tutorial page, but modify the setup scripts for the new libindi version (and pip which tells you to use version numbers, but now consider that 0.1.0a1 is not enough a version number).


Great that it works now! Does the Python INDI tutorial requires any updates?

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

Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?

Problems with installing Python wrappers for INDI 7 months 7 hours ago #15402

Nice that it is working now on your setup,
I don't think I should change the tutorial, but we may now define the right dependencies in libindi.pc for static linking. Actually maybe we should consider the client case and the driver case. Quickly looking at the built libs, there is now only one static libindiclient.a library (the qt version has gone?), and two static (libindidriver.a+libindiAlignmanetDriver.a) driver libraries plus their dynamic versions. Is there a reason to not make a dynamic client version ?
Anyway you have added the Libs.private item in libindi.pc so I may use a Python pkgconfig package to get the right flags. But that won't work for preceding libindi versions and will add a python dependency. I think I'll simply change the libraries line (and leave the preceding version as a comment) and change the pre version flag to avoid the use of the --pre flag in pip.

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

Problems with installing Python wrappers for INDI 6 months 4 weeks ago #15436

There is no dynamic client library offered by default because the API/ABI is still in flux and while we have control over most drivers to keep them in sync with these changes, we do not have controls over the various clients so it is better if they are statically linked with the INDI client library to avoid any issues until a time when the ABI/API is very stable.

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

Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?
  • Page:
  • 1
  • 2
Time to create page: 0.188 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