python-soundfile icon indicating copy to clipboard operation
python-soundfile copied to clipboard

Cannot import _soundfile

Open rchavezj opened this issue 6 years ago • 3 comments

I was wondering if soundfile and _soundfile are two different files since my system says the module _soundfile is missing.

rchavezj avatar Jul 07 '18 20:07 rchavezj

How did you install SoundFile?

bastibe avatar Jul 08 '18 04:07 bastibe

I downloaded the git repo and placed the repo with a project I'm working on that requires soundfile

rchavezj avatar Jul 08 '18 06:07 rchavezj

That explains the problem, then. Try running python setup.py install inside the repo to install SoundFile properly, or install it through pip. This will generate the _soundfile module (CFFI headers).

bastibe avatar Jul 09 '18 04:07 bastibe

what is _soundfile? Functionality is imported from this module in much of the code base, but I don't see any module _soundfile.py on github

sammlapp avatar May 05 '23 15:05 sammlapp

IIRC, _soundfile used to be where we stored the compiled libsndfile binaries. It's no longer used this way.

bastibe avatar May 06 '23 06:05 bastibe