Open cklam12345 opened 2 months ago
@cklam12345 c_int_p
is defined in libopus, you need to install all the dependencies:
sudo apt install libogg-dev libopusenc-dev libflac-dev libopusfile-dev libopus-dev libvorbis-dev
See: https://pyogg.readthedocs.io/en/latest/installation.html#linux
Traceback (most recent call last): File "", line 1, in
File "PyOgg-master/pyogg/init.py", line 6, in
from .opus import PYOGG_OPUS_AVAIL, PYOGG_OPUS_FILE_AVAIL, PYOGG_OPUS_ENC_AVAIL
File "PyOgg-master/pyogg/opus.py", line 437, in
libopus.opus_encoder_create.argtypes = [opus_int32, c_int, c_int, c_int_p]
^^^^^^^
NameError: name 'c_int_p' is not defined. Did you mean: 'c_int'?