Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Howto install Pyindi-client on Ubuntu #25

Open
f6bvp opened this issue Nov 1, 2022 · 4 comments
Open

Howto install Pyindi-client on Ubuntu #25

f6bvp opened this issue Nov 1, 2022 · 4 comments

Comments

@f6bvp
Copy link

f6bvp commented Nov 1, 2022

Freshly installed Ubuntu 22.04 on a Raspberry Pi4b is working fine.
pyindi-client install needs pre requisit :
sudo apt install python3-setuptools
sudo apt install python-dev-is-python3 libindi-dev swig
sudo apt install python3-pip
sudo apt-get install libcfitsio-dev
sudo apt-get install libnova-dev
sudo pip install pyindi-client
Succes !

All this sequence is not clearly given on different sites.
For example on :
https://pypi.org/project/pyindi-client/
https://github.com/indilib/pyindi-client

Bernard
President dimension Parabole
http://radiotelescope-lavillette.fr

@f6bvp
Copy link
Author

f6bvp commented Nov 1, 2022

This page should be updated for Ubuntu 22.04
https://indilib.org/support/tutorials/166-installing-and-using-the-python-pyndi-client-on-raspberry-pi.html

@knro
Copy link
Contributor

knro commented Nov 2, 2022

Yes. I asked for volunteers to maintain the pyindi-client documentation on INDI website and elsewhere. If you're up for it, please let me know!

@Italianmoose
Copy link

Italianmoose commented Jul 12, 2023

Confirmed this worked on an RPi4 (using the Astroberry image), I couldn't get it to work on a Windows Subsystem for Linux using Ubuntu. Although it installed the python 2 version, so for an Astroberry install the steps would be:

sudo apt install python3-setuptools python-dev libindi-dev swig python3-pip libcfitsio-dev libnova-dev
pip3 install pyindi-client

@f6bvp
Copy link
Author

f6bvp commented Aug 4, 2023

For Ubuntu 23.04 the solution I found in order to install PyIndi-client was to download sources from

https://github.com/indilib/pyindi-client.git

Enter a Linux console and run command :
git clone https://github.com/indilib/pyindi-client.git
Then cd pyindi-client

Make compilation according to README executing command :

python setup.py install
did not find python !
I had to create a symbolic link :
sudo ln -s /usr/bin/python3.11 /usr/bin/python

Despite a lot of warnings pyindi-client PyIndi is now available in Python applications by
import pyindi

I hope this help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants