Jump to content

Recommended Posts

Posted

Hi,

 

I am getting the message above when trying to run:

 pip3 install ffpyplayer

Then the following message:

Running setup.py clean for ffpyplayer

 

And here I get:

 

     #include "libavcodec/packet.h"
              ^~~~~~~~~~~~~~~~~~~~~
    compilation terminated.
    error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1


Question:

Any tips for getting this fixed?

Note:
Installing ffmpeg worked fine before with:

sudo apt-get install ffmpeg

and:

ffmpeg -version

delivers:

ffmpeg version 3.4.11-0ubuntu0.1 Copyright (c) 2000-2022 the FFmpeg developers
built with gcc 7 (Ubuntu/Linaro 7.5.0-3ubuntu1~18.04)

libavutil      55. 78.100 / 55. 78.100
libavcodec     57.107.100 / 57.107.100
libavformat    57. 83.100 / 57. 83.100
libavdevice    57. 10.100 / 57. 10.100
libavfilter     6.107.100 /  6.107.100
libavresample   3.  7.  0 /  3.  7.  0
libswscale      4.  8.100 /  4.  8.100
libswresample   2.  9.100 /  2.  9.100
libpostproc    54.  7.100 / 54.  7.100

Any help / ideas welcome!

Posted

Usually it means that you need to install a *-dev package

 

apt-cache search ffmpeg-dev  ... or try other key words

 

Also make sure you have installed build-common and python3-dev

 

If you cant install with pip, is it available in debian? apt-cache search python3 |grep ffmpeg

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines