A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/pythonmac-sig/2003-October/009016.html below:

[Pythonmac-SIG] problem importing OpenGL.Tk

[Pythonmac-SIG] problem importing OpenGL.TkPatrick Moran patrickjmoran at earthlink.net
Mon Oct 13 01:17:17 EDT 2003
Hello,

I'm new to Mac ... and I'm in the process of porting over some
3-D graphics tools I have running under Linux.  My application
uses PyOpenGL.  I downloaded MacPython-OSX-2.3.1.  Then,
using PackageManager, I downloaded PyOpenGL-2.0.1.04beta-
binary and _tkinter-2.3-binary.  So far seems OK.  The basic
Tkinter widgets are working.  Cool.  But when I try to import
OpenGL.Tk, in preparation to do some 3-D rendering, I get:

[Patrick-Morans-Computer:~] pmoran% /usr/local/bin/pythonw
Python 2.3 (#2, Jul 30 2003, 11:45:28)
[GCC 3.1 20020420 (prerelease)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
 >>>
 >>>
 >>> import OpenGL.GL
 >>> import OpenGL.Tk
Traceback (most recent call last):
   File "<stdin>", line 1, in ?
   File  
"/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site- 
packages/OpenGL/Tk/__init__.py", line 81, in ?
     _default_root.tk.call('package', 'require', 'Togl')
_tkinter.TclError: can't find package Togl

I have a PowerBook, running  OS X 10.2.8.

Help, suggestions, would be appreciated.  Is there some sort of path
I need to set?

Thanks.

Pat



More information about the Pythonmac-SIG mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4