decord icon indicating copy to clipboard operation
decord copied to clipboard

pip install decord returns error on macOS

Open shannelu opened this issue 3 years ago • 4 comments

  1. When I used pip install decord, it returned:

ERROR: Could not find a version that satisfies the requirement decord (from versions: none) ERROR: No matching distribution found for decord

  1. When I tried to install from source, I am getting the same error as: https://github.com/dmlc/decord/issues/105 on Mac OS

-- Checking for module 'libavcodec' -- No package 'libavcodec' found -- Checking for module 'libavformat' -- No package 'libavformat' found -- Checking for module 'libavutil' -- No package 'libavutil' found -- Checking for module 'libavdevice' -- No package 'libavdevice' found -- Checking for module 'libavfilter' -- No package 'libavfilter' found CMake Error at cmake/modules/FFmpeg.cmake:27 (message): Unable to find FFMPEG automatically, please specify FFMPEG location Call Stack (most recent call first): CMakeLists.txt:91 (include)

-- Configuring incomplete, errors occurred!

shannelu avatar Nov 13 '20 04:11 shannelu

I'm on macOS: I ran into a similar issue to this, and was able to resolve it by running: brew install ffmpeg -devel and running the rest of the instructions.

zhemingfan avatar Nov 13 '20 05:11 zhemingfan

A follow-up question. Any suggestions why pip3 install decord couldn't work?

shannelu avatar Nov 24 '20 05:11 shannelu

Had the same issue: macos == 11.6.5 and python == 3.9

Solution: Installed a new environment with python 3.7 and pip install decord worked like charm.

amirgoren avatar Jul 10 '22 09:07 amirgoren

Do not using decord,

This is a very last lib I saw it claimed surpress opencv but didn't support macOS and python3.9+

luohao123 avatar Feb 04 '24 03:02 luohao123