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

Problem installing Python 2.2/2.3 on Windows 98 SE

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
1.5.2, and now I have access to all 3 versions. When I tried to do the
same on an older machine, however, running Win98 SE (and having had
Python 1.5.2 previously installed there), the installation doesn't work:

Obvious problems:
* IDLE doesn't start at all
* Pythonwin starts, but dumps some warning virtually with every line.
The long message below is an example of what shows up on startup.
* The python win32 ext install differed from that of 2.2 in one
respect: it complained about being unable to register the key of some
Scripting thing. I compared the registry entries for this python and
the pythons on the good (WinME machine), and there's no difference.
(However, the MODULES key in Python 2.2 and 2.3 on both machines has no
subkeys, whereas 1.5.2 has several).

Anyways, I am perplexed, I see no reason why the installation from the
same exe binaries should work on one machine but not the other. The Win
ME machine suffers from none of the problems above. The only difference
I can think of, of remote likelihood, is that the existing Python 1.5.2
on the failed machine was in C:\Program Files\Python, and I tried
installing Python 2.x in respective directories on D:\Programs. In the
good machine, all are installed on D:\Programs.

-----------------
D:\PROGRAMS\PYTHON22\lib\site-packages\Pythonwin\pywin\framework\winout.py:455:
DeprecationWarning: strop functions are obsolete; use string methods
self.currentView.dowrite(string.join(items,''))
PythonWin 2.2.3 (#42, May 30 2003, 18:12:08) [MSC 32 bit (Intel)] on
win32.
D:\PROGRAMS\PYTHON22\lib\site-packages\Pythonwin\pywin\framework\winout.py:465:
DeprecationWarning: strop functions are obsolete; use string methods
pos = string.rfind(message, '\n')
Portions Copyright 1994-2001 Mark Hammond (mh******@skippinet.com.au) -
see 'Help/About PythonWin' for further copyright information.
D:\PROGRAMS\PYTHON22\lib\site-packages\Pythonwin\pywin\scintilla\IDLEenviro

nment.py:207: DeprecationWarning: strop functions are obsolete; use
string meth
ods
if string.find(base,".")>0:
D:\PROGRAMS\PYTHON22\lib\site-packages\Pythonwin\pywin\framework\intpyapp.py:27
3:
DeprecationWarning: strop functions are obsolete; use string methods
modules = string.splitfields(moduleNames,",")
Jul 18 '05 #1
1 3698
"Rami A. Kishek" <ra********@yahoo.com> wrote in message news:<3F***************@yahoo.com>...

Obvious problems:
* IDLE doesn't start at all
You mentioned below that you have installed it under C:\Program
Files\Python. See the page http://www.python.org/2.3/bugs.html. It is
a bug in Python.
-----------------
D:\PROGRAMS\PYTHON22\lib\site-packages\Pythonwin\pywin\framework\winout.py:455:
DeprecationWarning: strop functions are obsolete; use string methods
self.currentView.dowrite(string.join(items,''))
PythonWin 2.2.3 (#42, May 30 2003, 18:12:08) [MSC 32 bit (Intel)] on
win32.

I had similar looking problem myself. I had e.g. the error message
"strop functions are obsolete; use string methods" over and over
again. The problem occured because I had left Windows Command Prompt
open when installing newer Python version and editing path in
environment variables from System Properties. Naturally, path was not
updated for already opened Command Prompt and that cause the problem.

Just in case, check that there is correct python path in environment
variables. However, you need to reinstall Python in a different
directory to handle the IDLE problem.

--
mko
Jul 18 '05 #2

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

Similar topics

12
by: Richard Hanson | last post by:
Over the last few days, I reinstalled Win2kSP2 to a spare harddrive I had just swapped into my Fujitsu LifeBook P1120 (long story <wink>). Subsequently, I DL'ed the newest Python alpha (2.4a2), and...
3
by: hepp | last post by:
Is it possible to run a Python script in Windows without installing Python on your machine first? At my work we are using a mixed environment - some have Solaris workstations and others PC's. I...
8
by: MarkE | last post by:
I'm sure someone else has posted a similar problem but I can't find it, nor the solution... I have a python script which accepts a command line argument. E.g. python.exe myscript.py -n Foo I...
4
by: ankit | last post by:
I had installed libxml2 for python (libxml2-python-2.6.22.win32-py2.4) on WINDOWS. For having dom support I am installing libxml2dom (0.3). My python version on win is 2.4 but when I give run the...
1
by: Petr Prikryl | last post by:
I did observe the problem when using the -U option on Windows 2000. Seems like some infinite recursion in cp1250.py -- see below. I did not try it with earlier versions of Python. Can this...
5
by: Christian Stapfer | last post by:
After switching from Python 2.3 to 2.4 (Enought), PIL throws an exception that did not occur formerly (under Python 2.3) when executing ImageFont.truetype(font, size) where font =...
8
by: John Salerno | last post by:
Hi all. Just curious, before I do it myself, about the best way to install 2.5 if it's the only version I want to use. Should I uninstall 2.4 first? Does 2.5 replace 2.4? I doubt the latter, but if...
5
by: Cappy2112 | last post by:
I've just started a job which has a massive python2.3.4-centric tools installation and configuration. I know what you're going to say, but I can't upgrade and be the only one with a newer...
0
by: trihaitran | last post by:
I am reading chapter two of the Pylons book. In the text I am told to run: $ python virtualenv.py --no-site-packages env This is what I got back: $ python virtualenv.py --no-site-packages...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
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...
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...
0
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...
0
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...

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.