[MacPorts] #23670: Pygame is not built with PyPortMidi support
MacPorts
noreply at macports.org
Thu Feb 11 10:35:17 PST 2010
#23670: Pygame is not built with PyPortMidi support
--------------------------------+-------------------------------------------
Reporter: gchaynes@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.8.2
Keywords: pygame midi | Port: py26-game
--------------------------------+-------------------------------------------
The current build on py26-game does not seem to be built with Midi
support, as has been added in recent versions. The Python portion of the
MIDI support is correctly there. I just did a fresh install of py26-game,
which installed 1.9.1 correctly. If I then open python, and type:
{{{
>>> import pygame.midi
}}}
This command works fine. If I then call:
{{{
>>> pygame.midi.init()
}}}
I get the following error:
{{{
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
/site-packages/pygame/midi.py", line 71, in init
import pygame.pypm
ImportError: No module named pypm
}}}
The current Mac OS X build of PyGame, available on the PyGame website,
provides the pypm build (it's a .so file that gets dynamically linked into
pygame at run-time).
This is on Mac OS X Snow Leopard, in 64-bit mode. (The build of PyGame
available on their website is 32-bit).
--
Ticket URL: <http://trac.macports.org/ticket/23670>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list