[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] Support Request: SDL_ttf improperly installed? (Modified by C Ratchet)




On Jun 25, 2004, at 4:01 PM, Bob Ippolito wrote:

That package installs its own copy of SDL and such in /Library/Frameworks, nothing in PackageManager is dependent on Fink (at least nothing in my repository, anyway). I hope you also realize that pygame.font.get_init() is going to return 0 if you DO NOT INITIALIZE it :) The font module auto-initializes when you use it.. so I imagine you have never tried to use it, because I'm awfully sure that it does indeed work.

[crack-wlan:~] bob% pythonw
Python 2.3 (#1, Sep 13 2003, 00:49:11)
[GCC 3.3 20030304 (Apple Computer, Inc. build 1495)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import pygame.font
>>> pygame.font.get_init()
0
>>> pygame.font.init()
>>> pygame.font.get_init()
1

OK, thanks for this info, I didn't know actually :p

pygame apps will not run from within that IDE, at least not in interactive mode (it's in-process, the runloops collide. bad things ensue.)... so you may want to look for an alternative. I believe that PyOXIDE should be able to run pygame apps.

OK, I'll look at it.
I had noticed that and have been running my apps from terminal.

On Jun 25, 2004, at 3:25 PM, C Ratchet wrote:

I installed all the files that it said were required from the precompiled package (they say Yes (installed) in MacPython's package manager, and I also have SDL and the other packages completely installed thru Fink. I am using MacPython's IDE for programming in Python. When I use interactive mode to check if the font module is enabled, it returns 0. Do I possibly have a bad copy of a dependency or an unfulfilled dependency somewhere? Is there any way to uninstall/reinstall files installed with the MacPython Package Manager?

On Jun 24, 2004, at 7:45 PM, Bob Ippolito wrote:

Then please explain in more detail what steps you performed and what the problem is, because it should work and I don't quite understand what you're saying.

On Jun 24, 2004, at 8:27 PM, C Ratchet wrote:

I did.

On Jun 24, 2004, at 7:17 PM, Bob Ippolito wrote:

Since you are on 10.3, why not use the precompiled package at http://undefined.org/python/pimp/ ?

On Jun 20, 2004, at 2:03 PM, C Ratchet wrote:

Hello. I've just started using Pygame and I have a problem.

When testing if the Font module will work in Pygame, it returns 0. I have all dependencies installed (as recommended on the website (from both Fink and MacPython). I'm on Mac OS X 10.3.4. Any help for this? I really need font support so help on this would be much appreciated.

---

Are YOU a Good Person? Go here: http://www.wayofthemaster.com/wotm_flash.html