Python libs on Debian/Raspbian

Gary E. Miller gem at
Wed Dec 20 02:01:09 UTC 2017

Yo All!

To follow up to my recent post:

> > F) If the user unsets PYTHONPATH in their environment and creates
> > /usr/lib/pythonX.Y/site-packages/local.pth with the contents (no
> > quotes) "/usr/local/pythonX.Y/site-packages/ntp", NTPsec's python
> > utilities will then work.  
> Maybe.  Not looked much into how .pth files work, yet.

Another tweak.  Looking into this a tad more, according to PEP 370,
there is another logical place to put .pth files, at least for
some use cases we have been looking at:

~ # python -m site --user-site

No idea how this may, or may not, fit into future plans.

Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
	gem at  Tel:+1 541 382 8588

	    Veritas liberabit vos. -- Quid est veritas?
    "If you can’t measure it, you can’t improve it." - Lord Kelvin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <>

More information about the devel mailing list