PYTHONPATH follies

Gary E. Miller gem at rellim.com
Mon Jan 23 23:47:51 UTC 2017


Yo Hal!

On Mon, 23 Jan 2017 15:33:37 -0800
Hal Murray <hmurray at megapathdsl.net> wrote:

> >>  Some/many OS distros won't find our installed python libraries.  
> > If my diagnosis is correct, you'll find that the unaltered
> > PYTHONPATH on platforms where you have this problem is pointing at
> > something like /usr/ local/lib/python2.7/dist-packages - please
> > confirm.   
> 
> Are we on the same wavelength?
> 
> My normal/unaltered PYTHONPATH is not set.
> 
> I'm not having any problems with waf.  My problem is running ntpq
> after installing it.  Without setting PYTHONPATH in my environment, I
> get things like:
>   ntpq: can't find Python NTP library -- check PYTHONPATH.
>   No module named ntp.packet

What you describe is what I think I see on Gentoo as well.

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
	gem at rellim.com  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: 455 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ntpsec.org/pipermail/devel/attachments/20170123/f3f6e42f/attachment.bin>


More information about the devel mailing list