可以在Python 2.7中导入soundfie吗?
我在做什么可以在Python 2.7中导入soundfie吗?,python,windows,python-2.7,python-import,importerror,Python,Windows,Python 2.7,Python Import,Importerror,我在做什么 import soundfile as sf 我得到了一个错误: ImportError:没有名为soundfile的模块 我正在Windows10中使用Python2.7。我已经做到了: pip install pysoundfile pip install conda pip install virtualenv python -m virtualenv venv pip install numpy pip install cffi 在Windows cmd中,但没
import soundfile as sf
我得到了一个错误:
ImportError:没有名为soundfile的模块
我正在Windows10中使用Python2.7。我已经做到了:
pip install pysoundfile
pip install conda
pip install virtualenv
python -m virtualenv venv
pip install numpy
pip install cffi
在Windows cmd中,但没有运气…我也尝试了:
pip install libsndfile
但我得到了一个错误:
收集libsndfile找不到满足以下条件的版本:
需求库文件(来自版本:)没有匹配的分发
为libsndfile找到
有人试过吗?执行:
sudo apt-get install python-pip
及
然后用前缀
pip2
再次执行上述所有包命令,谢谢,但我使用的是windows10,这些命令看起来像ubuntu命令,对吗?windows的等价物是什么?
sudo apt-get install python3-pip