On Wed, 27 Sep 2017, Eric S. Raymond wrote: > Fred Wright via devel <devel@ntpsec.org>: > > FYI, I just took a look at sys.path on the three Linuces I have here > > (Ubuntu, CentOS, and Fedora), and none of them has a single entry with > > "local" as part of the path. > > I see this under Ubuntu: > > >>> [x for x in sys.path if x.find('local') != -1] > ['/usr/local/lib/python2.7/dist-packages/lbrynet-0.2.0-py2.7.egg', > '/usr/local/lib/python2.7/dist-packages/appdirs-1.4.0-py2.7.egg', > '/usr/local/lib/python2.7/dist-packages/jsonrpc-1.2-py2.7.egg', > '/usr/local/lib/python2.7/dist-packages/lbryum-2.6-py2.7.egg', > '/usr/local/lib/python2.7/dist-packages/leveldb-0.193-py2.7-linux-x86_64.egg', > '/usr/local/lib/python2.7/dist-packages/unqlite-0.2.0-py2.7-linux-x86_64.egg', > '/usr/local/lib/python2.7/dist-packages/txJSON_RPC-0.3.1-py2.7.egg', > '/usr/local/lib/python2.7/dist-packages/python_bitcoinrpc-0.1-py2.7.egg', > '/usr/local/lib/python2.7/dist-packages/seccure-0.3.1.3-py2.7.egg', > '/usr/local/lib/python2.7/dist-packages/Yapsy-1.11.223-py2.7.egg', > '/usr/local/lib/python2.7/dist-packages/miniupnpc-1.9-py2.7-linux-x86_64.egg', > '/usr/local/lib/python2.7/dist-packages/Twisted-16.0.0-py2.7-linux-x86_64.egg', > '/usr/local/lib/python2.7/dist-packages/jsonrpclib-0.1.7-py2.7.egg', > '/usr/local/lib/python2.7/dist-packages/dnspython-1.12.0-py2.7.egg', > '/usr/local/lib/python2.7/dist-packages/protobuf-3.0.0b2-py2.7.egg', > '/usr/local/lib/python2.7/dist-packages/qrcode-5.2.2-py2.7.egg', > '/usr/local/lib/python2.7/dist-packages/pbkdf2-1.3-py2.7.egg', > '/usr/local/lib/python2.7/dist-packages/ecdsa-0.13-py2.7.egg', > '/usr/local/lib/python2.7/dist-packages/slowaes-0.1a1-py2.7.egg', > '/usr/local/lib/python2.7/dist-packages/gmpy-1.17-py2.7-linux-x86_64.egg', > '/usr/local/lib/python2.7/dist-packages/temperusb-1.5.1-py2.7.egg', > '/usr/local/lib/python2.7/dist-packages/pyusb-1.0.0-py2.7.egg', > '/home/esr/.local/lib/python2.7/site-packages', > '/usr/local/lib/python2.7/dist-packages']
So *something* is adding additional entries to sys.path in your Ubuntu Python (but not mine). If there's a way to make that happen, it could be another solution. I *don't* see any of that here (ubuntu 14.04, Python 2.7.6), even though there are multiple packages with egg files. What does get_python_lib() show in this Python? It did occur to me that finding an FHS-compliant directory that's already in sys.path might be a solution, but when I discovered that, in all three Linuces I have here, the intersection between the set of sys.path directories and the set of FHS-compliant directories is empty, it seemed pointless to suggest it. Fred Wright _______________________________________________ devel mailing list devel@ntpsec.org http://lists.ntpsec.org/mailman/listinfo/devel