On 07/01/2010, at 05:03, Claus wrote: > On 2010-01-06, at 8:01 PM, Alexander Hansen wrote: >> On 1/6/10 1:46 PM, Claus wrote: (...) >>> - how could I tell the python I'm using to use /sw/bin/python as >>> well as the site-packages of fink? >> Either use >> >> /sw/bin/python2.6 >> >> as your command, or install the fink 'python' package, which >> creates a >> /sw/bin/python that points to /sw/bin/python2.6. In either case, >> that >> will automatically pick the right site-packages for you. > fink list-i > returns > i python26 1:2.6.2-2 Interpreted, object-oriented > language > i python26-shlibs 1:2.6.2-2 Interpreted, object-oriented > language > this means that python is installed via fink, right? > > There is a /sw/bin/python2.6 > However, /sw/bin/python returns 'No such file or directory'. > > If I execute /sw/bin/python2.6 I can successfully import numpy as > well as import scipy > > Now, this might be all good. For some reason I was fixed to the idea > that if I type 'python' in terminal, the version of python should > execute that also has scipy and numpy (I was not aware that OS 10.6. > comes with numpy). > If i keep the current settings of the fink installation and call the > fink-python with /sw/bin/python2.6 is that a way to keep the two > installations of python (the osx one and the fink one) separate? It > would be nice if /sw/bin/python would work... /sw/bin/python2.6 having that name allows for coexistence with other versions of Python (e.g. /sw/bin/python2.5). As Alexander explained in a previous e-mail, if you install the package named 'python' (i.e., run fink install python) then a symbolink link /sw/bin/python will be created, pointing to /sw/bin/python2.6.
> This might be a little OT, but does somebody here know how to tell > TextMate and its python package to use /sw/bin/python2.6? Cheers, -- monipol http://finkers.wordpress.com Submitting a Fink bug report? Read this: http://www.finkproject.org/doc/netiquette/index.php http://finkers.wordpress.com/2009/06/03/bug-reports/ ------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev _______________________________________________ Fink-beginners mailing list [email protected] http://news.gmane.org/gmane.os.apple.fink.beginners
