我已经在 gitbash 中使用 pip 为 python 3.4 安装了最新版本的 opus
$ pip install --upgrade opuslib
Requirement already up-to-date: opuslib in c:\python34\lib\site-packages
尽管如此,当我尝试导入它时,我会收到一个未安装的错误
import opuslib
import opuslib.api
import opuslib.api.encoder
import opuslib.api.decoder
...
Traceback (most recent call last):
File "E:\__Basic-discord-bot\bot.py", line 11, in <module>
import opuslib
File "C:\Python34\lib\site-packages\opuslib\__init__.py", line 26, in <module>
from .classes import Encoder, Decoder # NOQA
File "C:\Python34\lib\site-packages\opuslib\classes.py", line 11, in <module>
import opuslib.api.decoder
File "C:\Python34\lib\site-packages\opuslib\api\__init__.py", line 20, in <module>
'Could not find opus library. Make sure it is installed.')
Exception: Could not find opus library. Make sure it is installed.