|
From: | Jim Busser |
Subject: | Re: [Gnumed-devel] Does bootstrapping / upgrading databases sometimes need mxDateTime ? |
Date: | Sun, 31 Jul 2011 03:36:12 -0700 |
On 2011-07-31, at 2:11 AM, Jim Busser wrote:
Actually, the problem might not have been the broken symlink… I rather suspect my root env $PATH sequence /usr/bin:…:/opt/local/bin was something I eventually over-rode… python_select was neither installed by me until after, nor would it have made a difference outside of MacPorts which I did not reconfigure. For future reference, the python that would load in a Mac OS could come from any among /usr/bin <--- Apple's /opt/local/bin/ <--- MacPorts' /usr/local/bin/ <--- MacPython's /Library/Frameworks/Python.framework/Versions/Current/bin <--- MacPython's /sw/bin/ <--- Fink's The Apple-provided build of Python is installed in /usr/bin/python /System/Library/Frameworks/Python.framework $ ls /usr/bin/ | grep python python <------- currently running 2.6.1 python-config python2.5 python2.5-config python2.6 python2.6-config pythonw pythonw2.5 pythonw2.6 $ ls -al /System/Library/Frameworks/Python.framework/Versions/ drwxr-xr-x 6 root wheel 204 9 May 14:17 . drwxr-xr-x 6 root wheel 204 9 May 14:17 .. drwxr-xr-x 8 root wheel 272 9 May 14:17 2.3 drwxr-xr-x 11 root wheel 374 9 May 14:17 2.5 drwxr-xr-x 11 root wheel 374 9 May 14:17 2.6 lrwxr-xr-x 1 root wheel 3 9 May 14:16 Current -> 2.6 … which python would not know to access MacPort's mxDateTime (if installed) here: /opt/local/var/macports/software/py26-mx-base MacPorts installs in /opt/local/bin/ MacPython installs in /Applications/MacPython\ 2.5 <--- folder /usr/local/bin/python <--- symlink /Library/Frameworks/Python.framework <--- Python executable and libraries. The installer adds this location to your shell path. To uninstall MacPython, you can simply remove these three things. mine is old: $ ls /Library/Frameworks/Python.framework/Versions/Current/bin | grep python python --> symlink to 2.4 python2.4 pythonw pythonw2.4 some links: MacPorts - http://guide.macports.org/#installing.shell MacPython - http://docs.python.org/using/mac.html -- Jim |
[Prev in Thread] | Current Thread | [Next in Thread] |