From: Alexander H. <ale...@gm...> - 2010-12-30 21:48:39
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Yes, because we support multiple python versions concurrently. But as I said, you can install the "python" package, which provides a "python" command that points to one of those installed versions--since python2.7 is the highest-versioned one, that gets installed by default, e.g.: $ fink dumpinfo -fallversions python Scanning package description files.......... Information about 9861 packages read in 2 seconds. allversions: b 1:2.5.5-103 b 1:2.6.6-1 b 1:2.7-101 bi 1:2.7.1-1 So "fink install python" makes a "python" command that points to python2.7 . Using "fink install python-1:2.5.5-103" would make a "python" that points to python2.5, etc. Using "#!/sw/bin/python2.7" in your scripts is still probably a good idea, though. On 12/30/10 4:39 PM, Kann Vearasilp wrote: > Dear Alex, > > Yep, I am currently calling 'python2.7' from command line or including > "#!/sw/bin/python2.7" in my codes for now. However, this seems a bit > weird for me. Is this supposed to be the way it works for fink? > > Kann > > n Thu, Dec 30, 2010 at 10:33 PM, Alexander Hansen > <ale...@gm... <mailto:ale...@gm...>> wrote: > > On 12/30/10 4:15 PM, Kann Vearasilp wrote: >> Dear All, > >> I just installed python 2.7 and biopython from fink. However, > every time >> I invoked the 'python' command from the terminal command line, the >> system still calls python 2.6.1, which is installed from OS X as > default >> and, of course, the biopython also doesn't work with it. How do I > change >> the the default setting to make it call python 2.7 from fink > instead of >> the one from OS X? > >> Best, > >> Kann > > > > > Install Fink's "python" package. Also, you can use "python2.7" as the > command to start the interpreter. > - -- Alexander Hansen, Ph.D. Fink User Liaison -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk0c/h8ACgkQB8UpO3rKjQ//IACfXVhRRMbN7x1C8OK/1NIAaW0Y hFEAoIi9A46Ug7J5KFoQ4az69lqWdWOu =spEI -----END PGP SIGNATURE----- |