RE : [pyffmpeg] Compile error on Ubuntu 10.10 Python 2.6

23 views
Skip to first unread message

Sébastien Campion

unread,
Feb 5, 2011, 4:25:06 PM2/5/11
to pyff...@googlegroups.com

You probably need python source (Python.h)
apt-get install python-dev
On debian distro

Le 5 févr. 2011 20:09, "m2rt" <mre...@gmail.com> a écrit :

m2rt@m2rt:~/Downloads/pyffmpeg-2.1beta$ python '/home/m2rt/Downloads/
pyffmpeg-2.1beta/setup.py' build
running build
running build_ext
building 'pyffmpeg' extension
C compiler: gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -
Wall -Wstrict-prototypes -fPIC

compile options: '-I/opt/ffmpeg/include -I/usr/include/ffmpeg -I./
include -I/usr/lib/python2.6/dist-packages/numpy/core/include -I/usr/
include/python2.6 -c'
gcc: pyffmpeg.c
pyffmpeg.c:4: fatal error: Python.h: No such file or directory
compilation terminated.
pyffmpeg.c:4: fatal error: Python.h: No such file or directory
compilation terminated.
error: Command "gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -
O2 -Wall -Wstrict-prototypes -fPIC -I/opt/ffmpeg/include -I/usr/
include/ffmpeg -I./include -I/usr/lib/python2.6/dist-packages/numpy/
core/include -I/usr/include/python2.6 -c pyffmpeg.c -o build/
temp.linux-i686-2.6/pyffmpeg.o" failed with exit status 1

I have FFmpeg installed.
Any help appreciated!

--
You received this message because you are subscribed to the Google Groups "pyffmpeg" group.
To post to this group, send email to pyff...@googlegroups.com.
To unsubscribe from this group, send email to pyffmpeg+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/pyffmpeg?hl=en.

Reply all
Reply to author
Forward
0 new messages