[Tutor] IDLE will not appear under Win95 (Python 2.4.2)

Adam adam.jtm30 at gmail.com
Sun Oct 16 22:51:37 CEST 2005


On 16/10/05, Dave Shea <skylark at fastmail.fm> wrote:
>
> Hi Adam,
>
> Thanks for your reponse. I tried your suggestion of starting IDLE via the
> command line.
>
> Using the command and parameter line that install created behind the
> Python
> (IDLE) icon on my Start menu:
>
> C:\WINDOWS\DESKTOP>"C:\Program Files\Python24\pythonw.exe" "C:\Program
> Files\Python24\Lib\idlelib\idle.pyw"
>
> C:\WINDOWS\DESKTOP>
>
> Nothing appears to happen except a pause between hitting <ENTER> and
> getting
> the DOS prompt back to me.
>
> I tried this again, but this timechanges the called program to be
> python.exe
> rather than the original pythonw.exe
>
> C:\WINDOWS\DESKTOP>"C:\Program Files\Python24\python.exe" "C:\Program
> Files\Python24\Lib\idlelib\idle.pyw"
> Traceback (most recent call last):
> File "C:\Program Files\Python24\Lib\idlelib\idle.pyw", line 6, in ?
> import PyShell
> File "C:\PROGRAM FILES\PYTHON24\lib\idlelib\PyShell.py", line 9, in ?
> import socket
> File "C:\PROGRAM FILES\PYTHON24\lib\socket.py", line 45, in ?
> import _socket
> ImportError: DLL load failed: One of the library files needed to run this
> application cannot be found.
>
> I'm not sure if the errors that have been reported above are simply
> because
> it makes no sense to call idle.pyw as a parameter to python.exe or whether
> these errors give some clues to the actual problem I am experiencing
> sinply
> getting IDLE going.
>
> Now, here I'm talking out of my league, but I ran a test on Tkinter as
> suggested on one of the support pages
> (http://mail.python.org/pipermail/python-list/2000-January/020199.html)
> as:
> >>> import Tkinter
> >>> Tkinter._test()
>
> and this caused the little test dialog box to appear so I assume that
> Tkinter is installed correctly.
>
> Any further thoughts?
>
> Cheers,
>
> Dave.
> ----- Original Message -----
> From: "Adam" <adam.jtm30 at gmail.com>
> To: "Dave Shea" <skylark at fastmail.fm>
> Sent: Sunday, October 16, 2005 1:34 AM
> Subject: Re: [Tutor] IDLE will not appear under Win95 (Python 2.4.2)
>
>
> Try opening IDLE from the command line and see what, if any errors it
> gives
> you.
> python idlelib\idle.py
> from your python directory should work.
>
> On 15/10/05, Dave Shea <skylark at fastmail.fm> wrote:
> >
> > Hi,
> >
> > I'm very new to Python. Today I downloaded the python-2.4.2.msi file
> from
> > www.python.org <http://www.python.org> <http://www.python.org>
> >
> > I had previously installed the up-to-date Windows installer as
> instructed.
> >
> > Python installed without a complaint. However, when I fire up IDLE,
> there
> > is
> > an hour glass shown for a couple of seconds, then nothing else happens.
> > When
> > I fire up Python (command line) no problem, the DOS box opens and Python
> > starts. I've tried re-starting, using Explorer instead of the Start
> menu,
> > all the usual voodoo but still the IDLE refuses to start.
> >
> > I'm sure that I'm missing something simple here, but cannot see what it
> > is.
> > I've tried uninstalling, giving the registry a good going over with
> > Nortons
> > and re-installing all to no avail. Python works very well in command
> line
> > mode but the IDLE does not seem to want to start.
> >
> > Any thoughts?
> >
> > I had thought that this entry in the FAQ might be a clue but the
> Microsoft
> > Knowledge Base article it refers to does not appear to exist (any more
> ?).
> > Then again, it may be nothing to do with my actual IDLE problem.
> > http://www.python.org/doc/faq/windows.html#id15
> >
> > I look forward to receiving any help
> >
> > Cheers.
> >
> > Dave Shea
> > Wellington
> > New Zealand
> >
> > _______________________________________________
> > Tutor maillist - Tutor at python.org
> > http://mail.python.org/mailman/listinfo/tutor
> >


Try "C:\Program Files\Python24\python.exe" "C:\Program
Files\Python24\Lib\idlelib\idle.py" instead of the idle.pyw and tell me what
happens.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tutor/attachments/20051016/b661b69d/attachment.htm


More information about the Tutor mailing list