indilib / pyindi-client

GNU General Public License v3.0
21 stars 8 forks source link

Howto install Pyindi-client on Ubuntu #25

Open f6bvp opened 2 years ago

f6bvp commented 2 years ago

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 commented 2 years ago

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 commented 2 years ago

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 commented 1 year ago

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 commented 1 year ago

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.