473,385 Members | 2,014 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,385 software developers and data experts.

Python launcher not working on Mac after Leopard upgrade?

I just installed Leopard on my Mac. I already was using Python 2.5.
I can run a Python script from a terminal window by typing "python
script.py" as one would expect ... but not using the Python launcher
either directly or indirectly (by double clicking on a Python icon).
Has anyone else observed this and, more importantly, found a fix for
this problem?

André

Nov 3 '07 #1
2 2703
On Nov 3, 7:57 am, André <andre.robe...@gmail.comwrote:
I just installed Leopard on my Mac. I already was using Python 2.5.
I can run a Python script from a terminal window by typing "python
script.py" as one would expect ... but not using the Python launcher
either directly or indirectly (by double clicking on a Python icon).
Has anyone else observed this and, more importantly, found a fix for
this problem?

André
My guess is the environmental settings have changed somehow. You may
be able to edit the shortcut's properties somehow to make it work, but
I don't have a Mac, so I can't say for sure. Reinstalling the main
Python distro would probably fix the issue.

Mike

Nov 5 '07 #2
On Nov 5, 11:57 am, kyoso...@gmail.com wrote:
On Nov 3, 7:57 am, André <andre.robe...@gmail.comwrote:
I just installed Leopard on my Mac. I already was using Python 2.5.
I can run a Python script from a terminal window by typing "python
script.py" as one would expect ... but not using the Python launcher
either directly or indirectly (by double clicking on a Python icon).
Has anyone else observed this and, more importantly, found a fix for
this problem?
André

My guess is the environmental settings have changed somehow. You may
be able to edit the shortcut's properties somehow to make it work, but
I don't have a Mac, so I can't say for sure. Reinstalling the main
Python distro would probably fix the issue.

Mike
I had tried both ... with no success. Just a minor pain, but still...

André

Nov 5 '07 #3

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

Similar topics

35
by: Michael Kearns | last post by:
I've been using python to write a simple 'launcher' for one of our Java applications for quite a while now. I recently updated it to use python 2.4, and all seemed well. Today, one of my...
1
by: AndyL | last post by:
Hi, let me describe how I do that today. There is standard python taken from python.org installed in a c:\python23 with at least dozen different additional python packages (e.g. SOAPpy, Twisted,...
0
by: Kurt B. Kaiser | last post by:
Patch / Bug Summary ___________________ Patches : 428 open ( +6) / 3417 closed ( +2) / 3845 total ( +8) Bugs : 939 open ( +6) / 6229 closed (+17) / 7168 total (+23) RFE : 240 open...
1
by: Chris | last post by:
Are others having fundamental issues on OSX 10.5 with python 2.5.1? I was excited that Python 2.5 was included, but this excitement was very short lived. Almost nothing works. Upon startup I get...
8
by: dirkheld | last post by:
Hi, I upgraded my system from tiger to leopard. With leopard came a new version of python 2.5 Now I trying to run some python code that previously worked on tiger (which included an older...
1
by: Steve Ametjan | last post by:
I've been trying to get MySQL-python to install on Leopard for the past couple of days, and I keep running into relatively the same error. I'm hoping that someone on this list will be able to...
2
by: Stephen_B | last post by:
I've installed the latest 2.5 python today from python.org, and I think it ended up in "/Applications/MacPython 2.5". I also have a "/Applications/MacPython 2.4" and a "/Applications/...
4
by: Con | last post by:
Hi, how does properly install the Python MySQL db module for Mac OS X? I was only able to locate the Win32 modules. Thanks in advance, -Conrad
4
by: tkpmep | last post by:
I've just bought an iMac (OS X 10.5.2, will almost immediately jump to 10.5.3), and am looking to install Python on it, and to use it with XCode, Apple's IDE. Some googling suggests that a number...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.