-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ImportError: cannot import name 'OpusEncoder' from 'pyogg' #56
Comments
That sounds very frustrating. I too would have just expected it to work out-of-the-box. I wasn't aware that'd we'd released any versions with OpusEncoder included. The version that I see that is available on PyPI is PyOgg 0.6.14a1 (https://pypi.org/project/PyOgg/) And when I look up that version on GitHub I don't see any references to OpusEncoder. (https://github.com/TeamPyOgg/PyOgg/tree/c53233cdbbb485ca365337d9621fe33a0e39152a/pyogg) So I'm at a bit of a loss. @Zuzu-Typ do you know how Tobi might have a version that includes OpusEncoder? @tobischw, is it possible that you specified the in-development version from the GitHub repository when you issued the What version does Cheers, Matthew |
It's worth notating however that I haven't tried using PyOgg with Anaconda. |
Hi there you two, @mattgwwalker I think you misinterpreted the issue. The problem is not that OpusEncoder exists, but rather that it does not, even though it's used in the examples on GitHub. It's most likely imported like this @tobischw As of now, we haven't yet published the many changes that matthew has made to the PyPI yet, probably because we don't feel like it's completed yet. For the time being, try to refer to the documentation on here. Maybe we should push an updated version some time in the not too far future. Cheers, |
You’re quite right Zuzu-Typ, I should have asked what it was that you were
doing that caused the error Tobi. We’re you indeed trying the examples?
I would not yet recommend we publish the most recent additions. I have
spent the last few weeks looking at the issues under Windows and the
changes I made. The changes are most certainly not ready for prime time
just yet.
However if the documentation’s lack of alignment with the released version
is a problem, maybe that should be fixed urgently.
Tobi, I’d appreciate understanding a bit more about how you encountered the
problem.
Cheers,
Matthew
…On Tue, 27 Oct 2020 at 18:30, Zuzu-Typ ***@***.***> wrote:
Hi there you two,
@mattgwwalker <https://github.com/mattgwwalker> I think you
misinterpreted the issue. The problem is not that OpusEncoder exists, but
rather that it does not, even though it's used in the examples on GitHub.
It's most likely imported like this from pyogg import OpusEncoder and
that doesn't work with the old versions of course.
@tobischw <https://github.com/tobischw> As of now, we haven't yet
published the many changes that matthew has made to the PyPI yet, probably
because we don't feel like it's completed yet. For the time being, try to
refer to the documentation on here <https://pypi.org/project/PyOgg/>.
Alternatively, you can also clone (i.e. download) the project from here,
which should work the intended way
(e.g. by using pip install git+https://github.com/TeamPyOgg/PyOgg).
Maybe we should push an updated version some time in the not too far
future.
Cheers,
--Zuzu_Typ--
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#56 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AA653XFPVCVEVBC6BSBIF7TSMZLHVANCNFSM4TADKQ3Q>
.
|
Hi, from reading your comments, I am assuming that Thanks, |
I just ran into the same issue, just with the Installed with:
And then the examples don't work, as the file containing |
Sorry that you had the same issue. It will be resolved when we release the next version of PyOgg, which should happen soon. If you would like to use the as-yet-unreleased code (which includes
Cheers, Matthew |
Thanks for the response. I completely understand. It was just confusing for me, as the README file points to the docs, and the docs already contain the information. Maybe have two docs: "latest released" and "latest" I went with the solution mentioned above:
Which gives me some "stable" (in the form of a git commit hash) version, and still provides the unreleased functionality. Looked good so far. Thanks! |
Hi,
I am on Windows 10 and followed the instructions for installing PyOgg.
However, everytime I attempt to use it, I am greeted with this error:
I installed it the normal way using
pip install
in an Anaconda environment.Any help would be appreciated.
The text was updated successfully, but these errors were encountered: