meta-pytorch / meta-pytorch/torchcodec
misleading error when libpython is missing
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 1.2k
- Forks
- 125
- Avg merge
- 22h 47m
- Merged PRs (30d)
- 54
Description
📚 The doc issue
On debian 13 after installing torchcodec and ffmpeg (via apt-get install) importing torchcodec fails with "Could not load library: ... libtorchcodec_custom_ops7.so" (ops not core!). I straced it and what's actually missing is "apt-get install python3-dev" which install libpython3.13 along with it
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the import failure on Debian 13 after installing torchcodec and ffmpeg, then trace the loader path involved in importing torchcodec. The fix is done when a missing libpython dependency is identified accurately instead of being reported as libtorchcodec_custom_ops7.so, with a regression check for the corrected error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- debian, python, pytorch
- Domain
- audio-video-rtc
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100