tags:

views:

27

answers:

2

My traceback is as follows:

C:\Romeo\Scripts>python
Python 2.7 (r27:82525, Jul  4 2010, 09:01:59) [MSC v.1500 32 bit (Intel)] on win
32
Type "help", "copyright", "credits" or "license" for more information.
>>> import pyglet.media.avbin
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\Romeo\lib\site-packages\pyglet\media\avbin.py", line 53, in <module>
    darwin='/usr/local/lib/libavbin.dylib')
  File "C:\Romeo\lib\site-packages\pyglet\lib.py", line 122, in load_library
    raise ImportError('Library "%s" not found.' % names[0])
ImportError: Library "avbin" not found.

I'm running Windows 7 32-bit with dep disabled and avbin.dll in system32. Any suggestions are much appreciated!

A: 

I'm not a big fun of windows, but in ubuntu i have installed the libavbin-dev package and it solved , so maybe it time for you to change for a real OS :) , just kidding ; have you consider reinstalling it check this link for available download .

singularity
A: 

It is considered bad practice to copy your DLLs to system32, that aside try copying it to <your_python_home>\DLLs, presumably C:\Python27\DLLs. You could also try C:\Python27\Lib\site-packages.

Doesn't come this library with a "proper" install method taking care of this, e.g. running something like python setup.py install?

knitti
Yes, it is considered bad practice, but he just followed the directions from the pyglet's documentation/site.
ma3