[Pythonmac-SIG] Installing numpy on mach-o python

Chris Lee cjl@physics.otago.ac.nz
Sat, 05 Jan 2002 08:54:33 +1300


On January 03 2002, Marcel Prastawa <prastawa@cs.unc.edu> wrote:

>I don't know about the other two tests, but I think that it is 
>normal/expected that test_locale fails. IIRC, Mac OS X has weak locale 
>support. You probably don't need to worry too much about the failures, 
>unless you really need to use those modules.
>
> > Far worse I cannot run any scripts.  I can start the interpreter and
> > run commands from the command line but when I execute python myfile.py
> > it starts and terminates without executing any code.  So whats have I
> > done now?
>
>Now this is odd... Do you not get any error messages or a stack trace? 
>Did you check your code for bugs? One thing you could do is sprinkle 
>some print statements in your code so you can tell what it is doing (or 
>not doing). Also keep in mind that Python does not automatically 
>echo/display the results of expressions when it executes a script file 
>(it does so in an interactive session).

I finally figured it out.... All my python scripts were written using =
MacPython and have mac line endings when I changed the line ending =
everything went again. :)

>
>BTW, if you don't want to get hassled with building your own Python, you 
>should look into Fink: http://fink.sourceforge.net
>I do not use it for (Mach-O) Python, but I have happily used it for many 
>other things.
>There's also GNU-Darwin at http://gnu-darwin.sourceforge.net

I'll know better next time :)
Thanks for all your help everyone.
Cheers
Chris