For completeness / clarity, you simply CAN'T build VTK bindings from
the stock sources targeting the system python if you have ANY
Frameworks installed. You can modify some of the build scripts and
get a successful install, however. I would not be surprised if this
happened in other complex libs.
Cheers,
Dav
On Dec 16, 2008, at 9:10 AM, Conan C. Albrecht wrote:
You are all right in correcting me. Here's a revised version of
what to have to make multiple versions work:
If I type ls -l /usr/local/bin, I get the following in the list:
lrwxr-xr-x 1 root wheel 72 Dec 16 10:05 python -> ../../../
Library/Frameworks/Python.framework/Versions/Current/bin/python
lrwxr-xr-x 1 root wheel 71 Dec 16 10:05 pydoc -> ../../../
Library/Frameworks/Python.framework/Versions/Current/bin/pydoc
lrwxr-xr-x 1 root wheel 79 Dec 16 10:05 python-config -
> ../../../Library/Frameworks/Python.framework/Versions/Current/bin/
python-config
lrwxr-xr-x 1 root wheel 73 Dec 16 10:05 pythonw -> ../../../
Library/Frameworks/Python.framework/Versions/Current/bin/pythonw
Note that they all go to the "Current" version. Then, in the /
Library/Frameworks/Python.framework/Versions directory, I have:
drwxrwxr-x 10 root admin 340 Oct 1 17:52 2.6
drwxr-xr-x 9 root admin 306 Dec 9 14:01 3.0
lrwxr-xr-x 1 root admin 3 Dec 16 10:06 Current -> 2.6
Note that Current goes to 2.6. To switch the "active" version of
Python, just switch the symlink from 2.6 to 3.0. That should switch
the system.
____________________________________
Conan C. Albrecht, Ph.D.
Information Systems Department
Brigham Young University
Email: co...@warp.byu.edu
Phone: +1-801-805-1615
Web/Blog: http://warp.byu.edu/
On Dec 15, 2008, at 17:33, Christopher Barker wrote:
Dav Clark wrote:
It's easy to have two or three Python installations. They all
sit in different directories and don't mess with each other.
Not entirely true. For example, anything that compiles against
python with a bare "-framework Python" flag will grab the (I
think) Current dir from /Library/Frameworks/Python.framework/
Versions
True, but "Current" is just a symlink to a particular version -
it's easy to put it back -- that's what I've done with 2.6 -- it's
installed, but not set as current.
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/OR&R (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
chris.bar...@noaa.gov
_______________________________________________
Pythonmac-SIG maillist - Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig
_______________________________________________
Pythonmac-SIG maillist - Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig
_______________________________________________
Pythonmac-SIG maillist - Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig