ImportError - dynamic module does not define init function

40 views
Skip to first unread message

Fred Clausen

unread,
Apr 3, 2011, 5:48:22 PM4/3/11
to pyffmpeg
Hello all,

Some info -

Python - 2.7.1 from Python.org
ffmpeg - Git clone from 20110403
pyffmpeg - Latest Git

I try to run the test by performing

python testInstalledPyFFmpeg.py

but it generates the following error

Traceback (most recent call last):
File "testInstalledPyFFmpeg.py", line 6, in <module>
import pyffmpeg as pf
ImportError: dynamic module does not define init function
(initpyffmpeg)

I looked around for stale .so files but all that is present regarding
pyffmpeg is the following

/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-
packages/pyffmpeg-2.2alpha-py2.7.egg-info
/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-
packages/pyffmpeg.so
/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-
packages/pyffmpeg_numpybindings.so

which looks OK. Any help would be appreciated.

Regards,

Fred.

Fred Clausen

unread,
Apr 4, 2011, 10:06:54 AM4/4/11
to pyffmpeg
On Apr 3, 11:48 pm, Fred Clausen <ftclau...@gmail.com> wrote:
> Hello all,
>
> Some info -
>
> Python - 2.7.1 from Python.org
> ffmpeg - Git clone from 20110403
> pyffmpeg - Latest Git

Sorry, forgot to mention, the OS is OS X 10.6.
Reply all
Reply to author
Forward
0 new messages