<br>Hi all,<br><div class="gmail_quote">
I just updated textmate, and it seems the system is not picking up the<br>
PYTHONPATH.<br>
<br>
in my .profile I have the PYTHONPATH listed as ...<br>
export<br>
PYTHONPATH=/usr/local/lib:/Users/lisagandy/infolab_projects/NewsAtSevenShared:/Users/lisagandy/infolab_projects/<br>
<br>
when I run the python shell and type sys.path I get ...<br>
['',<br>
'/Library/Python/2.6/site-packages/simplejson-2.0.9-py2.6-macosx-10.6-universal.egg',<br>
'/Library/Python/2.6/site-packages/restclient-0.9.10-py2.6.egg',<br>
'/Library/Python/2.6/site-packages/httplib2-0.6.0-py2.6.egg',<br>
'/Library/Python/2.6/site-packages/tweetstream-0.3.3-py2.6.egg',<br>
'/Library/Python/2.6/site-packages/anyjson-0.2.3-py2.6.egg',<br>
'/usr/local/lib', '/Users/lisagandy/infolab_projects/NewsAtSevenShared',<br>
'/Users/lisagandy/infolab_projects',<br>
'/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python26.zip',<br>
'/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6',<br>
'/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/plat-darwin',<br>
'/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/plat-mac',<br>
'/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/plat-mac/lib-scriptpackages',<br>
'/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python',<br>
'/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/lib-tk',<br>
'/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/lib-old',<br>
'/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/lib-dynload',<br>
'/Library/Python/2.6/site-packages',<br>
'/Library/Python/2.6/site-packages/PIL',<br>
'/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/PyObjC',<br>
'/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/wx-2.8-mac-unicode']<br>
<br>
If you look closely in there the paths from my PYTHONPATH settings in<br>
.profile are there<br>
when I try to import folders within the PYTHONPATH everything works great...<br>
<br>
Now in textmate when I run sys.path I get<br>
['/Users/lisagandy/infolab_projects/ccu/ccu_gen',<br>
'/Library/Python/2.6/site-packages/simplejson-2.0.9-py2.6-macosx-10.6-universal.egg',<br>
'/Library/Python/2.6/site-packages/restclient-0.9.10-py2.6.egg',<br>
'/Library/Python/2.6/site-packages/httplib2-0.6.0-py2.6.egg',<br>
'/Library/Python/2.6/site-packages/tweetstream-0.3.3-py2.6.egg',<br>
'/Library/Python/2.6/site-packages/anyjson-0.2.3-py2.6.egg',<br>
'/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python26.zip',<br>
'/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6',<br>
'/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/plat-darwin',<br>
'/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/plat-mac',<br>
'/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/plat-mac/lib-scriptpackages',<br>
'/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python',<br>
'/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/lib-tk',<br>
'/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/lib-old',<br>
'/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/lib-dynload',<br>
'/Library/Python/2.6/site-packages',<br>
'/Library/Python/2.6/site-packages/PIL',<br>
'/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/PyObjC',<br>
'/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/wx-2.8-mac-unicode']<br>
<br>
none of the paths I have set in PYTHONPATH are there and instead I have this<br>
path...<br>
/Users/lisagandy/infolab_projects/ccu/ccu_gen...<br>
which I do not want (and am searching like crazy on the system right now to<br>
see where this durn path is even listed)<br>
<br>
I am running Mac OSX and am looking in my home directory for any where else<br>
python path could be set besides .profile, and don't see anything! here's<br>
the listing... any ideas????<br>
-rw-------      1 lisagandy  staff       3 Aug 22  2008 .CFUserTextEncoding<br>
-rw-r--r--      1 lisagandy  staff   24580 Nov 15 15:10 .DS_Store<br>
drwx------  11160 lisagandy  staff  379440 Nov 15 15:10 .Trash<br>
-rw-------      1 lisagandy  staff     169 May  6  2010 .Xauthority<br>
drwxr-xr-x      2 lisagandy  staff      68 Aug 29  2008 .Xcode<br>
drwxr-x--x      3 lisagandy  staff     102 Apr  1  2010 .adobe<br>
drwxr-xr-x      3 lisagandy  staff     102 Mar  4  2009 .allegrocl<br>
drwxr-xr-x      4 lisagandy  staff     136 Sep  9 11:05 .argouml<br>
drwxr-xr-x      4 lisagandy  staff     136 Dec  4  2009 .avidemux<br>
-rw-------      1 lisagandy  staff   10355 Nov 15 23:42 .bash_history<br>
drwx------      3 lisagandy  staff     102 Sep 19  2008 .config<br>
-rw-r--r--      1 lisagandy  staff    3078 Oct 31 16:54<br>
.crash_report_checksum<br>
-rw-r--r--      1 lisagandy  staff    6141 Oct 31 16:54 .crash_report_frames<br>
-rw-r--r--      1 lisagandy  staff   10381 Oct 31 16:54<br>
.crash_report_preview<br>
-rw-r--r--      1 lisagandy  staff      83 Mar 26  2010 .crash_reportrc<br>
drwx------      3 lisagandy  staff     102 Sep 11  2008 .cups<br>
-rw-r--r--      1 lisagandy  staff     350 Feb  9  2009 .eclipse_keyring<br>
drwx------     10 lisagandy  staff     340 Nov 15 10:05 .filezilla<br>
-rwxrwxrwx      1 lisagandy  staff      60 Aug  5 18:36 .flexlmrc<br>
drwxr-xr-x     23 lisagandy  staff     782 May  6  2010 .fontconfig<br>
-rw-------      1 lisagandy  staff       0 Jan 28  2009 .gdb_history<br>
drwxr-xr-x      4 lisagandy  staff     136 Oct 20  2009 .gem<br>
drwx------      2 lisagandy  staff      68 Sep 19  2008 .gnome2<br>
-rw-r--r--      1 lisagandy  staff     574 Oct 22  2009 .irb_history<br>
-rw-------      1 lisagandy  staff      57 Dec 10  2009 .lesshst<br>
-rw-------      1 lisagandy  staff       3 Mar  8  2009 .mysql_history<br>
-rw-r--r--      1 lisagandy  staff     946 Nov 15 23:48 .profile<br>
drwxr-xr-x      5 lisagandy  staff     170 Jan 25  2010 .python-eggs<br>
-rw-r--r--      1 lisagandy  staff   12593 May  6  2010 .recently-used.xbel<br>
-rw-------      1 lisagandy  staff    1765 Dec  3  2009 .sh_history<br>
drwxr-xr-x      2 lisagandy  staff      68 Oct 11  2009 .spss<br>
drwxr-xr-x     34 root       staff    1156 May 14  2009 .spumux<br>
-rw-------      1 lisagandy  staff    2422 Nov 10 14:13 .sqlite_history<br>
drwx------      4 lisagandy  staff     136 Aug 19 10:45 .ssh<br>
drwxr-xr-x      6 lisagandy  staff     204 Aug 26  2008 .subversion<br>
drwx------      3 lisagandy  staff     102 Sep 19  2008 .thumbnails<br>
-rw-------      1 lisagandy  staff   10799 Nov 16 00:08 .viminfo<br>
-rw-r--r--      1 lisagandy  staff       8 May 18  2009 .vinevncauth<br>
drwxr-xr-x      4 lisagandy  staff     136 Apr  8  2009 .wireshark<br>
drwxr-xr-x      7 lisagandy  staff     238 Nov 16  2009 .wireshark-etc<br>
<br>
So I'm at my wits end at the moment, and kind of annoyed b/c I'm in the<br>
middle of a big project and do not really want to be debugging textmate<br>
right now.  Any suggestions are appreciated!<br>
<br>
Thanks!<br>
<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://old.nabble.com/Mac-OSX-python-path-issue-tp30226111p30226111.html" target="_blank">http://old.nabble.com/Mac-OSX-python-path-issue-tp30226111p30226111.html</a><br>
Sent from the textmate users mailing list archive at Nabble.com.<br>
<br>
<br></div><br>