You are not logged in.
I am wondering whether the packaging of the latest version of pygame, 1.9.1, is complete. When running the midi example i get a module import error.
python -m pygame.examples.midi --list
Traceback (most recent call last):
File "/usr/lib/python2.6/runpy.py", line 122, in _run_module_as_main
"__main__", fname, loader, pkg_name)
File "/usr/lib/python2.6/runpy.py", line 34, in _run_code
exec code in run_globals
File "/usr/lib/python2.6/site-packages/pygame/examples/midi.py", line 820, in <module>
print_device_info()
File "/usr/lib/python2.6/site-packages/pygame/examples/midi.py", line 25, in print_device_info
pygame.midi.init()
File "/usr/lib/python2.6/site-packages/pygame/midi.py", line 71, in init
import pygame.pypm
ImportError: No module named pypm
I have timidity installed and running as a daemon. pmidi and vkeybd work fine.
Offline
Hello Jarav!
What're in the desired line according to the error output ?
Offline
Hi djszapi,
Sorry for not replying earlier.
The output should be something like this:
python -m pygame.examples.midi --list
0: interface :ALSA:, name :Midi Through Port-0:, opened :0: (output)
1: interface :ALSA:, name :Midi Through Port-0:, opened :0: (input)
2: interface :ALSA:, name :TiMidity port 0:, opened :0: (output)
3: interface :ALSA:, name :TiMidity port 1:, opened :0: (output)
4: interface :ALSA:, name :TiMidity port 2:, opened :0: (output)
5: interface :ALSA:, name :TiMidity port 3:, opened :0: (output)
Offline