问题安装源头
我正在尝试在新的conda环境中安装音件
。我已经尝试了所有内容,并且一直在获取modulenotfounderror:没有名为“ Soundfile”
的模块。
在同一台机器上,我有一个旧的conda环境,可以使用它。如果我键入pip show oundfile
我得到:
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:
奇怪的是,这是我在新的conda环境中获得的输出(是一样的!):
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:
克隆旧的conda环境
conda create --name NEWENV --file spec-file.txt
conda env update --name NEWENV --file environment.yml
pip install -r requirements.txt
我使用我真的不喜欢 t理解为什么声音
它在新环境中不起作用,即使它以完全相同的方式设置。有见地吗?
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?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论