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