Re: Some problems refer to install 3rd party package of Python on mac OS 10.6.8

2011-08-29 Thread Gee Chen
On Aug 29, 9:14 am, Chris Rebert wrote: > On Sun, Aug 28, 2011 at 5:35 PM, Gee Chen wrote: > > -- > > the Python environment on my mac is: > > > Python 2.6.4 (r264:75706, Aug 28 2011, 22:29:24) > > [GCC 4.2.1 (Apple Inc. build 5664)] on darwin > > For future refere

Re: Some problems refer to install 3rd party package of Python on mac OS 10.6.8

2011-08-28 Thread Chris Rebert
On Sun, Aug 28, 2011 at 5:35 PM, Gee Chen wrote: > -- > the Python environment on my mac is: > > Python 2.6.4 (r264:75706, Aug 28 2011, 22:29:24) > [GCC 4.2.1 (Apple Inc. build 5664)] on darwin For future reference, when on OS X, it's very helpful to include how yo

Some problems refer to install 3rd party package of Python on mac OS 10.6.8

2011-08-28 Thread Gee Chen
-- the Python environment on my mac is: Python 2.6.4 (r264:75706, Aug 28 2011, 22:29:24) [GCC 4.2.1 (Apple Inc. build 5664)] on darwin i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5664) Copyright (C) 2007 Free Software Foundation, Inc. --

Re: IDLE will not startup after upgrading Python on Mac OS X

2010-08-23 Thread Ned Deily
In article , Benjamin Kaplan wrote: > On Mon, Aug 23, 2010 at 9:45 AM, Frederick Manley wrote: > > so went to > > python.org to download Python 2.7, as I was "strongly encouraged" to do on > > the website. [...] > >The only problem is, whenever I start it > > up (I've tried starting it from the

Re: IDLE will not startup after upgrading Python on Mac OS X

2010-08-23 Thread Terry Reedy
On 8/23/2010 10:05 AM, Benjamin Kaplan wrote: From the title, this may be relevant, but I'm not sure because I'm having trouble accessing the bug tracker right now. http://bugs.python.org/issue9227 Also, this one: http://bugs.python.org/issue9620 Tracker is still down (site maintainers have

Re: IDLE will not startup after upgrading Python on Mac OS X

2010-08-23 Thread Benjamin Kaplan
On Mon, Aug 23, 2010 at 9:45 AM, Frederick Manley wrote: > I have snow leopard and a brand new mac book pro.  After running python from > x11, I saw that I had python 2.5.1 installed on this laptop, That should be 2.6.1 if you're on Snow Leopard. Also, why were you running Python from an xterm? J

IDLE will not startup after upgrading Python on Mac OS X

2010-08-23 Thread Frederick Manley
I have snow leopard and a brand new mac book pro. After running python from x11, I saw that I had python 2.5.1 installed on this laptop, so went to python.org to download Python 2.7, as I was "strongly encouraged" to do on the website. The problem is that Mac doesn't come with a text editor for w

Re: embedded python on mac - linking problem

2010-01-07 Thread Krzysztof Kobus
Hi, I have been able to solve the problem finally: Initially I was trying (wrongly) to link distutils-made module with my application and that has failed. Solution was to (instead of linking the module) compile the source files making up the module and link corresponding objects as any other s

Re: embedded python on mac - linking problem

2010-01-06 Thread Krzysztof Kobus
Hi, >The missing symbol looks like a C++-symbol - but Python is C. Do you maybe >miss the > extern "C" > > declaration. I have not specified extern "C" as I assume it is a part of PyMODINIT_FUNC define. At least documentation says so: "Note that PyMODINIT_FUNC declares the function as PyObjec

Re: embedded python on mac - linking problem

2010-01-06 Thread Diez B. Roggisch
Krzysztof Kobus schrieb: Hi, I have a problem with linking python module with my application on mac in order to make the module available in "embedded python". My python module is contained in j3kmodule.cxx file and module initialization function is exported in j3kmodule.h j3kmodule.h:

Re: embedded python on mac - linking problem

2010-01-06 Thread Krzysztof Kobus
Hi, > > Well, it seems that one of your files is a different architecture than > > the others. Based on the location, I'd say it's i386 while the rest of > > it would be PowerPC. You can cross-compile but you can't link an i386 > > library to a PowerPC library. Thank you for the hint. I have ch

Re: embedded python on mac - linking problem

2010-01-05 Thread Benjamin Kaplan
On Tue, Jan 5, 2010 at 7:33 AM, Krzysztof Kobus wrote: > Hi, > > I have a problem with linking python module with my application on mac in > order to make the module available in "embedded python". > > My python module is contained in  j3kmodule.cxx file and module > initialization function is e

embedded python on mac - linking problem

2010-01-05 Thread Krzysztof Kobus
Hi, I have a problem with linking python module with my application on mac in order to make the module available in "embedded python". My python module is contained in j3kmodule.cxx file and module initialization function is exported in j3kmodule.h j3kmodule.h: PyMODINIT_FUNC PyI

Re: Shared library Python on Mac OS X 64-bit

2009-03-05 Thread Graham Dumpleton
On Mar 6, 6:24 am, Uberman wrote: > Graham Dumpleton wrote: > > > I don't understand the problem, you can say where it installs the > > framework, it doesn't have to be under /Library, so can be in your > > special SDK folder. For example: > > > ./configure --prefix=/usr/local/python-2.5.4  \ > >

Re: Shared library Python on Mac OS X 64-bit

2009-03-05 Thread Uberman
Graham Dumpleton wrote: > > I don't understand the problem, you can say where it installs the > framework, it doesn't have to be under /Library, so can be in your > special SDK folder. For example: > > ./configure --prefix=/usr/local/python-2.5.4 \ > --enable-framework=/usr/local/python-2.5.4/fra

Re: Shared library Python on Mac OS X 64-bit

2009-03-03 Thread Graham Dumpleton
On Mar 4, 2:29 am, Uberman wrote: > Graham Dumpleton wrote: > > Why don't you want to use MacOS X Framework libraries? It is the > > better installation method. > > Because I'm not installing Python, I'm building it.  If I were just interested > in installing Python, I wouldn't care whether it was

Re: Shared library Python on Mac OS X 64-bit

2009-03-03 Thread Diez B. Roggisch
Uberman schrieb: Graham Dumpleton wrote: Why don't you want to use MacOS X Framework libraries? It is the better installation method. Because I'm not installing Python, I'm building it. If I were just interested in installing Python, I wouldn't care whether it was static or shared libraries.

Re: Shared library Python on Mac OS X 64-bit

2009-03-03 Thread Uberman
Graham Dumpleton wrote: > Why don't you want to use MacOS X Framework libraries? It is the > better installation method. Because I'm not installing Python, I'm building it. If I were just interested in installing Python, I wouldn't care whether it was static or shared libraries. This is all very

Re: Shared library Python on Mac OS X 64-bit

2009-03-02 Thread Graham Dumpleton
On Mar 3, 12:25 pm, Uberman wrote: > I'm trying to build a 64-bit version of Python 2.5.1 on Mac OS X 10.5.6 64-bit > (Intel processor).  The configure line I'm using is: > > ./configure --enable-shared --disable-framework --disable-toolbox-glue > OPT="-fast -arch x86_64 -Wall -Wstrict-prototypes

Shared library Python on Mac OS X 64-bit

2009-03-02 Thread Uberman
I'm trying to build a 64-bit version of Python 2.5.1 on Mac OS X 10.5.6 64-bit (Intel processor). The configure line I'm using is: ./configure --enable-shared --disable-framework --disable-toolbox-glue OPT="-fast -arch x86_64 -Wall -Wstrict-prototypes -fno-common -fPIC" LDFLAGS="-arch x86_64" Th

Re: How to record audio from Python on Mac?

2008-09-09 Thread Craig Allen
I want to do this as well, and also some other audio processing via python. I have not tried yet, but much of my research points to pyaudio, PortAudio bindings for python, which is supposed to be multi- platform including Mac OS X, but as I say, I've not tried it yet. Related to this are some exa

Re: How to record audio from Python on Mac?

2008-09-09 Thread has
On 9 Sep, 19:55, David Thole <[EMAIL PROTECTED]> wrote: > Another option you could use is calling Applescript from the command > line, to open, execute, and handle audio. For example, using QuickTime Player (which is a buggy, poorly designed piece of junk, but might suffice if you only need somet

Re: How to record audio from Python on Mac?

2008-09-09 Thread David Thole
On Sep 9, 1:11 pm, Kevin Walzer <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] wrote: > > (I asked this on pythonmac-sig a couple days ago but got no response, so I'm > > casting a broader net.) > > > Can I easily control audio record/playback from Python on my Mac?  I know > > zip about audio reco

Re: How to record audio from Python on Mac?

2008-09-09 Thread Kevin Walzer
[EMAIL PROTECTED] wrote: (I asked this on pythonmac-sig a couple days ago but got no response, so I'm casting a broader net.) Can I easily control audio record/playback from Python on my Mac? I know zip about audio recording or about Apple APIs via Python. Pointers to simple examples would be

How to record audio from Python on Mac?

2008-09-09 Thread skip
(I asked this on pythonmac-sig a couple days ago but got no response, so I'm casting a broader net.) Can I easily control audio record/playback from Python on my Mac? I know zip about audio recording or about Apple APIs via Python. Pointers to simple examples would be much appreciated. Thanks,

Re: python on Mac

2008-08-28 Thread Lou Pecora
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] wrote: > Hi All. > I'm really new in the python world, so, sorry if my question is particulary > stupid. > I've just installed on my system (Mac OS X 10.4 PPC) the python version > 2.5.2 and all works fine. > My next step is to install the version

Re: Python on Mac

2008-08-27 Thread Rajanikanth Jammalamadaka
Hi! Luca, All you need to do is in the final step of (configure, make and make install), use make altinstall instead of make install. That way, your original python implementation won't be affected. Thanks, Raj On Wed, Aug 27, 2008 at 7:46 AM, <[EMAIL PROTECTED]> wrote: > Hi All. > I'm really

Python on Mac

2008-08-27 Thread luca . ciciriello
Hi All. I'm really new in the python world, so, sorry if my question is particulary stupid. I've just installed on my system (Mac OS X 10.4 PPC) the python version 2.5.2 and all works fine. My next step is to install the version 3.0 (when available). I've read somewhere that this version will break

python on Mac

2008-08-27 Thread luca . ciciriello
Hi All. I'm really new in the python world, so, sorry if my question is particulary stupid. I've just installed on my system (Mac OS X 10.4 PPC) the python version 2.5.2 and all works fine. My next step is to install the version 3.0 (when available). I've read somewhere that this version will break

Re: chronic error with python on mac os/x 10.5

2008-03-28 Thread martin . laloux
I don't known pjsip but this problem generally occurs when the library (dylib) on which the file (.so) depends is not the good one > Googling this issue show that it is happening to many > libraries in python on mac. ?? I am working in python on mac since a lot of time I seldo

chronic error with python on mac os/x 10.5

2008-03-28 Thread Tzury Bar Yochay
Although I am experiencing this problem using a specific domain library (pjsip). Googling this issue show that it is happening to many libraries in python on mac. I was wondering whether anyone solved this or alike in the past and might share what steps were taken. Note: this python lib works

Re: mod-python on Mac OSX 10.5

2008-01-08 Thread Arnaud Delobelle
On Jan 8, 5:27 am, Gnarlodious <[EMAIL PROTECTED]> wrote: > I am trying to install mod_python on OSX 10.5, Intel version. > > sudo apachectl configtest tells me this: > > httpd: Syntax error on line 114 of /private/etc/apache2/httpd.conf: > Cannot load /usr/libexec/apache2/mod_python.so into server

mod-python on Mac OSX 10.5

2008-01-08 Thread Gnarlodious
I am trying to install mod_python on OSX 10.5, Intel version. sudo apachectl configtest tells me this: httpd: Syntax error on line 114 of /private/etc/apache2/httpd.conf: Cannot load /usr/libexec/apache2/mod_python.so into server: dlopen(/usr/libexec/apache2/mod_python.so, 10): no suitable imag

Re: Bundling Python on Mac

2007-11-30 Thread Benjamin
On Nov 30, 6:48 am, "Diez B. Roggisch" <[EMAIL PROTECTED]> wrote: > Benjamin schrieb: > > > On Nov 29, 2:34 am, "Diez B. Roggisch" <[EMAIL PROTECTED]> wrote: > >> Benjamin schrieb: > > >>> Hello, I'm writing a Python/PyQt application. For my Mac distribution. > >>> I would like to include all the n

Re: Bundling Python on Mac

2007-11-30 Thread Diez B. Roggisch
Benjamin schrieb: > On Nov 29, 2:34 am, "Diez B. Roggisch" <[EMAIL PROTECTED]> wrote: >> Benjamin schrieb: >> >>> Hello, I'm writing a Python/PyQt application. For my Mac distribution. >>> I would like to include all the needed libraries in the Mac bundle. >>> How should I go about doing this? >> T

Re: Bundling Python on Mac

2007-11-29 Thread Benjamin
On Nov 29, 2:34 am, "Diez B. Roggisch" <[EMAIL PROTECTED]> wrote: > Benjamin schrieb: > > > Hello, I'm writing a Python/PyQt application. For my Mac distribution. > > I would like to include all the needed libraries in the Mac bundle. > > How should I go about doing this? > > The py2app distutils e

Re: Bundling Python on Mac

2007-11-29 Thread Diez B. Roggisch
Benjamin schrieb: > Hello, I'm writing a Python/PyQt application. For my Mac distribution. > I would like to include all the needed libraries in the Mac bundle. > How should I go about doing this? The py2app distutils extension should do that for you. It works flawless for PyObjc-apps for me - it

Bundling Python on Mac

2007-11-28 Thread Benjamin
Hello, I'm writing a Python/PyQt application. For my Mac distribution. I would like to include all the needed libraries in the Mac bundle. How should I go about doing this? -- http://mail.python.org/mailman/listinfo/python-list

bgl Python on Mac OS X

2007-06-11 Thread [EMAIL PROTECTED]
I'm trying to build this. I've downloaded the boost libraries (version 1.34) and run configure, make and sudo make install without errors. Then I've downloaded bgl-python (0.9) and, as instructed, found the bjam executable from the boost hierarchy, copied it somewhere convenient and run it in the

Re: python on mac os 10.4.x

2007-04-03 Thread martin . laloux
Go to http://wiki.python.org/moin/MacPython and http://pythonmac.org/packages/ if you want to download macpython 2.5 or macpython 2.4.4 ("framework" builds). Installation is very easy (package) and you have all you want without problem with the 2.3.5 version wich remains installed and functional

Re: python on mac os 10.4.x

2007-04-02 Thread Stephen Hansen
Check out: http://www.pythonmac.org/packages/ for the latest version of Python, which will run the latest version of wxPython fine. (I'm using wxPython 2.8 on Python 2.4) On 2 Apr 2007 22:00:55 -0700, 7stud <[EMAIL PROTECTED]> wrote: Hi, Python 2.3.5 comes pre-installed on mac os 10.4.7, and

python on mac os 10.4.x

2007-04-02 Thread 7stud
Hi, Python 2.3.5 comes pre-installed on mac os 10.4.7, and I've looked around in /System/Library/Frameworks/Python.framework/ and under .../ Versions/2.3/bin/, there is an exec file named 'idle'. I assume that is the Python IDLE I've read about, but I can't figure out what I need to do to use IDL

Python on mac - can't extend interpreter with "catch_exception_raise" wrapper.

2006-12-08 Thread Charlie Miller
Hi. I've run into a very strange problem with Python on the mac. I'm trying to write a python script which will monitor an application for exceptions. It turns out on a mac, to do this you want to use the Mach IPC interface, see: http://web.mit.edu/darwin/src/modules/xnu/osfmk/man/ http://www.w

Re: Good script editor for Python on Mac OS 10.3

2006-11-30 Thread martin . laloux
I work with Python on mac os 10.3.9 First of all : Install a newer version of python for mac, from http://pythonmac.org/packages/ (python 2.4.4 -> http://pythonmac.org/packages/py24-fat/index.html) (python 2.5 -> http://pythonmac.org/packages/py25-fat/index.html) you have a more &qu

Re: Good script editor for Python on Mac OS 10.3

2006-11-29 Thread SPE - Stani's Python Editor
Install wxPython and than you can use SPE, a free Python IDE with UML, GUI builders, ... Stani Scott_Davies wrote: > Hi, > > I have an old Mac with OS X Panther installed. I also have the Python > language download file, but I haven't got a text/script editor to use > for it. Does anyone have a

Re: Good script editor for Python on Mac OS 10.3

2006-11-29 Thread Stephen Eilert
Lou Pecora escreveu: > In article <[EMAIL PROTECTED]>, > "Scott_Davies" <[EMAIL PROTECTED]> wrote: > > > Hi, > > > > I have an old Mac with OS X Panther installed. I also have the Python > > language download file, but I haven't got a text/script editor to use > > for it. Does anyone have a re

Re: Good script editor for Python on Mac OS 10.3

2006-11-29 Thread Stephen Hansen
If you're looking for something free, there's always IDLE. http://www.python.org/download/mac/ However, if you don't mind paying a little bit-- you should really look at TextMate at http://www.macromates.com/ It's .. the best editor ever :) I'm the envy of all my windows coworkers who I had prev

Re: Good script editor for Python on Mac OS 10.3

2006-11-29 Thread Nikita the Spider
In article <[EMAIL PROTECTED]>, Lou Pecora <[EMAIL PROTECTED]> wrote: > In article <[EMAIL PROTECTED]>, > "Scott_Davies" <[EMAIL PROTECTED]> wrote: > > > Hi, > > > > I have an old Mac with OS X Panther installed. I also have the Python > > language download file, but I haven't got a text/scri

Re: Re: Good script editor for Python on Mac OS 10.3

2006-11-29 Thread Timothy Grant
On 11/29/06, Lou Pecora <[EMAIL PROTECTED]> wrote: > In article <[EMAIL PROTECTED]>, > "Scott_Davies" <[EMAIL PROTECTED]> wrote: > > > Hi, > > > > I have an old Mac with OS X Panther installed. I also have the Python > > language download file, but I haven't got a text/script editor to use > > fo

Re: Good script editor for Python on Mac OS 10.3

2006-11-29 Thread Lou Pecora
In article <[EMAIL PROTECTED]>, "Scott_Davies" <[EMAIL PROTECTED]> wrote: > Hi, > > I have an old Mac with OS X Panther installed. I also have the Python > language download file, but I haven't got a text/script editor to use > for it. Does anyone have a recommendation for a good Python text >

Good script editor for Python on Mac OS 10.3

2006-11-29 Thread Scott_Davies
Hi, I have an old Mac with OS X Panther installed. I also have the Python language download file, but I haven't got a text/script editor to use for it. Does anyone have a recommendation for a good Python text editor in OS 10.3? Thanks, Scott D. -- http://mail.python.org/mailman/listinfo/pyth

Re: Need help building boost python on mac os x.

2006-08-04 Thread Simon Forman
KraftDiner wrote: > Could someone point me to step by step instructions on building boost > python on mac os x? > I have bjam running.. I have the boost source... but the tests are > failing.. > Probably something to do with environement variables... > Anyone with time? You mig

Need help building boost python on mac os x.

2006-08-04 Thread KraftDiner
Could someone point me to step by step instructions on building boost python on mac os x? I have bjam running.. I have the boost source... but the tests are failing.. Probably something to do with environement variables... Anyone with time? -- http://mail.python.org/mailman/listinfo/python-list

Re: Question about Python on Mac

2006-05-21 Thread elventear
James Stroud wrote: > I think fink is not detecting the gmp (GNU multiple precision arithmetic > library) dependency. > > Try: > > % fink install gmp > > Then try building gmpy with /sw/bin/python. I think I didn't explain myself very well. gmp is already installed in my computer; when building gm

Re: Question about Python on Mac

2006-05-20 Thread James Stroud
elventear wrote: > Hello, > > I am working with Python 2.4.3 built from source courtesy of Fink. So > far so good, until now. I want to use a module called GMPY > (http://gmpy.sf.net/). I am able to build correctly the module, but > once I try to import it I get the following error: > > ImportErr

Re: Question about Python on Mac

2006-05-19 Thread elventear
On 2006-05-19 16:19:51 -0500, "elventear" <[EMAIL PROTECTED]> said: > The weird thing is that just for kicks I tried building with Python > that comes with MacOSX (py2.3) and it works. It builds and it loads > fine. Anybody have an idea why this would happen? Any ideas how to > solve this? In the

Question about Python on Mac

2006-05-19 Thread elventear
Hello, I am working with Python 2.4.3 built from source courtesy of Fink. So far so good, until now. I want to use a module called GMPY (http://gmpy.sf.net/). I am able to build correctly the module, but once I try to import it I get the following error: ImportError: Failure linking new module: g

Re: python on Mac

2006-04-11 Thread Alex Martelli
Lawrence D'Oliveiro <[EMAIL PROTECTED]> wrote: > In article <[EMAIL PROTECTED]>, > [EMAIL PROTECTED] (Alex Martelli) wrote: > > >Lawrence D'Oliveiro <[EMAIL PROTECTED]> wrote: > > > >> In article <[EMAIL PROTECTED]>, > >> "pierreth" <[EMAIL PROTECTED]> wrote: > >> > >> >You removed /usr/bin/py

Re: python on Mac

2006-04-10 Thread Lawrence D'Oliveiro
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Alex Martelli) wrote: >Lawrence D'Oliveiro <[EMAIL PROTECTED]> wrote: > >> In article <[EMAIL PROTECTED]>, >> "pierreth" <[EMAIL PROTECTED]> wrote: >> >> >You removed /usr/bin/python! This is a really bad idea >> >> Is there any way to put it

Re: python on Mac

2006-04-10 Thread Alex Martelli
Lawrence D'Oliveiro <[EMAIL PROTECTED]> wrote: > In article <[EMAIL PROTECTED]>, > "pierreth" <[EMAIL PROTECTED]> wrote: > > >You removed /usr/bin/python! This is a really bad idea > > Is there any way to put it back, short of a full system reinstall? There's a free 3rd party tool known as Pac

Re: python on Mac

2006-04-07 Thread Lawrence D'Oliveiro
In article <[EMAIL PROTECTED]>, "pierreth" <[EMAIL PROTECTED]> wrote: >You removed /usr/bin/python! This is a really bad idea Is there any way to put it back, short of a full system reinstall? -- http://mail.python.org/mailman/listinfo/python-list

Re: python on Mac

2006-04-06 Thread Thomas Nelson
Ok, I fixed my /usr/bin/python and added /usr/public/bin/ to my PATH in .profile. Everything seems ok now. Thanks again to everyone for their help. THN -- http://mail.python.org/mailman/listinfo/python-list

Re: python on Mac

2006-04-06 Thread Robert Kern
Thomas Nelson wrote: > Well, as I stated in post, I've already replaced the link at > /usr/bin/python. I'm not clear why that's unhealthy. The FAQ describes why it's unhealthy in detail. "FAQ 5.7 Describe Apple's Framework implementation of Python and how that affects me adding new Python imple

Re: python on Mac

2006-04-06 Thread Thomas Nelson
Well, as I stated in post, I've already replaced the link at /usr/bin/python. I'm not clear why that's unhealthy. Should I change it back to whatever it was before? I guess maybe it was /System/Library/Frameworks/Python.framework/Versions/Current/bin/python ? Thanks, THN -- http://mail.python.

Re: python on Mac

2006-04-06 Thread gene tani
Lou Pecora wrote: > YIKES! Don't do that. Don't mess with Apple's python. Not > recommended. Check the MacPython FAQ and Wiki pages. Python 2.4 was > installed in /usr/local/bin. You should put that in your $PATH variable > Before /usr/bin. That will cause the new Python to be launched. >

Re: python on Mac

2006-04-06 Thread Lou Pecora
In article <[EMAIL PROTECTED]>, James Stroud <[EMAIL PROTECTED]> wrote: > Thomas Nelson wrote: > > I just purchased a new macbook (os 10.4.6), and I'm trying to install > > python 2.4 on it. I downloaded and ran the two installers recommended > > at http://www.python.org/download/mac/. Now I ha

Re: python on Mac

2006-04-05 Thread Robert Kern
Robert Kern wrote: > James Stroud wrote: >>The python in /usr/bin is a link (to a link). You can do this: >> >>sudo rm /usr/bin/python >>sudo ln -s \ >>/System/Library/Frameworks/Python.framework/Versions/2.4/bin/python \ >>/usr/bin/python > > No, for the love of all that is holy, don't d

Re: python on Mac

2006-04-05 Thread Robert Kern
James Stroud wrote: > Thomas Nelson wrote: > >>I just purchased a new macbook (os 10.4.6), and I'm trying to install >>python 2.4 on it. I downloaded and ran the two installers recommended >>at http://www.python.org/download/mac/. Now I have IDLE, which runs >>2.4.1, but typing "python" at a ter

Re: python on Mac

2006-04-05 Thread pierreth
You removed /usr/bin/python! This is a really bad idea. You should never modify /usr/bin because the system is expecting it. This is why the new installation is in /usr/local/bin. Modify your /usr/local instead are change your .login file instead. It is much safer. -- http://mail.python.org/mail

Re: python on Mac

2006-04-05 Thread Thomas Nelson
Thanks to you both. I downloaded the dmg suggested, and trustingly typed: sudo rm /usr/bin/python sudo ln -s /usr/local/bin/python2.4 /usr/bin/python And now my command line and scripts behave the way I expect. Thanks again. THN -- http://mail.python.org/mailman/listinfo/python-list

Re: python on Mac

2006-04-05 Thread Alex Martelli
Thomas Nelson <[EMAIL PROTECTED]> wrote: ... > at http://www.python.org/download/mac/. Now I have IDLE, which runs Darn, that page needs to be fixed -- it's out of date!-( Sorry... See instead and download

Re: python on Mac

2006-04-05 Thread Thomas Nelson
There is no 2.4 in my Versions folder, only 2.3 and current. Should one of the installers have created this directory? Which one? THN -- http://mail.python.org/mailman/listinfo/python-list

Re: python on Mac

2006-04-05 Thread James Stroud
Thomas Nelson wrote: > I just purchased a new macbook (os 10.4.6), and I'm trying to install > python 2.4 on it. I downloaded and ran the two installers recommended > at http://www.python.org/download/mac/. Now I have IDLE, which runs > 2.4.1, but typing "python" at a terminal still opens 2.3.5,

python on Mac

2006-04-05 Thread Thomas Nelson
I just purchased a new macbook (os 10.4.6), and I'm trying to install python 2.4 on it. I downloaded and ran the two installers recommended at http://www.python.org/download/mac/. Now I have IDLE, which runs 2.4.1, but typing "python" at a terminal still opens 2.3.5, because it points to /usr/bin

Re: python on mac keystroke

2005-04-26 Thread Ian A. York
In article <[EMAIL PROTECTED]>, Eric Texier <[EMAIL PROTECTED]> wrote: >I am testing python on a mac. In the python console, none of the >control as the arrow to scroll back to a preview line are >working. How can I fix this. If I understand what you're asking, you need to install readline, which

python on mac keystroke

2005-04-25 Thread Eric Texier
I am testing python on a mac. In the python console, none of the control as the arrow to scroll back to a preview line are working. How can I fix this. Thanks eric Following is an example: python Python 2.4.1 (#1, Apr 22 2005, 21:15:26) [GCC 3.3 20030304 (Apple Computer, Inc. build 1666)] on darw