FS#15847 - [python-pygame] ImportError: No module named pypm
Attached to Project:
Arch Linux
Opened by Jagadish R (jarav) - Friday, 07 August 2009, 23:01 GMT
Last edited by Eric Belanger (Snowman) - Saturday, 06 February 2010, 10:38 GMT
Opened by Jagadish R (jarav) - Friday, 07 August 2009, 23:01 GMT
Last edited by Eric Belanger (Snowman) - Saturday, 06 February 2010, 10:38 GMT
|
Details
Description:
When I run 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. Additional info: * package version(s) * config and/or log files etc. Arch Linux 2.6.30, python 2.6.2, python-pygame 1.9.1-1 Steps to reproduce: Run python -m pygame.examples.midi --list |
This task depends upon
Closed by Eric Belanger (Snowman)
Saturday, 06 February 2010, 10:38 GMT
Reason for closing: Won't fix
Additional comments about closing: See last comment
Saturday, 06 February 2010, 10:38 GMT
Reason for closing: Won't fix
Additional comments about closing: See last comment
python -m pygame.examples.midi --list
should have been something like
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)
PORTMIDI: not found
PORTTIME: not found
PORTMIDI -> http://portmedia.sourceforge.net/