Coder Social home page Coder Social logo

import error on python3.7 about pyogg HOT 4 CLOSED

teampyogg avatar teampyogg commented on September 23, 2024
import error on python3.7

from pyogg.

Comments (4)

Zuzu-Typ avatar Zuzu-Typ commented on September 23, 2024

This issue seems to be caused by the library pyogg is trying to load.
Either the "opusfile" library was built without some specific symbols or a non related library is used by accident.

I'll commit a small change to the LibraryLoader code that will test wether or not the library is compatible.
You should be able to import it afterwards, but you might not be able to certain files (such as .opus) without the respective libraries (opus and opusfile)

from pyogg.

Zuzu-Typ avatar Zuzu-Typ commented on September 23, 2024

Please let me know if the issue persists.

from pyogg.

C-gotoh avatar C-gotoh commented on September 23, 2024

I can confirm that your commit fixed the symptom of this issue.
The issue was that I did not have the opusfile library installed,
but shouldn't this be an optional dependency as it is only relevant for decoding opus files?
Either way, it appears that you made it optional with your fix, so I guess this is solved.

from pyogg.

Zuzu-Typ avatar Zuzu-Typ commented on September 23, 2024

It was always optional, but my LibraryLoader found a library that it interpreted as the opusfile library, but it was actually some other library - it now checks the compatibility of the library candidate before using it.

Thank you very much for finding this bug!

from pyogg.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.