Open yueyin85 opened 2 years ago
ImportError Traceback (most recent call last) in () 22 23 note_seq.play_sequence(est_ns, synth=note_seq.fluidsynth, ---> 24 sample_rate=SAMPLE_RATE, sf2_path=SF2_PATH) 25 note_seq.plot_sequence(est_ns)
4 frames /usr/local/lib/python3.7/dist-packages/pretty_midi/instrument.py in fluidsynth(self, fs, sf2_path) 454 455 if not _HAS_FLUIDSYNTH: --> 456 raise ImportError("fluidsynth() was called but pyfluidsynth " 457 "is not installed.") 458
ImportError: fluidsynth() was called but pyfluidsynth is not installed.
NOTE: If your import is failing due to a missing package, you can manually install dependencies using either !pip or !apt.
To view examples of installing some common dependencies, click the "Open Examples" button below.
ImportError Traceback (most recent call last) in ()
22
23 note_seq.play_sequence(est_ns, synth=note_seq.fluidsynth,
---> 24 sample_rate=SAMPLE_RATE, sf2_path=SF2_PATH)
25 note_seq.plot_sequence(est_ns)
4 frames /usr/local/lib/python3.7/dist-packages/pretty_midi/instrument.py in fluidsynth(self, fs, sf2_path) 454 455 if not _HAS_FLUIDSYNTH: --> 456 raise ImportError("fluidsynth() was called but pyfluidsynth " 457 "is not installed.") 458
ImportError: fluidsynth() was called but pyfluidsynth is not installed.
NOTE: If your import is failing due to a missing package, you can manually install dependencies using either !pip or !apt.
To view examples of installing some common dependencies, click the "Open Examples" button below.