Re: [Hamlib-developer] hamlib Python module
Library to control radio transceivers and receivers
Brought to you by:
n0nb
From: Nate B. <n0...@n0...> - 2023-02-06 18:27:27
|
* On 2023 05 Feb 19:12 -0600, Phil wrote: > > On 5/2/23 23:00, Nate Bargmann wrote: > > There is a way to make such a path permanent. > > Thank you Ervin and Nate, problem solved. > > By the way adding a link to "/usr/local/lib" and adding "/usr/local/lib" to > my path didn't help and I'm not sure why. If you mean the shell's PATH variable, that is only for executables. Libraries have a much different search mechanism. See: man ldconfig > However adding a ".pth" file to > "/home/phil/.local/lib/python3.10/site-packages/" did the trick. It would seem that just making the path "python3" would be sufficient, but I suspect there would be symbol mismatches of modules compiled against different minor versions of Python. > I've made a note of the procedure because I'll probably need to do this > again when Python is upgraded. Yup. Then a few years down the road you get to search through the file system trying to remember that trick. 🤣 73, Nate -- "The optimist proclaims that we live in the best of all possible worlds. The pessimist fears this is true." Web: https://www.n0nb.us Projects: https://github.com/N0NB GPG fingerprint: 82D6 4F6B 0E67 CD41 F689 BBA6 FB2C 5130 D55A 8819 |