Attn: Install path debaters
Richard Laager
rlaager at wiktel.com
Fri Jan 5 02:34:35 UTC 2018
On 01/04/2018 04:55 PM, Gary E. Miller via devel wrote:
>> Ubuntu does.
> Then why do they include it in PATH, but not PYTHONPATH?
s/PYTHONPATH/sys.path/
It *is* in both PATH and sys.path.
$ echo $PATH
/home/rlaager/bin:/usr/lib/ccache:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/lib/jvm/java-8-oracle/bin:/usr/lib/jvm/java-8-oracle/db/bin:/usr/lib/jvm/java-8-oracle/jre/bin
$ python -c 'import sys ; print(sys.path)'
['', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-x86_64-linux-gnu',
'/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old',
'/usr/lib/python2.7/lib-dynload',
'/usr/local/lib/python2.7/dist-packages',
'/usr/lib/python2.7/dist-packages',
'/usr/lib/python2.7/dist-packages/PILcompat',
'/usr/lib/python2.7/dist-packages/gtk-2.0']
--
Richard
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 455 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ntpsec.org/pipermail/devel/attachments/20180104/f8640524/attachment.bin>
More information about the devel
mailing list