Closed DavidPrimor closed 3 years ago
Is there any progress on this issue? After copying the .dll files from the compiled fluidsynth directory to C:\Windows\System32 folder this is no more an issue but the next one comes up described here: 'OSError: [WinError 193] %1 is not a valid Win32 application' https://stackoverflow.com/questions/54166861/installing-pyfluidsynth-on-windows From this point im stuck...
@sztilko your error sounds like you're running 64-bit Python and trying to bind to a 32-bit fluidsynth DLL. If you haven't given up on this completely by now, can you try installing 32-bit Python or recompiling fluidsynth as 64-bit?
@DavidPrimor my best guess is you might have more than one Python installed and pip
might be installing pyfluidsynth to a different python installation than the one you're trying to run your code on. Can you confirm or provide more information?
@DavidPrimor to install this library from PyPi you would use
pip install pyFluidSynth
The import line in your code should read
import fluidsynth
(the case matters)
I'm trying to install pyfluidsynth on windows. I used pip install pyfluidsynth in the command prompt, but when I tried to import fluidsynth in my python code I get:
ModuleNotFoundError: No module named 'FluidSynth'
When I tried to install FluidSynth (by using pip install fluidsynth) another binding package was install with FluidSynth 0.2 from several years ago. Can anybody help with specific details how to install pyfluidsynth on windows and use it? The error: import FluidSynth Traceback (most recent call last): File "", line 1, in
File "C:\Program Files\JetBrains\PyCharm 2018.3.2\helpers\pydev_pydev_bundle\pydev_import_hook.py", line 21, in do_import
module = self._system_import(name, *args, **kwargs)
ModuleNotFoundError: No module named 'FluidSynth'