More Python quirks

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

Yo Hal!

On Fri, 18 Nov 2016 23:55:24 -0800
Hal Murray <hmurray at> 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.

Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
	gem at  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: <>

More information about the devel mailing list