I had the same problem but swig is installed on my machine. Do you have any idea how to fix this ?

Read More...

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

Read More...