Well, the problem happens to me when I run fink's version of Python,
because Pyglet wants to use the system QuickTime libraries, which does
not work.  It works fine if I use the system version of Python,
though.  That's why I asked where you executable is.  Make sure you
are running /Library/Frameworks/Python.framework/Versions/2.6/bin/python2.6.

Aaron Meurer

On Fri, Jun 10, 2011 at 4:10 PM, Tomo Lazovich <[email protected]> wrote:
> And the version is 2.6.1
>
> On Fri, Jun 10, 2011 at 5:09 PM, Tomo Lazovich <[email protected]>
> wrote:
>>
>> I think it is just /usr/bin/python
>>
>> On Fri, Jun 10, 2011 at 3:30 PM, Aaron Meurer <[email protected]> wrote:
>>>
>>> Yep, I get this all the time.  What is the path of your Python
>>> executable?
>>>
>>> Aaron Meurer
>>>
>>> On Fri, Jun 10, 2011 at 2:29 PM, Tomo Lazovich <[email protected]>
>>> wrote:
>>> > Hi everyone,
>>> >
>>> > I was wondering if any sympy mac users had gotten this particular error
>>> > before when trying to plot something:
>>> >
>>> > Traceback (most recent call last):
>>> >   File "<stdin>", line 1, in <module>
>>> >   File "sympy/plotting/__init__.py", line 130, in Plot
>>> >     import plot
>>> >   File "sympy/plotting/plot.py", line 13, in <module>
>>> >     from plot_window import PlotWindow
>>> >   File "sympy/plotting/plot_window.py", line 2, in <module>
>>> >     from managed_window import ManagedWindow
>>> >   File "/Users/lazovich/sympy/sympy/plotting/managed_window.py", line
>>> > 2, in
>>> > <module>
>>> >     from pyglet.window import Window
>>> >   File
>>> >
>>> > "/Users/lazovich/sympy/sympy/thirdparty/pyglet/pyglet/window/__init__.py",
>>> > line 1667, in <module>
>>> >     from pyglet.window.carbon import CarbonPlatform, CarbonWindow
>>> >   File
>>> >
>>> > "/Users/lazovich/sympy/sympy/thirdparty/pyglet/pyglet/window/carbon/__init__.py",
>>> > line 69, in <module>
>>> >     framework='/System/Library/Frameworks/QuickTime.framework')
>>> >   File "/Users/lazovich/sympy/sympy/thirdparty/pyglet/pyglet/lib.py",
>>> > line
>>> > 90, in load_library
>>> >     return self.load_framework(kwargs['framework'])
>>> >   File "/Users/lazovich/sympy/sympy/thirdparty/pyglet/pyglet/lib.py",
>>> > line
>>> > 226, in load_framework
>>> >     lib = ctypes.cdll.LoadLibrary(realpath)
>>> >   File
>>> >
>>> > "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/ctypes/__init__.py",
>>> > line 423, in LoadLibrary
>>> >   File
>>> >
>>> > "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/ctypes/__init__.py",
>>> > line 345, in __init__
>>> > OSError:
>>> > dlopen(/System/Library/Frameworks/QuickTime.framework/QuickTime,
>>> > 6): no suitable image found.  Did find:
>>> >     /System/Library/Frameworks/QuickTime.framework/QuickTime: no
>>> > matching
>>> > architecture in universal wrapper
>>> >     /System/Library/Frameworks/QuickTime.framework/QuickTime: no
>>> > matching
>>> > architecture in universal wrapper
>>> >
>>> > Googling was not so helpful, but I may have missed something. Has
>>> > anybody
>>> > had this issue and found a fix? Thanks!
>>> >
>>> > Tomo
>>> >
>>> >
>>> > --
>>> > You received this message because you are subscribed to the Google
>>> > Groups
>>> > "sympy" group.
>>> > To post to this group, send email to [email protected].
>>> > To unsubscribe from this group, send email to
>>> > [email protected].
>>> > For more options, visit this group at
>>> > http://groups.google.com/group/sympy?hl=en.
>>> >
>>>
>>> --
>>> You received this message because you are subscribed to the Google Groups
>>> "sympy" group.
>>> To post to this group, send email to [email protected].
>>> To unsubscribe from this group, send email to
>>> [email protected].
>>> For more options, visit this group at
>>> http://groups.google.com/group/sympy?hl=en.
>>>
>>
>>
>>
>> --
>> Tomo Lazovich
>> Harvard College '11
>> 278 Winthrop House Mail Center
>> Cambridge, MA 02138
>
>
>
> --
> Tomo Lazovich
> Harvard College '11
> 278 Winthrop House Mail Center
> Cambridge, MA 02138
>
> --
> You received this message because you are subscribed to the Google Groups
> "sympy" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/sympy?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sympy?hl=en.

Reply via email to