[Hamlib-developer] Building Python bindings
Library to control radio transceivers and receivers
Brought to you by:
n0nb
From: Phil <phi...@gm...> - 2025-04-07 04:24:14
|
Thank you for reading this. The recent discussion about using rigctl within Python code has rekindled my interest in this subject. I don't remember ever being able to build the Python bindings and so I had used rigctl instead, which is still working. I decided to try to build the bindings today but without success. I do have hamlib-utils installed which gives me rigctl. This is what I'd tried: git clone https://github.com/Hamlib/Hamlib.git cd Hamlib ./bootstrap ./configure --with-python-binding This ends with "cannot find python". I also tried "env PYTHON=/usr/bin/python3 ./configure --with-python-binding". This resulted in a configuration table that showed "With Python binding yes" amongst other listings. "make" followed by "sudo make install" didn't generate any errors, however, Python cannot find either the "Hamlib" or "hamlib" module. I've spent hours searching the internet for an answer and my AI friend, although helpful, wasn't able suggest anything that solved the problem. -- Regards, Phil |