decord
decord copied to clipboard
pip install decord returns error on macOS
- 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
- 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!
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.
A follow-up question. Any suggestions why pip3 install decord
couldn't work?
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.
Do not using decord,
This is a very last lib I saw it claimed surpress opencv but didn't support macOS and python3.9+