Fix for Python library path problem

Eric S. Raymond esr at thyrsus.com
Wed Sep 27 20:28:30 UTC 2017


Fred Wright via devel <devel at 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']


-- 
		<a href="http://www.catb.org/~esr/">Eric S. Raymond</a>

My work is funded by the Internet Civil Engineering Institute: https://icei.org
Please visit their site and donate: the civilization you save might be your own.




More information about the devel mailing list