Open lmj282371 opened 11 hours ago
Hi @lmj282371
You need to install abc2midi, which is used to convert the ABC notation produced by the model into MIDI. Additionally, you need to install fluidsynth, which is used to convert MIDI to WAV.
This error occurs when the script tries to use the command-line tool to convert ABC notation, but the tool is not present. As a result, it mistakenly detects it as a file and tries to open it.
I have not been able to successfully install the abc2midi library as you suggested. I am using Python version 3.10, and I have just updated pip to its latest version. However, I am still encountering errors during the installation process. Why is this happening?
The error message in English is:
"Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple ERROR: Could not find a version that satisfies the requirement abc2midi (from versions: none) ERROR: No matching distribution found for abc2midi"
You need to install command line version of that tool, In ubuntu you can try, apt-get update apt-get install -y fluidsynth apt-get install -y abcmidi
For windows I guess you need to install it the other way, or you can use WSL
Can't this library be downloaded on a Windows system? Is it only available on Linux systems?
I guess it is available for windows too You can check that out here: https://sourceforge.net/projects/abcmidi/ https://github.com/xlvector/abcmidi
I'll give it a try.Thank you very much for your reply.
I have hosted this on hugging face, you can check it there too https://huggingface.co/spaces/nullHawk/Music-Generator
FileNotFoundError: [WinError 2] 系统找不到指定的文件。