473,320 Members | 2,020 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.

MacPython 2.2 on Mac OS X 10.3.8 - configurePython error

I have a user who is is having trouble getting MacPython on his OS X
10.3.8 system.

When he runs ConfigurePythonCarbon, he gets this error:

[terminated]
'import site' failed; use -v for traceback
traceback )most recent call last):
File "Moes:SWdev:Jack:Python2.2:Mac:script:configurePyt hon.py", line 11
, in ?
Import error: No module named os
I have had no trouble on my system (same version).

What can cause this?

-Paul

Aug 25 '05 #1
4 1287
Paul Miller wrote:
I have a user who is is having trouble getting MacPython on his OS X
10.3.8 system.

When he runs ConfigurePythonCarbon, he gets this error:

[terminated]
'import site' failed; use -v for traceback
traceback )most recent call last):
File "Moes:SWdev:Jack:Python2.2:Mac:script:configurePyt hon.py", line 11
, in ?
Import error: No module named os
I have had no trouble on my system (same version).

What can cause this?


os.py got deleted from its home, probably. I doubt anyone is going to
help fix the problem though. MacPython 2.2 has been long abandoned. The
official OS X binary for Python 2.4.1 can be found here:

http://www.python.org/ftp/python/2.4...SX-2.4.1-1.dmg

--
Robert Kern
rk***@ucsd.edu

"In the fields of hell where the grass grows high
Are the graves of dreams allowed to die."
-- Richard Harter

Aug 25 '05 #2
Robert Kern wrote:
Paul Miller wrote:
I have a user who is is having trouble getting MacPython on his OS X
10.3.8 system.

When he runs ConfigurePythonCarbon, he gets this error:

[terminated]
'import site' failed; use -v for traceback
traceback )most recent call last):
File "Moes:SWdev:Jack:Python2.2:Mac:script:configurePyt hon.py", line 11
, in ?
Import error: No module named os
I have had no trouble on my system (same version).

What can cause this?

os.py got deleted from its home, probably. I doubt anyone is going to
help fix the problem though. MacPython 2.2 has been long abandoned. The
official OS X binary for Python 2.4.1 can be found here:

http://www.python.org/ftp/python/2.4...SX-2.4.1-1.dmg


I realize that, but I have an application that is linked with MacPython
2.2. I can't just drop 2.4 in.

He claims the only thing that has changed is his preferences were wiped
out. There must be some solution for what is probably a not too uncommon
problem.


Aug 26 '05 #3
Paul Miller wrote:
Robert Kern wrote:
MacPython 2.2 has been long abandoned. The
official OS X binary for Python 2.4.1 can be found here:

http://www.python.org/ftp/python/2.4...SX-2.4.1-1.dmg


I realize that, but I have an application that is linked with MacPython
2.2. I can't just drop 2.4 in.


Is this an application that you've written? If so, then I realize that
you can't just drop 2.4 in painlessly, but you really should consider
upgrading your software to use a newer Python. No one is going to
support MacPython 2.2.
He claims the only thing that has changed is his preferences were wiped
out. There must be some solution for what is probably a not too uncommon
problem.


It *is* uncommon. Judging from the traffic on the Pythonmac-SIG,
virtually no one is using MacPython 2.2 anymore. You can ask for help on
there, but I don't think you'll fare any better.

http://mail.python.org/mailman/listinfo/pythonmac-sig

--
Robert Kern
rk***@ucsd.edu

"In the fields of hell where the grass grows high
Are the graves of dreams allowed to die."
-- Richard Harter

Aug 26 '05 #4
Robert Kern wrote:
Paul Miller wrote:
Robert Kern wrote:


MacPython 2.2 has been long abandoned. The
official OS X binary for Python 2.4.1 can be found here:

http://www.python.org/ftp/python/2.4...SX-2.4.1-1.dmg


I realize that, but I have an application that is linked with MacPython
2.2. I can't just drop 2.4 in.

Is this an application that you've written? If so, then I realize that
you can't just drop 2.4 in painlessly, but you really should consider
upgrading your software to use a newer Python. No one is going to
support MacPython 2.2.


Yes, this is an app I have written. I could take the time to rebuild it
with the latest Python, yes.

However, the simpler solution seemed to be to try to figure out why it
won't reconfigure itself. I have OS X 10.3.8 and a clean install works
perfectly fine. Surely someone somewhere has used MacPython 2.2 on OS X
10.3.8 and heard of a similar issue, with ConfigurePythonCarbon not
working after preferences were destroyed.

This is why I asked here.
He claims the only thing that has changed is his preferences were wiped
out. There must be some solution for what is probably a not too uncommon
problem.


It *is* uncommon. Judging from the traffic on the Pythonmac-SIG,
virtually no one is using MacPython 2.2 anymore. You can ask for help on
there, but I don't think you'll fare any better.


Perhaps I am the only developer with a legacy application he's trying to
support. But I doubt it.

Aug 26 '05 #5

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

Similar topics

1
by: cybersamurai | last post by:
I install MacPython 2.3 on a Jaguar 2.6 on my house but I don't know how I install others modules. When I use python setup install the module is installed on usr/lib/... and not inside frameworks....
1
by: Chris Fonnesbeck | last post by:
Is there any way of getting scrollback to work in MacPython 2.3b2? At present, when I try and scroll back to re-issue a past command using the up arrow key, I simply get a series of "^[[A" symbols....
0
by: Charles Starrett | last post by:
I am a just a dabbler in programming, but I'd like to make some simple cross-platform tools for generating webpages, as well as for text munging. One thing I need is a Mac OS 9/Windows GUI...
4
by: Leo | last post by:
hello mac python gurus osx comes with python. additionally i have macpython insatlled. now i have pythen interpreters in /usr/bin and in /usr/local/bin? is that right? which interpreter i...
0
by: Gregor | last post by:
When I drop a script on the BuildApplication tool, I get an error. It looks like there's a typo in BuildApplication.py, but after fixing the typo, I still get the same error. I guess the tool has...
2
by: boris m | last post by:
I am running Python 2.3 on Mac OS 10.3. My problem is that applets don't seem to work. If I run a python script in the terminal, everything is fine. If I run the same script as an applet,...
4
by: Lou Pecora | last post by:
I upgraded to Panther a month ago and just upgraded to MacPython 10.3 Addons (as per Jack Jansen's page - thanks, Jack). But now my programs can't even find standard modules. from Numeric...
2
by: Tod Olson | last post by:
Anyone have advice for importing the logging module using MacPython 2.4.3? MacPython installs the logging module in: /Library/Frameworks/Python.framework/Versions/2.4/lib/logging/ There's an...
0
by: skip | last post by:
After much wailing and gnashing of teeth the past couple of days, I managed to move (most of?) the content from the MacPython wiki to the main Python wiki (*). All pages were created as subpages...
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: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
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...
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
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

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.