Python libs on Debian/Raspbian

Hal Murray hmurray at
Sat Dec 9 02:11:51 UTC 2017

site-packages isn't on python's search path.

murray at deb:~$ python -c "import sys; print sys.path;"
['', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-x86_64-linux-gnu', 
'/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old', 
'/usr/lib/python2.7/lib-dynload', '/usr/local/lib/python2.7/dist-packages', 
'/usr/lib/python2.7/dist-packages', '/usr/lib/pymodules/python2.7']
murray at deb:~$ ntpq --version
ntpq: can't find Python NTP library.
No module named ntp.control
murray at deb:~$ 

The local.pth recipe may work, but I haven't found the magic yet.

These are my opinions.  I hate spam.

More information about the devel mailing list