Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/python/352.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Python ImportError(“找不到FluidSync库”)_Python_Fluidsynth - Fatal编程技术网

Python ImportError(“找不到FluidSync库”)

Python ImportError(“找不到FluidSync库”),python,fluidsynth,Python,Fluidsynth,我已经安装了FluidSync 2.0.5版,并在mingus中使用它。但是,当我运行代码时 from mingus.midi import fluidsynth 它还这个吗 Traceback (most recent call last): File "/Users/rudiherrig 1 2/Desktop/pythonstuff/musicExp.py", line 1, in <module> from mingus.midi import fluidsyn

我已经安装了FluidSync 2.0.5版,并在mingus中使用它。但是,当我运行代码时

from mingus.midi import fluidsynth
它还这个吗

Traceback (most recent call last):
  File "/Users/rudiherrig 1 2/Desktop/pythonstuff/musicExp.py", line 1, in <module>
    from mingus.midi import fluidsynth
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/mingus/midi/fluidsynth.py", line 37, in <module>
    from mingus.midi import pyfluidsynth as fs
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/mingus/midi/pyfluidsynth.py", line 41, in <module>
    raise ImportError("Couldn't find the FluidSynth library.")
ImportError: Couldn't find the FluidSynth library.
回溯(最近一次呼叫最后一次):
文件“/Users/rudiherrig 1 2/Desktop/pythonstuff/musicExp.py”,第1行,在
从mingus.midi导入FluidSync
文件“/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site packages/mingus/midi/fluidSync.py”,第37行,在
从mingus.midi导入PyFluidSync作为fs
文件“/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site packages/mingus/midi/pyfluidSync.py”,第41行,在
“无法找到FluidSync库。”)
ImportError:找不到FluidSync库。
由于安装了fluidsynth,我发现这相当令人困惑。有没有办法解决这个问题?
编辑:我在我的库中找到了一个名为FluidSync_dll.dsp的文件,因此我不知道它返回此错误的原因。

您找到解决方案了吗?我也面临这个问题。