Issue installing soundfile

760 Views Asked by At

I'm trying to install soundfile in a new conda environment. I've tried everything and I keep getting the ModuleNotFoundError: No module named 'soundfile'.

On the same machine, I have an old conda environment where it works. If I type pip show soundfile I get:

Name: SoundFile
Version: 0.10.3.post1
Summary: An audio library based on libsndfile, CFFI and NumPy
Home-page: https://github.com/bastibe/PySoundFile
Author: Bastian Bechtold
Author-email: [email protected]
License: BSD 3-Clause License
Location: /usr/local/lib/python3.6/dist-packages
Requires: cffi
Required-by:

The strange thing is that this is the output I get in the new conda environment (it's the same!):

Name: SoundFile
Version: 0.10.3.post1
Summary: An audio library based on libsndfile, CFFI and NumPy
Home-page: https://github.com/bastibe/PySoundFile
Author: Bastian Bechtold
Author-email: [email protected]
License: BSD 3-Clause License
Location: /usr/local/lib/python3.6/dist-packages
Requires: cffi
Required-by: 

I cloned the old conda environment using

conda create --name NEWENV --file spec-file.txt
conda env update --name NEWENV --file environment.yml
pip install -r requirements.txt

I really don't understand why soundfile it's not working in the new environment even though it is set up exactly the same way. Any insights?

0

There are 0 best solutions below