Closed ivan339339 closed 3 years ago
Did you install PyOgg using pip? If so, the latest version is only available via the GitHub repository. I would recommend you install that version instead, which may resolve your issue.
Cheers,
Matthew
On Fri, 28 May 2021 at 01:32, ivan @.***> wrote:
Hi!
I create OpusFile instance like this:
import pyogg
opus_file = pyogg.OpusFile('file.opus')
But call opus_file.as_array() throws this exception:
AttributeError: 'OpusFile' object has no attribute 'as_array'
I work on Ubuntu 18.04, before steps above I installed libopusfile-dev.
Is this the expected behavior?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/TeamPyOgg/PyOgg/issues/86, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA653XC7F4PSY5VESLUUROLTPZCXJANCNFSM45UJ5AHQ .
Yes, I installed PyOgg using pip. Thank you for clarification.
same question ,i install lastest version .whl,and pip install .whl ,But call opus_file.as_array() throws this exception:
AttributeError: 'OpusFile' object has no attribute as_array()
@mattgwwalker
Hi @562245918
Please try installing the latest version using pip install git+https://github.com/TeamPyOgg/PyOgg.git
.
That way you install PyOgg directly from the master branch.
Cheers --Zuzu_Typ--
@Zuzu-Typ Thank you very much,it's OK.Please forgive me ..a beginner.
Hi!
I create OpusFile instance like this:
But call
opus_file.as_array()
throws this exception:I work on Ubuntu 18.04, before steps above I installed
libopusfile-dev
.Is this the expected behavior?