Fix for Python library path problem
Gary E. Miller
gem at rellim.com
Wed Sep 27 20:49:33 UTC 2017
Yo Eric!
On Wed, 27 Sep 2017 16:43:54 -0400
"Eric S. Raymond" <esr at thyrsus.com> wrote:
> Gary E. Miller via devel <devel at ntpsec.org>:
> > Except for your upcoming solution to the PYTHONPATH issue.
>
> Explain "the PYTHONPATH issue", please.
I just installed git head. No PYTHONPATH:
spidey ntpsec # ntpq -up
ntpq: can't find Python NTP library.
No module named 'ntp'
When I add PYTHONPATH it works again:
spidey ntpsec # export PYTHONPATH=/usr/local/lib64/python3.4/site-packages
spidey ntpsec # ntpq -up
[...]
When I unset PYTHONPATH, it is broken again:
spidey ntpsec # unset PYTHONPATH
spidey ntpsec # ntpq -up
ntpq: can't find Python NTP library.
No module named 'ntp'
This is why all the commits that ripped out PYTHONPATH stuff need to be
reverted.
This is how this whole mess got started.
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: 488 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ntpsec.org/pipermail/devel/attachments/20170927/ffa73eda/attachment.bin>
More information about the devel
mailing list