[MacPorts] #18031: pygame.py is not in python module directories
#18031: pygame.py is not in python module directories -------------------------------+-------------------------------------------- Reporter: xl64100@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: -------------------------------+-------------------------------------------- Hello, when I installed pygame I had no problem but the pygame module wasn't found by my pythons scripts. I had to had the following symbolic link to make it work : ln -fs System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python/py2app/recipes/pygame.py /Library/Python/2.5/site-packages -- Ticket URL: <http://trac.macports.org/ticket/18031> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18031: pygame.py is not in python module directories -------------------------------+-------------------------------------------- Reporter: xl64100@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: -------------------------------+-------------------------------------------- Comment(by blb@…): py-game, py25-game, or py26-game? I'm guessing py25-game since you mention 2.5, but note that all the python modules should not be installing into either /System/Library/... or /Library/Python/... but /opt/local/Library/... Because of that, you need to make sure you are using MacPorts' python in /opt/local/bin/python and not the system one in /usr/bin/python. -- Ticket URL: <http://trac.macports.org/ticket/18031#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18031: pygame.py is not in python module directories -------------------------------+-------------------------------------------- Reporter: xl64100@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: -------------------------------+-------------------------------------------- Comment(by xl64100@…): The one I installed was py-game, sorry for forgetting that, I was effectively using wriong /usr/bin/python but with /opt/local/bin/python2.5 (if I remove the link) I still get the same module missing error. -- Ticket URL: <http://trac.macports.org/ticket/18031#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18031: pygame.py is not in python module directories -------------------------------+-------------------------------------------- Reporter: xl64100@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: -------------------------------+-------------------------------------------- Comment(by alakazam@…): py-game is for python24 (/opt/local/bin/python2.4 will use it), py25-game is for python25. -- Ticket URL: <http://trac.macports.org/ticket/18031#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18031: pygame.py is not in python module directories -------------------------------+-------------------------------------------- Reporter: xl64100@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: -------------------------------+-------------------------------------------- Comment(by xl64100@…): as it was installed in this directory I thought it was for 2.5 : /System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python/py2app/recipes/pygame.py but yes it works with python2.4, I will install it for 2.5 now, thanks -- Ticket URL: <http://trac.macports.org/ticket/18031#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18031: pygame.py is not in python module directories -------------------------------+-------------------------------------------- Reporter: xl64100@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: -------------------------------+-------------------------------------------- Comment(by alakazam@…): Is /System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python/py2app/ installed by macports ? Isn't that provided by OS X ? I also have /System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python/py2app/recipes/pygame.py, but as expected : {{{ % port provides /System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python/py2app/recipes/pygame.py /System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python/py2app/recipes/pygame.py is not provided by a MacPorts port. }}} -- Ticket URL: <http://trac.macports.org/ticket/18031#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18031: pygame.py is not in python module directories --------------------------------+------------------------------------------- Reporter: xl64100@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.7.0 Resolution: invalid | Keywords: Port: py-game | --------------------------------+------------------------------------------- Changes (by jmr@…): * status: new => closed * resolution: => invalid * port: => py-game -- Ticket URL: <https://trac.macports.org/ticket/18031#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts