More Python quirks

Gary E. Miller gem at rellim.com
Sun Nov 20 06:05:09 UTC 2016


Yo Hal!

On Fri, 18 Nov 2016 23:55:24 -0800
Hal Murray <hmurray at megapathdsl.net> wrote:

> Things mostly work if you run
>   export PYTHONPATH=/usr/local/lib/python2.7/site-packages

Ditto for Gentoo.

> I don't know how to set up cleanly.  If I put it in my .bashrc, it
> doesn't work for root.  Maybe it should go in /etc/profile.d/

Since ntpviz needs it, and ntpviz is a daemon, then /etc/profile.d
seems better.  Gentoo should put it in /etc/env.d.

> I think the problem was that it finds the compiled stuff off in 
> $build/main/pylib, but can't find the source do do a check, so it
> runs the old compiled versions.  That was because I didn't run waf
> build 'cause I didn't think I needed it.

Well, you do.  There is your problem.




RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
	gem at rellim.com  Tel:+1 541 382 8588
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 455 bytes
Desc: OpenPGP digital signature
URL: <http://lists.ntpsec.org/pipermail/devel/attachments/20161119/7a77c4a5/attachment.bin>


More information about the devel mailing list