sigsep / sigsep-mus-db

Python parser and tools for MUSDB18 Music Separation Dataset
https://sigsep.github.io/sigsep-mus-db/
MIT License
161 stars 34 forks source link

Module 'musdb' has no attribute 'DB' #81

Closed wh1tePigeon closed 5 months ago

wh1tePigeon commented 5 months ago

I have installed musdb using pip, but when i run this code:

def main():
    import musdb
    mus = musdb.DB(download=True)
    for track in mus:
        print(track.name)

if __name__ == "__main__":
    main()

I get AttributeError: module 'musdb' has no attribute 'DB' I`ve tried reinstalling musdb using pip but it didn't help.

wh1tePigeon commented 5 months ago

Nvm, I`ve created new environment, it helped

faroit commented 5 months ago

Good to hear it works