Date: prev next · Thread: first prev next last
2015 Archives by date, by thread · List index


Yvon Thoraval wrote:

2015-01-29 14:15 GMT+01:00 Piet van Oostrum <piet@vanoostrum.org>:

    grep PYTHONPATH /etc/*

Bingo !

$  cat /etc/launchd.conf | grep PYTHONPATH
setenv PYTHONPATH /usr/local/lib/python2.7/site-packages

may be Mac OS X Mountain Lion 10.8.4 needs this path ?

then, I would have better not to change that.

--
YT


The Python that comes with OS X has nothing in /usr/local/lib/python2.7/site-packages. In fact no 
system software uses /usr/local. So it could be from a Python that you installed yourself. Maybe 
Homebrew? Because the Pythons from www.python.org don't have anything in /usr/local.

Anyway, I think any decent Python system that needs /usr/local/lib/python2.7/site-packages would 
have this path built in.

Just try to delete it and see if anything fails. You can always put it back.

By the way, it seems that you can also set environment variables for a specific application in that 
application's Info.plist file.

With kind regards,
-- 
Piet van Oostrum <piet@vanoostrum.org>
WWW: http://pietvanoostrum.com/
PGP key: [8DAE142BE17999C4]

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.