Pure Python av wheel for python 3.11 #1684
-
IMPORTANT: Is it possible to generate pure Python wheel for av for python 3.11. If so then how. The wheel contains files like:
I want pure python .so I have ffmpeg 7.1 installed and i am in termux and I am building av wheel from the github source code for arm64-v8a.
The cpython wheel file installs and works absolutely fine on termux. But since i want to use av within Chaqopy i need pure python wheel. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
I need to clarify something important here - there seems to be a misunderstanding about ".so" files and "pure Python" wheels. A "pure Python" wheel would not contain any .so (shared object) files at all. The .so files you're seeing are compiled C/C++ extensions, which is exactly what PyAV relies on since it's a wrapper around FFmpeg's C libraries. There's no such thing as a "pure Python .so" file - .so files are by definition compiled native code. PyAV cannot be made into a pure Python package because its core functionality requires direct interaction with FFmpeg's C libraries. The package is inherently a C extension module. |
Beta Was this translation helpful? Give feedback.
-
Look at chaquo/chaquopy#302 |
Beta Was this translation helpful? Give feedback.
Look at chaquo/chaquopy#302