pianoplayer
pianoplayer copied to clipboard
Cannot visualize: `ERROR: texture file wood1 does not exist`
Hello. I'm trying to visualize my MIDI file with this command:
pianoplayer midi_file.midi -vz
However, the command fails with these errors:
[vedo.mesh.py:463] ERROR: texture file wood1 does not exist
[vedo.mesh.py:463] ERROR: texture file wood1 does not exist
Traceback (most recent call last):
File "/home/hiroki/.local/bin/pianoplayer", line 224, in <module>
vk = VirtualKeyboard(songname=xmlfn)
File "/home/hiroki/.local/lib/python3.9/site-packages/pianoplayer/vkeyboard.py", line 41, in __init__
self.build_keyboard()
File "/home/hiroki/.local/lib/python3.9/site-packages/pianoplayer/vkeyboard.py", line 91, in build_keyboard
self.vp += Text('PianoPlayer ^'+__version__+" ",
NameError: name 'Text' is not defined
I couldn't find the texture files on my computer. How can I get them?
Hi thanks for reporting
my guess is that you have a incompatible vedo
version, try:
pip install vedo==2020.4.2 -U
Thank you, that command solved the problem.
By the way, I've installed pianoplayer
with pip install --user pianoplayer
. I don't understand python fully, but since the requirements.txt
contains vedo==2020.4.2
, I think vedo should have been installed at that time. Did I miss something?
You are right.. I not sure the pip command did not take the specified version as in the requirements file...