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-05 13:00:18
|
Thanks to Ervin for jogging my memory. There is a way to make such a path permanent. I did this in order to seamlessly test the Python modules when I've installed Hamlib to $HOME/local. The following should work even though I last played with this almost three years ago, In my case I have directories for Python 2.7, 3.6, and 3.7: Create the following directory: ~/.local/lib/python3.7/site-packages Under that directory should be a file that has the extension '.pth'. I created it as: home_local.pth In that file should be the following: /home/nate/local/lib/python3.7/site-packages I think that replacing the major and minor version numbers with those on your system should work as well as the path in the file could probably be written as: /usr/local/lib/python3.7/site-packages may work as well. There is probably a way to create a similar file under /etc for site wide, i.e. available to all users. 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 |