473,320 Members | 1,940 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Python installation problem

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.

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.

Tnx

Mar 17 '06 #1
4 1513
ma*********@email.com 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
Mar 17 '06 #2
ma*********@email.com 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
sc***********@acm.org
Mar 17 '06 #3
Thanks for the fast responses.>mp

Mar 17 '06 #4
ma*********@email.com 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
Mar 17 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Josh | last post by:
I've been trying to get Tix running with Python on Windows. Since there is no binary distributions of Tix for Windows, it seems the easiest way to install Tix is through IDiscovery's IDEStudio 1.9...
1
by: Rami A. Kishek | last post by:
Please help! Very strange installation problem. First, let me say I successfully installed and use Python 2.2.3 and 2.3 from the EXE binaries on a win ME machine. That machine previously had...
4
by: Logan | last post by:
Several people asked me for the following HOWTO, so I decided to post it here (though it is still very 'alpha' and might contain many (?) mistakes; didn't test what I wrote, but wrote it - more or...
3
by: Zunbeltz Izaola | last post by:
Hi, I've build and installed python 2.2 and python2.3 in a linux box. Now i want to install some packages (Numeric, wxPython and scipy). I've install Numeric and wxPython for python2.3 without...
7
by: Erik Johnson | last post by:
I am trying to upgrade my Python installation. After downloading sources and building Python 2.3.4, I am unable to use the command history editing feature in the interactive interpreter (where the...
3
by: Matthias Baas | last post by:
Hi, are there any guidelines about what to do if a Windows extension for Python 2.4 requires the C++ runtime (msvcp71.dll)? If I want to distribute a binary installer of an extension that...
3
by: stuart_white_ | last post by:
I've just upgraded from Python 2.3.3 to Python 2.4.2, and, although the new version of Python seems to be running correctly, I can't seem access the help from the interpreter. On Python 2.3.3...
16
by: Jaco Naude | last post by:
Hi there, This is my first post over here and I hope someone can give me some guidance. I'm trying to embed Python into a Visual C++ 2008 application and I'm getting linker problems. I've...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.