From: Bruce S. <Bru...@nc...> - 2005-06-07 14:16:51
|
Maybe a Mac expert will step forward and make a version of Visual that can be driven by the native Mac Python? After all, OpenGL doesn't need X11, it's just that lacking Mac-specific expertise the only way we could get VPython running on Mac OSX was to piggyback off the Linux/Unix version. What is needed is really just one file, equivalent to wgl.cpp which handles Windows aspects (creating the graphics window, handling keyset and moust inputs, etc.). Is there anyone in the VPython commmunity who could write macgl.cpp? Bruce Sherwood Martin Costabel wrote: > (cross-post removed as I can't and won't post on these other groups) > > Jon Schull wrote: > >> Please forgive the cross-post. I think this is a cross group issue. >> >> I've newly installed Tiger and would like to avoid the dueling pythons >> problem that plagued me with 0SX 10.3. It would be nice to be running >> just one python, but I suppose that would be asking too much? > > > Since there is now a Tk framework and tkinter on Tiger, it would indeed > be feasible to rely much more than before on the system-installed python. > > But if you want a python that understands X11, I guess you still have to > install your own (from Fink, in my case). The only problem with several > python versions is to keep your site-packages in the right places and to > define the environment variables correctly so that the python you want > to use can find the site-packages that it needs to find. > >> I installed Bob's MacPython 2.4.1 from http://undefined.org/python/ >> Double clicking the apps works fine. But when I type "python" from >> terminal I get python Apple's python 2.3.5. > > > This would be a PATH problem. You have to make sure that the directory > that holds the python you want to use is found first in your PATH. > |