×

INDI Library v2.0.7 is Released (01 Apr 2024)

Bi-monthly release with minor bug fixes and improvements

Unable to install Pyindi-client on Ubuntu 22.04.2 LTS

  • Posts: 2
  • Thank you received: 0
Hello !

I tried to install the pyindi-client but I'm facing an error :

pip install pyindi-client
error: command '/usr/bin/swig' failed with exit code 70

Here is a part of the stacktrace :

/usr/include/libindi/indipropertyview.h:177: Error: 'PropertyBasicBlob_getPermissionAsString' is multiply defined in the generated target language module.
/usr/include/libindi/indipropertybasic.h:71: Error: Previous declaration of 'PropertyBasicBlob_getPermissionAsString'
/usr/include/libindi/indipropertyview.h:185: Error: 'PropertyBasicBlob_getTimeout' is multiply defined in the generated target language module.
/usr/include/libindi/indipropertybasic.h:73: Error: Previous declaration of 'PropertyBasicBlob_getTimeout'
/usr/include/libindi/indipropertyview.h:204: Error: 'PropertyBasicBlob_count' is multiply defined in the generated target language module.
/usr/include/libindi/indipropertybasic.h:105: Error: Previous declaration of 'PropertyBasicBlob_count'
/usr/include/libindi/indipropertyview.h:207: Error: 'PropertyBasicBlob_findWidgetByName' is multiply defined in the generated target language module.
/usr/include/libindi/indipropertybasic.h:139: Error: Previous declaration of 'PropertyBasicBlob_findWidgetByName'
/usr/include/libindi/indipropertyview.h:324: Error: 'PropertyBasicBlob_at' is multiply defined in the generated target language module.
/usr/include/libindi/indipropertybasic.h:116: Error: Previous declaration of 'PropertyBasicBlob_at'
indiclientpython.i:71: Error: 'PropertyBasicBlob___getitem__' is multiply defined in the generated target language module.
indiclientpython.i:109: Error: Previous declaration of 'PropertyBasicBlob___getitem__'
indiclientpython.i:75: Error: 'PropertyBasicBlob___len__' is multiply defined in the generated target language module.
indiclientpython.i:113: Error: Previous declaration of 'PropertyBasicBlob___len__'
/usr/include/libindi/indiproperties.h:48: Warning 509: Overloaded method INDI::Properties::push_back(INDI::Property &&) effectively ignored,
/usr/include/libindi/indiproperties.h:47: Warning 509: as it is shadowed by INDI::Properties::push_back(INDI::Property const &).
/usr/include/libindi/indiproperties.h:74: Warning 512: Overloaded method INDI::Properties::begin() const ignored,

I tried to install it from the sources and I had the same error

Any idea of to solve this ?

My configuration :
Ubuntu 22.04.2 LTS
python3.10.6

Thanks
1 year 3 weeks ago #92482

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

  • Posts: 276
  • Thank you received: 70
The pyindi-client module is probably not up to date in PyPi. You should install directly from github:

pip3 uninstall pyindi-client
pip3 install --use-pep517 --upgrade git+https://github.com/indilib/pyindi-client.git#egg=pyindi-client

The command above should rebuild pyindi-client and ignore any local wheels that are already built.
1 year 1 week ago #92837

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

Time to create page: 0.429 seconds