473,472 Members | 2,173 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Python 2.4 - Help does not work in Windows

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
---------------
Python 2.3.3 (#51, Dec 18 2003, 20:22:39) [MSC v.1200 32 bit (Intel)]
on win32
Type "help", "copyright", "credits" or "license" for more information.
import time
time.ctime() 'Wed Jan 04 12:59:13 2006' help(time) Help on built-in module time:

NAME
time - This module provides various functions to manipulate time
values.

.... etc ...

On Python 2.4.2
---------------
Python 2.4.2 (#67, Sep 28 2005, 12:41:11) [MSC v.1310 32 bit (Intel)]
on win32
Type "help", "copyright", "credits" or "license" for more information. import time
time.ctime() 'Wed Jan 04 13:01:22 2006' help(time)

cannot import name warn

I get this warning for all modules which I've tried. I guess this is an
installation problem, and have tried uninstalling and re-installing but
that gives me the same results.

Could anyone give me some pointers on where I might look to debug this
problem? In case it's any help, I'm running Windows XP SP2, and have
installed both Python2.3 and Python 2.4 on the same system. Could this
be causing some conflict?

Any help would be greatly appreciated!

Jan 4 '06 #1
3 2419

st***********@hotmail.com wrote:
<snip>
Could anyone give me some pointers on where I might look to debug this
problem? In case it's any help, I'm running Windows XP SP2, and have
installed both Python2.3 and Python 2.4 on the same system. Could this
be causing some conflict?

It must be. I just tried it with a single install of 2.4.2 on XP and
got the help info with "help(time)".
import time
time.ctime() 'Wed Jan 04 08:17:29 2006' help(time)

Help on built-in module time:

NAME
time - This module provides various functions to manipulate time
values.
....

Robert

Jan 4 '06 #2
st***********@hotmail.com wrote:
I've just upgraded from Python 2.3.3 to Python 2.4.2, and, although the
Any help would be greatly appreciated!

A data point: It is not the interaction of the two Pythons.

C:\...\Py>\python23\python
Python 2.3.4 (#53, May 25 2004, 21:17:02) [MSC v.1200 32 bit (Intel)] on
win32
Type "help", "copyright", "credits" or "license" for more information.
import time; help(time) Help on built-in module time:
....
C:\...\Py>\python24\python
Python 2.4.2 (#67, Sep 28 2005, 12:41:11) [MSC v.1310 32 bit (Intel)] on
win32
Type "help", "copyright", "credits" or "license" for more information. import time; help(time) Help on built-in module time:
....

This information might help:

C:\...\Py>\python24\python
Python 2.4.2 (#67, Sep 28 2005, 12:41:11) [MSC v.1310 32 bit (Intel)] on
win32
Type "help", "copyright", "credits" or "license" for more information. import sys, time; names = set(sys.modules)
help(time) .... ' '.join(sorted(set(sys.modules) - names))

'_random binascii collections dis errno imp inspect opcode
pydoc random tempfile thread token tokenize'

That is, those are the modules loaded in the course of doing the "help".
I'd try loading them one-by one.
Alternatively, start the interpreter as:
python -v
And watch the imports as you do (1) "import time", and (2) "help(time)".
You may see the import causing the problem.

--Scott David Daniels
sc***********@acm.org
Jan 4 '06 #3
st***********@hotmail.com wrote in
news:11*********************@g44g2000cwa.googlegro ups.com:
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
---------------
Python 2.3.3 (#51, Dec 18 2003, 20:22:39) [MSC v.1200 32 bit
(Intel)] on win32
Type "help", "copyright", "credits" or "license" for more
information.
import time
time.ctime() 'Wed Jan 04 12:59:13 2006' help(time) Help on built-in module time:

NAME
time - This module provides various functions to manipulate
time
values.

... etc ...

On Python 2.4.2
---------------
Python 2.4.2 (#67, Sep 28 2005, 12:41:11) [MSC v.1310 32 bit
(Intel)] on win32
Type "help", "copyright", "credits" or "license" for more
information. import time
time.ctime() 'Wed Jan 04 13:01:22 2006' help(time)

cannot import name warn

I get this warning for all modules which I've tried. I guess
this is an installation problem, and have tried uninstalling and
re-installing but that gives me the same results.

Could anyone give me some pointers on where I might look to
debug this problem? In case it's any help, I'm running Windows
XP SP2, and have installed both Python2.3 and Python 2.4 on the
same system. Could this be causing some conflict?

Any help would be greatly appreciated!


I've been running 2.4.x for some time on a Win2K machine, with no
problems. Just recently I got an XP system, and after installation
of numerous things, I had help disappear(!). That is, I am *fairly*
certain that at one point it worked in Python and later did not, on
that same system. It is possible that it never did on XP, though.

Incidentally, this manifested itself both in Python and in the
system command line (cmd.exe), for some reason. I expect there was
a clash with some other software I installed.

At any rate, I re-installed Python over the top of the existing
installation, and *both* Python help and the command-line help
reappeared. I don't know what to make of that.

The XP system does have a Python 2.2.3 version that came pre-
installed, though I've not used it directly. (checking) It's help
seems to work now, but then so does my 2.4.2 help, now.

--
rzed
Jan 5 '06 #4

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

Similar topics

14
by: BOOGIEMAN | last post by:
Well that's it, how do I make Windows Application with Python ??? Is there simple way that works 100% ? How can I rework visual design done in VS 2003 to use it for my python program ?
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...
0
by: Kurt B. Kaiser | last post by:
Patch / Bug Summary ___________________ Patches : 378 open ( +3) / 3298 closed (+34) / 3676 total (+37) Bugs : 886 open (-24) / 5926 closed (+75) / 6812 total (+51) RFE : 224 open...
7
by: Anton Mellit | last post by:
Hi, I am working on a Pari-Python module (see about GP/PARI at http://pari.math.u-bordeaux.fr/). Similar project was started by Stefane Fermigier 12 years ago (you can find a post about it on...
5
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
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...
1
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
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
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...
10
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
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 ...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.