Reference only

No module named av: why installing FFmpeg may not fix the Python import

Check PyAV, its linked libraries and an external FFmpeg executable as separate dependencies.

There are two integration paths

PyAV is installed as av. Its installation documentation distinguishes binary wheels from source builds that use FFmpeg development libraries.1 An external ffmpeg executable is a separate diagnostic target.

python -m pip show av
python -c "import av; print(av.__version__); print(av.library_versions)"

Use the original interpreter. The second command imports the installed package; run it only for a trusted installation. If a build fails, preserve the first missing header, library or compiler error rather than repeatedly retrying the final wheel failure.

Our suggested next step depends on the caller. For a Python import failure, investigate PyAV. For an external-process failure, record the executable selected by the node. For decoding or encoding errors, record the container, codecs and complete first exception.

Test a short video you created and keep the original untouched. Compare one change at a time. A successful import does not prove every codec works, and a system FFmpeg upgrade is not the default repair for a missing Python module.

Research draft. No local/GPU reproduction or independent editorial sign-off. Upstream statements and our recommendations are distinguished.

Didn't solve it?

Check the next possible cause

The same symptom can come from a different cause. Work through these related entries in order.

  1. aiohttp and requests: a missing library is not a connection failureNo module named aiohttpCheck library availability before investigating DNS, TLS, HTTP responses or timeouts.
Paste your full log into the error finder

Was this page helpful?

Anonymous. Only a yes/no counter is stored; no account, IP address or device details.

Sources & references

Research draft. No local/GPU reproduction or independent editorial sign-off. Upstream statements and our recommendations are distinguished.

01PyAV installationSource checked: 2026-09-21

Report an issue · 3ea6f31b-4008-5206-aaa3-96957ecf66f7