×

INDI Library v2.0.6 is Released (02 Feb 2024)

Bi-monthly release with minor bug fixes and improvements

[SOLVED] pip3 install pyindi-client Unable to find libindiclient.a

  • Posts: 180
  • Thank you received: 30
I try to install pyindi-client as described in installing_pyndi_client .
When I try to pip install, for example, with
sudo pip3 install pyindi-client
I always get an error saying that setup.py cannot find libindiclient.a
Downloading pyindi-client-0.2.5.tar.gz (12 kB)
    ERROR: Command errored out with exit status 1:
     command: /usr/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-7g1ed4rp/pyindi-client/setup.py'"'"'; __file__='"'"'/tmp/pip-install-7g1ed4rp/pyindi-client/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-install-7g1ed4rp/pyindi-client/pip-egg-info
         cwd: /tmp/pip-install-7g1ed4rp/pyindi-client/
    Complete output (3 lines):
    Unable to find libindiclient.a in ['/usr/lib/x86_64-linux-gnu', '/usr/lib', '/usr/lib64', '/lib', '/lib64', '/usr/local/lib']
    Please specify a path where to find libindiclient.a in the setup.py script
    Exiting
    ----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
I searched for this file in the system but I didn't find it.
I found a few threads in this forum with similar problems but I could not extract any clue/solution for my case.
I must say I am used to python (about 15 years being my main programming language) but unfortunately I am dumb as a brick in linux/ubuntu.
So bear with me if this is a stupid question.

I am in a desktop PC running Ubuntu 20.04.1
The following user(s) said Thank You: Pedram
3 years 7 months ago #58131

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

  • Posts: 180
  • Thank you received: 30
I got libindiclient.a.
It was necessary to install first libindi-dev.
This was not indicated in the INDI Python Programming Tutorial I linked before.
I do not know whether the line was forgotten or the tutorial is outdated.
It could be the latter because at least one instruction rises a Deprecation Warning
The following user(s) said Thank You: Pedram, Stephen Cookson, lanco
3 years 7 months ago #58163

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

Time to create page: 0.700 seconds