473,796 Members | 2,704 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 ConfigurePython Carbon, he gets this error:

[terminated]
'import site' failed; use -v for traceback
traceback )most recent call last):
File "Moes:SWdev:Jac k:Python2.2:Mac :script:configu rePython.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 1304
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 ConfigurePython Carbon, he gets this error:

[terminated]
'import site' failed; use -v for traceback
traceback )most recent call last):
File "Moes:SWdev:Jac k:Python2.2:Mac :script:configu rePython.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 ConfigurePython Carbon, he gets this error:

[terminated]
'import site' failed; use -v for traceback
traceback )most recent call last):
File "Moes:SWdev:Jac k:Python2.2:Mac :script:configu rePython.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 ConfigurePython Carbon 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
1547
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. How I can solve this?? Thanks about help me.
1
1545
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. Very annoying, Any tips most appreciated. cjf
0
1571
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 solution. I thought that Tkinter could provide this, but I'm having trouble getting the simple test script from Learning Python p.22 to work under Mac OS 9 (9.2.2, on a 400 MHz PowerBook firewire/2000, 192 MB ram). Starting with a clean install of...
4
1591
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 have to bidn with ppython launcher? and what about tkinter? the examples do not work? are thre path settings
0
1295
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 its own compiled version of the file or something...? The error is: ------- File "Plataea:MacPython-OS9 2.3:Mac:scripts:BuildApplication.py", line
2
1781
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, nothing happens. The applet starts up, but dies after a second or two. I used applets quite frequently unter OS9 and never had a problem with them. Has anyone any idea why applets on OS X don't work the way they did in OS 9?
4
1462
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 import * brings up the error window: Can't find module Numeric. Even trig functions sine and cosine generate the same type of error. I've looked over the FAQ and can't see any answers (maybe I missed something). I'm guessing this is a Path...
2
1864
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 __init__.py there and everything, but this directory is not in sys.path. I add it to sys.path as follows: /Library/Frameworks/Python.framework/Versions/2.4/lib/logging
0
1259
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 of http://wiki.python.or/moin/MacPython The motivation for this rather hasty move was that the MacPython wiki was running an ancient version of MoinMoin and got spammed heavily. Because of its age and vulnerability it was simply too hard to...
0
9685
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9535
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10244
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10201
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10021
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7558
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6802
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
4130
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2931
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.