From: Jon S. <js...@so...> - 2003-12-21 01:56:27
|
interesting, thanks for the record, I can get that far, but if I try do something... from visual import * sphere() Gtk-WARNING **: invalid cast from (NULL) pointer to `GtkWidget' OpenGL initialization failed. Unable to create OpenGL display widget <Primitive object at 0x492164> so now I"m trying to figure out OpenGL 8-/ On Dec 20, 2003, at 8:21 PM, Kelvin Chu wrote: > I have VPython working on a MacOSX 10.3 box running Python 2.3. > > habanero[1;~]% uname -a > Darwin habanero-kc-uvm-edu.local 7.2.0 Darwin Kernel Version 7.2.0: > Thu Dec 11 16:20:23 PST 2003; root:xnu/xnu-517.3.7.obj~1/RELEASE_PPC > Power Macintosh powerpc > habanero[2;~]% which python > /sw/bin/python > habanero[3;~]% python > Python 2.3.2 (#1, Nov 21 2003, 23:51:34) > [GCC 3.3 20030304 (Apple Computer, Inc. build 1495)] on darwin > Type "help", "copyright", "credits" or "license" for more information. > >>> from visual import * > >>> > > Here's the setup. > > 1. MacOSX 10.3 was installed as an upgrade to MacOSX 10.2 > > 2. Python 2.3 was installed via fink. To do this (and to install > numeric and a bunch of other Python2.3 things) you will have to locate > the packages and move them from the unstable to the corresponding > "stable" directory. I have not noticed any actual instability in > these packages. My list of fink packages is at the bottom of this > message. > > 3. VPython was installed using the binary from vpython.org. The > 'vpython' that lives in /sw/bin calls the Python 2.2, but you can of > course change this. > > If people need it, I can find a fresh 10.3 install machine and see > what needs to be done in order to get this running. > > -k > > > Below is a list of packages installed via fink. You will doubtless > *not* need to install most of these. > > habanero[4;~]% fink list | grep ^" i" > i apt 0.5.4-35 Advanced front-end for dpkg > i apt-shlibs 0.5.4-35 Advanced front-end for dpkg > i aquaterm 0.3.0a-5 Displays vector graphics in > Aqua > i aspell 0.50.2-10 Spell checker more intelligent than > ispell > i atlas 3.4.1-2 Portably optimal linear algebra software > i base-files 1.8.0-1 Directory infrastructure > i bzip2 1.0.2-12 Block-sorting file compressor > i bzip2-dev 1.0.2-12 Developer files for bzip2 > package > i bzip2-shlibs 1.0.2-12 Shared libraries for bzip2 > package > i cctools 495-1 [virtual package representing the developer > tools] > i cctools-extra 20030516-2 Extra software from cctools > i cctools-single-module 1.0-1 [virtual package, your dev > tools support -single_module] > i darwin 7.2.0-1 [virtual package representing the kernel] > i db3 3.3.11-23 Berkeley DB embedded database > i db3-shlibs 3.3.11-23 Shared Libraries for db3 > i db4-shlibs 4.0.14-22 Shared Libraries for db4 > i debianutils 1.23-11 Misc. utilities specific to Debian > (and Fink) > i dlcompat 20030629-15 Dynamic loading compatibility > library (dummy) > i dlcompat-dev 20030629-15 Dynamic loading compatibility > library dev package (dummy) > i dlcompat-shlibs 20030629-15 shared libraries for dlcompat > i dpkg 1.10.9-27 The Debian package manager > i ethereal-ssl 0.9.14-1 Powerful network protocol > analyzer (with SSL) > i expat 1.95.5-4 C library for parsing XML > i expat-shlibs 1.95.5-4 C library for parsing XML > i f2py-py23 2.32.225-1419-11 Fortran to Python > Interface Generator > i fftw 2.1.3-13 Library for computing the Discrete > Fourier Transform > i fftw-shlibs 2.1.3-13 Library for computing the > Discrete Fourier Transform > i fileutils 4.1-3 Common shell commands like ls, touch, > chmod > i fink 0.16.2-1 The Fink package manager > i fink-prebinding 0.5-1 Tools for enabling prebinding in Fink > i freetype2 2.1.3-11 TrueType font rendering > library, version 2 (dummy) > i freetype2-shlibs 2.1.3-11 TrueType font > rendering library, version 2, shared libs > i g77 3.4-20031015 GNU Fortran compiler > i gcc2 2.9.5-1 [virtual package representing the gcc2 > compiler] > i gdbm-shlibs 1.8.0-6 Shared libraries for gdbm package > i gdbm3 1.8.3-1 GNU dbm library > i gdbm3-shlibs 1.8.3-1 Shared libraries for gdbm3 package > i gettext 0.10.40-17 Message localization support > i gettext-bin 0.10.40-17 Executables for gettext package > i gettext-dev 0.10.40-17 Developer files for gettext > package > i ghostscript 8.00-3 Interpreter for PostScript and PDF > i ghostscript-fonts 6.0-3 Standard fonts for Ghostscript > i glib 1.2.10-18 Common C routines used by Gtk+ and > other libs > i glib-shlibs 1.2.10-18 Common C routines used by Gtk+ > and other libs > i glut 3.7-13 Opengl utility toolkit > i glut-shlibs 3.7-13 Opengl utility toolkit > i gmp 4.1.2-11 GNU multiple precision arithmetic > library > i gmp-shlibs 4.1.2-11 Shared libraries for gmp > package > i gnuplot 3.8j.0-21 Command-driven interactive plotting > program > i gnuplot-py23 1.6-11 Python interface to gnuplot > i gtk+ 1.2.10-13 The Gimp Toolkit > i gtk+-data 1.2.10-13 The Gimp Toolkit > i gtk+-shlibs 1.2.10-13 The Gimp Toolkit > i gtkglarea 1.2.3-2 OpenGL widget for GTK+ > i gv 3.5.8-5 X11 interface for ghostscript interpreter > i gzip 1.2.4a-6 The gzip file compressor > i imagemagick 5.5.1-13 Image manipulation tools > i ispell 3.2.06-3 Interactive spell-checker > i lcms 1.09-2 Free color management engine in 100K > i lcms-shlibs 1.09-2 Free color management engine in 100K > i libiconv 1.9.1-11 Character set conversion > library > i libiconv-bin 1.9.1-11 Executables for libiconv > package > i libiconv-dev 1.9.1-11 Developer files for libiconv > package > i libjpeg 6b-6 JPEG image format handling library > i libjpeg-bin 6b-6 Executables for libjpeg package > i libjpeg-shlibs 6b-6 Shared libraries for libjpeg package > i libpcap 0.6.2-6 Network packet capture library > i libpcap-shlibs 0.6.2-6 Network packet capture library > i libpng3 1.2.5-4 PNG image format handling library > i libpng3-shlibs 1.2.5-4 Shared libraries for libpng3 package > i libtiff 3.5.7-7 TIFF image format library and tools > i libtiff-bin 3.5.7-7 Executables for libtiff package > i libtiff-shlibs 3.5.7-7 Shared libraries for libtiff package > i libxml2 2.5.10-12 XML parsing library, version 2 > i libxml2-bin 2.5.10-12 XML parsing library, version 2 > i libxml2-shlibs 2.5.10-12 XML parsing library, version 2 > i macosx 10.3.2-1 [virtual package representing the > system] > i mutt-ssl 1.4.1i-11 Sophisticated text-based mail > user agent > i ncftp 3.1.5-11 Browser program using ftp protocol > i ncurses 5.3-20031018-2 Full-screen ascii drawing library > i ncurses-dev 5.3-20031018-2 Development files for ncurses > package > i ncurses-shlibs 5.3-20031018-2 Shared libraries for ncurses > package > i nmap 3.00-3 Network exploration utility (X11 support) > i numeric-py23 23.0-11 Multidim'l numerical arrays for > Python, using Apple vecLib > i openssl 0.9.6k-11 Secure Sockets Layer and general > crypto library > i openssl-shlibs 0.9.6k-11 Secure Sockets Layer and > general crypto library > i openssl097-dev 0.9.7b-1 Secure Sockets Layer and > general crypto library > i openssl097-shlibs 0.9.7b-1 Secure Sockets Layer > and general crypto library > i pdflib 5.0.1-1 Library for generating PDF (lite version) > i pdflib-shlibs 5.0.1-1 Library for generating PDF (lite > version) > i pil-py23 1.1.4-23 Python Imaging Library > i pkgconfig 0.15.0-2 System for managing library > compile/link flags > i pmw 0.8.5-2 High-level compound widgets for Python using > Tkinter > i python 1:2.3.2-21 Interpreted, object-oriented language > i python23 1:2.3.2-21 Interpreted, object-oriented > language > i python23-shlibs 1:2.3.2-21 Interpreted, object-oriented > language > i python23-socket 1:2.3.2-21 Socket plugin for python > i readline 4.3-25 Comfortable terminal input library > i readline-shlibs 4.3-25 Comfortable terminal input library > i reportlab-py23 1.17-11 PDF creation library for Python > i scipy-py23 20030629-2 Scientific tools for Python > i storable-pm 1.0.14-6 Placeholder for versioned > Storable packages > i storable-pm560 1.0.14-3 Perl module for persistent > data structures, v. 5.6.0 > i system-java13 1.3.1-1 [virtual package representing Java > 1.3.1] > i system-java13-dev 1.3.1-1 [virtual package representing > Java 1.3.1 development headers] > i system-java14 1.4.1-1 [virtual package representing Java > 1.4.1] > i system-java14-dev 1.4.1-1 [virtual package representing > Java 1.4.1 development headers] > i system-perl 5.8.1-1 [virtual package representing perl] > i system-tetex 20010808-12 Placeholder package for > manually installed teTeX > i system-xfree86 2:4.3-1 [placeholder for user installed x11] > i tar 1.13.25-1 GNU tar - tape archiver > i tcltk 8.4.1-2 Tool Command Language and the Tk toolkit > i tcltk-dev 8.4.1-2 Tool Command Language and the Tk > toolkit > i tcltk-shlibs 8.4.1-2 Tool Command Language and the Tk > toolkit > i texinfo 4.2-22 Texinfo documentation system > i type1inst 0.6.1-3 Type 1 PostScript font installation > utility > i unzip 5.50-3 Decompression compatible with pkunzip > i wxgtk 2.4.1.2-22 Cross-platform (unix,windows,mac) GUI > API - unix version > i wxgtk-shlibs 2.4.1.2-22 Cross-platform > (unix,windows,mac) GUI API - unix version > i wxpython-py23 2.4.1.2-11 WxWindows library bindings for > Python > i xaw3d 1.5-5 Athena widget set with 3D look > i xaw3d-shlibs 1.5-5 Athena widget set with 3D look > i xemacs 21.4.9-14 Highly customizable text editor > i xemacs-sumo-pkg 20020919-1 All xemacs packages together > i xv 3.10a-2 Image viewer > i yafc 1.0-11 Enhanced ftp client, supporting ssh2 (sftp) > > -- > Kelvin Chu, Physics Department, Cook Building > 82 University Place, University of Vermont, Burlington VT 05405-0125 > http://www.uvm.edu/~kchu/; (802) 656-0064; Fax: (802) 656-0817 > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign up for > IBM's > Free Linux Tutorials. Learn everything from the bash shell to sys > admin. > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > _______________________________________________ > Visualpython-users mailing list > Vis...@li... > https://lists.sourceforge.net/lists/listinfo/visualpython-users > > ------------------ Jon Schull, Ph.D. Associate Professor Information Technology Rochester Institute of Technology sc...@di... 585-738-6696 |