Re: Python installation problem

2006-03-17 Thread Kevin Walzer
[EMAIL PROTECTED] wrote:

> 
> 1. How do I make both these kinds of calls work with 2.4.

Try "/sw/bin/python foo.py" in the terminal and "#!/sw/bin/python" in
your scripts.

> 2. How do I uninstall v. 2.3 completely.

Don't do that. It will break stuff in the OS that depends on Python.


-- 
Kevin Walzer
iReveal: File Search Tool
http://www.wordtech-software.com
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Python installation problem

2006-03-17 Thread Scott David Daniels
[EMAIL PROTECTED] wrote:
> I'm using OS X 10.4.5. I have an easy problem that I can't solve:
> I have two versions of python installed. 2.3 came with the OS and 2.4 I
> installed via fink
> 2. How do I uninstall v. 2.3 completely.

Probably not the greatest idea, because pieces of OS X may actually use
the internal Python 2.3.

--Scott David Daniels
[EMAIL PROTECTED]
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Python installation problem

2006-03-17 Thread [EMAIL PROTECTED]
Thanks for the fast responses.>mp

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Python installation problem

2006-03-17 Thread Diez B. Roggisch
[EMAIL PROTECTED] schrieb:
> I'm using OS X 10.4.5. I have an easy problem that I can't solve:
> 
> I have two versions of python installed. 2.3 came with the OS and 2.4 I
> installed via fink.

That isn't the "proper" version. While it works, you certainly want the 
python 2.4 framework build. That is the specialized OS X variant. If you 
ever want to do work with e.g. PyObjC to create Cocoa-Apps you'll need 
that (AFAIK).

> When I call python from the command-line it calls 2.4.
> When I just call a *.py file like test.py, it calls 2.3.
> 
> 1. How do I make both these kinds of calls work with 2.4.


> 2. How do I uninstall v. 2.3 completely.

Bad idea. OS X needs that one.


Diez
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Python installation problem (sorry if this is a dup)

2007-03-01 Thread [EMAIL PROTECTED]
On 1 mar, 06:22, Ray Buck <[EMAIL PROTECTED]> wrote:
> I've been trying to install Mailman, which requires a newer version
> of the Python language compiler (p-code generator?)

It's actually the whole thing : (byte-code) compiler, virtual machine,
and stdlib.

> than the one I
> currently have on my linux webserver/gateway box.
>
> It's running a ClarkConnect 2.01 package based on Red Hat 7.2 linux.
>
> I downloaded the zipped tarball (Python-2.4.4.tgz), ran gunzip, then
> un-tarred it in /usr/local.  Then (logged in as root) from
> /usr/local/Python-2.4.4 I ran the configure script which appeared to
> run properly.  At least there were no error messages that I
> saw.  Then I attempted to run "make install" and ended up with an
> error "make *** Error 1".  It was right at the "libinstall" section
> of the make, so I did some googling and came up with the following command:
> [EMAIL PROTECTED] Python-2.4.4]# make libinstall inclinstall
>
> After thrashing for about 5 minutes, I got basically the same message:
> Compiling /usr/local/lib/python2.4/zipfile.py ...
> make: *** [libinstall] Error 1

Nothing else between these two lines ?

> I dunno if this is relevant, but I have Python 2.2.2 in the
> /usr/Python-2.2.2 directory.  Do I have to blow this away in order to
> install the newer distro?

I don't know your distrib, but it may depend on this specific python
version.

You may want to specify the --prefix before running configure, and use
make altinstall instead of make install.


> Or do I need to install the new one in/usr
> instead of /usr/local?

The old one is in /usr/local ? If so, it may not be part of your linux
distro.

FWIW, you should perhaps post the same question on your linux distro's
mailing list.

> Although I'm a retired programmer (mainframes), I'm still learning
> this linux stuff.  I guess that makes me a noob...I hope you'll take
> that into consideration.

We're all newbies one way or another !-)

-- 
http://mail.python.org/mailman/listinfo/python-list