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 = '"'"'/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
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
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.
[SOLVED] pip3 install pyindi-client Unable to find libindiclient.a #58163
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