Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #16022 > unrolled thread

What I do and do not know about installing Python on Win 7 with regard to IDLE.

Started by"W. eWatson" <wolftracks@invalid.com>
First post2011-11-21 08:39 -0800
Last post2011-11-23 09:35 -0800
Articles 20 on this page of 56 — 21 participants

Back to article view | Back to comp.lang.python


Contents

  What I do and do not know about installing Python on Win 7 with regard to IDLE. "W. eWatson" <wolftracks@invalid.com> - 2011-11-21 08:39 -0800
    Re: What I do and do not know about installing Python on Win 7 with regard to IDLE. Andrea Crotti <andrea.crotti.0@gmail.com> - 2011-11-21 17:12 +0000
    Re: What I do and do not know about installing Python on Win 7 with regard to IDLE. Cousin Stanley <cousinstanley@gmail.com> - 2011-11-21 17:52 +0000
    Re: What I do and do not know about installing Python on Win 7 with regard to IDLE. Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2011-11-21 11:21 -0800
      Re: What I do and do not know about installing Python on Win 7 with regard to IDLE. "W. eWatson" <wolftracks@invalid.com> - 2011-11-22 07:57 -0800
        Re: What I do and do not know about installing Python on Win 7 with regard to IDLE. Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2011-11-22 10:01 -0800
          Re: What I do and do not know about installing Python on Win 7 with regard to IDLE. Anssi Saari <as@sci.fi> - 2011-11-23 14:16 +0200
            Re: What I do and do not know about installing Python on Win 7 with regard to IDLE. Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2011-11-23 10:21 -0800
        Re: What I do and do not know about installing Python on Win 7 with regard to IDLE. Terry Reedy <tjreedy@udel.edu> - 2011-11-22 17:50 -0500
    Re: What I do and do not know about installing Python on Win 7 with regard to IDLE. Terry Reedy <tjreedy@udel.edu> - 2011-11-21 18:07 -0500
      Re: What I do and do not know about installing Python on Win 7 with regard to IDLE. "W. eWatson" <wolftracks@invalid.com> - 2011-11-22 08:12 -0800
    Re: What I do and do not know about installing Python on Win 7 with regard to IDLE. alex23 <wuwei23@gmail.com> - 2011-11-21 19:00 -0800
      Re: What I do and do not know about installing Python on Win 7 with regard to IDLE. "W. eWatson" <wolftracks@invalid.com> - 2011-11-22 08:14 -0800
        Re: What I do and do not know about installing Python on Win 7 with regard to IDLE. Andrea Crotti <andrea.crotti.0@gmail.com> - 2011-11-22 19:15 +0000
        Re: What I do and do not know about installing Python on Win 7 with regard to IDLE. Michael Torrie <torriem@gmail.com> - 2011-11-23 23:15 -0700
    Re: What I do and do not know about installing Python on Win 7 with regard to IDLE. Alan Meyer <ameyer2@yahoo.com> - 2011-11-22 13:55 -0500
      Re: What I do and do not know about installing Python on Win 7 with regard to IDLE. Alan Meyer <ameyer2@yahoo.com> - 2011-11-22 14:29 -0500
        Re: What I do and do not know about installing Python on Win 7 with regard to IDLE. Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2011-11-22 12:05 -0800
          Re: What I do and do not know about installing Python on Win 7 with regard to IDLE. Alan Meyer <ameyer2@yahoo.com> - 2011-11-22 22:45 -0500
            Re: What I do and do not know about installing Python on Win 7 with regard to IDLE. Sibylle Koczian <nulla.epistola@web.de> - 2011-11-23 22:13 +0100
        Re: What I do and do not know about installing Python on Win 7 with regard to IDLE. "W. eWatson" <wolftracks@invalid.com> - 2011-11-22 19:29 -0800
          Re: What I do and do not know about installing Python on Win 7 with regard to IDLE. "W. eWatson" <wolftracks@invalid.com> - 2011-11-22 19:46 -0800
            Re: What I do and do not know about installing Python on Win 7 with regard to IDLE. Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2011-11-22 22:43 -0800
              Re: What I do and do not know about installing Python on Win 7 with regard to IDLE. "W. eWatson" <wolftracks@invalid.com> - 2011-11-23 09:33 -0800
                Re: What I do and do not know about installing Python on Win 7 with regard to IDLE. "W. eWatson" <wolftracks@invalid.com> - 2011-11-23 09:38 -0800
                  Re: What I do and do not know about installing Python on Win 7 with regard to IDLE. Arnaud Delobelle <arnodel@gmail.com> - 2011-11-23 18:29 +0000
                    Re: What I do and do not know about installing Python on Win 7 with regard to IDLE. Ben Finney <ben+python@benfinney.id.au> - 2011-11-24 08:49 +1100
                    Re: What I do and do not know about installing Python on Win 7 with regard to IDLE. "W. eWatson" <wolftracks@invalid.com> - 2011-11-24 13:24 -0800
                  Re: What I do and do not know about installing Python on Win 7 with regard to IDLE. Alan Meyer <ameyer2@yahoo.com> - 2011-11-23 17:29 -0500
                    Re: What I do and do not know about installing Python on Win 7 with regard to IDLE. Matt Joiner <anacrolix@gmail.com> - 2011-11-24 09:58 +1100
                    Re: What I do and do not know about installing Python on Win 7 with regard to IDLE. "W. eWatson" <wolftracks@invalid.com> - 2011-11-24 13:18 -0800
                      Re: What I do and do not know about installing Python on Win 7 with regard to IDLE. "W. eWatson" <wolftracks@invalid.com> - 2011-11-24 13:22 -0800
                        Re: What I do and do not know about installing Python on Win 7 with regard to IDLE. Alexander Kapps <alex.kapps@web.de> - 2011-11-25 00:18 +0100
                          Re: What I do and do not know about installing Python on Win 7 with regard to IDLE. Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2011-11-25 00:16 +0000
                            Re: What I do and do not know about installing Python on Win 7 with regard to IDLE. Terry Reedy <tjreedy@udel.edu> - 2011-11-24 20:06 -0500
                              Re: What I do and do not know about installing Python on Win 7 with regard to IDLE. Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2011-11-25 04:37 +0000
                            Re: What I do and do not know about installing Python on Win 7 with regard to IDLE. Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2011-11-24 20:49 -0800
                              Re: What I do and do not know about installing Python on Win 7 with regard to IDLE. MaxTheMouse <maxthemouse@googlemail.com> - 2011-11-25 08:31 -0800
                            Re: What I do and do not know about installing Python on Win 7 with regard to IDLE. Sibylle Koczian <nulla.epistola@web.de> - 2011-11-25 20:52 +0100
                              Re: What I do and do not know about installing Python on Win 7 with regard to IDLE. Mark Tolonen <metolone@gmail.com> - 2011-11-25 20:26 -0800
                                Re: What I do and do not know about installing Python on Win 7 with regard to IDLE. Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2011-11-25 23:13 -0800
                                  Re: What I do and do not know about installing Python on Win 7 with regard to IDLE. MaxTheMouse <maxthemouse@googlemail.com> - 2011-11-26 08:22 -0800
                        Re: What I do and do not know about installing Python on Win 7 with regard to IDLE. Alexander Kapps <alex.kapps@web.de> - 2011-11-25 00:37 +0100
                  Re: What I do and do not know about installing Python on Win 7 with regard to IDLE. Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2011-11-23 17:43 -0800
                    Re: What I do and do not know about installing Python on Win 7 with regard to IDLE. Tony the Tiger <tony@tiger.invalid> - 2011-11-24 17:25 -0600
                      Re: What I do and do not know about installing Python on Win 7 with regard to IDLE. Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2011-11-25 00:04 +0000
                        Re: What I do and do not know about installing Python on Win 7 with regard to IDLE. Alexander Kapps <alex.kapps@web.de> - 2011-11-25 01:32 +0100
                        Re: What I do and do not know about installing Python on Win 7 with regard to IDLE. Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2011-11-24 20:49 -0800
                        Re: What I do and do not know about installing Python on Win 7 with regard to IDLE. Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2011-11-24 20:49 -0800
                        Re: What I do and do not know about installing Python on Win 7 with regard to IDLE. Chris Angelico <rosuav@gmail.com> - 2011-11-25 19:04 +1100
                        Re: What I do and do not know about installing Python on Win 7 with regard to IDLE. Tony the Tiger <tony@tiger.invalid> - 2011-11-25 16:07 -0600
                        Re: What I do and do not know about installing Python on Win 7 with regard to IDLE. Alexander Kapps <alex.kapps@web.de> - 2011-11-26 02:34 +0100
                Re: What I do and do not know about installing Python on Win 7 with regard to IDLE. Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2011-11-23 10:21 -0800
            RE: What I do and do not know about installing Python on Win 7 withregard to IDLE. "Alemu Tadesse" <atadesse@sunedison.com> - 2011-11-23 00:48 -0600
              Re: What I do and do not know about installing Python on Win 7 withregard to IDLE. John Gordon <gordon@panix.com> - 2011-11-23 16:08 +0000
                Re: What I do and do not know about installing Python on Win 7 withregard to IDLE. "W. eWatson" <wolftracks@invalid.com> - 2011-11-23 09:35 -0800

Page 1 of 3  [1] 2 3  Next page →


#16022 — What I do and do not know about installing Python on Win 7 with regard to IDLE.

From"W. eWatson" <wolftracks@invalid.com>
Date2011-11-21 08:39 -0800
SubjectWhat I do and do not know about installing Python on Win 7 with regard to IDLE.
Message-ID<jadusb$to5$1@dont-email.me>
My criterion for success is that it puts IDLE as a choice for editor on 
the menu produced with a right-click on a py file. So far no response on 
this has solved the problem.

I know it sets up that way on a 2.5 and 2.4 on other PCs I have.

I know at one time it worked on my 64-bit Win 7 PC,  which likely had a 
32-bit version installed on it.  After something like six months of 
modest use it stopped working as above. No IDLE choice.

I know by installing a 64-bit version, 3.2.2 failed the IDLE criterions 
as described. No IDLE.

I do know that IDLE appears on the Win 7 Start menu, but, when used, 
nothing happens.  Well, OK, for about 3 seconds the Win 7 "working" icon 
spins around then zip, nothing.  Further, right-clicking on Properties 
of IDLE (GUI) produces a tabbed dialog.  It shows Start in: 
c:\Python32\, and None for shortcut.  There is a compatibility tab, 
which I've set to Win7.  I think there's a troubleshooter there too, but 
I haven't used it. Under the Details tab, it shows Name: IDLE(Python 
Gui).lnk. Folder Path as: c:\ProgramData\Microsoft\Windows\Start... 
Nothing after the "...".  Attributes: A

Going directly to ...\Lib\idlelib\idle.pyw produces the spinning icon. 
At least, that's what happens in 3.2.2, but in the 32-bit versions I 
tried, I would get "invalid Win 32 app".

When I rebooted my system a few hours after installing 3.2.2, because 
the PC was running really slowly--not because of Python, I was greeted 
by a couple of interesting messages as the desktop was populated.

I can execute Python from the command line.

1. Specified module could not be found: Load Lib, python.dll.

2. \ProgramFiles(x86)\uniblueDrivers\Scanner (x86) Python26.dll. I'm 
sure this is related to Winamp, which I had installed a month ago.  It 
had some "crazy" choice to scan for new drivers.   Of course, if it 
found one-connected with Python, and if you wanted it, $$$.  I think 
this message is a red herring. I may re-install Winamp to get rid of 
that uniblue tool that seems like nothing more than an ad.

Some have suggested a registry problem, but I don't have a clue how to 
play with that, or somehow clean it up, if there is a problem.  My PC 
behaves normally

I'm using Win 7 Premium.

So unless some brilliant idea appears, that leaves me with the choice of 
not using Python or this suggestion... (Let's not get off into other 
variations of other "Pythons" like Active..."):

Someone suggested using the mail list at 
<http://mail.python.org/mailman/listinfo/python-list>. What's different 
about that list than this NG? Does the "org" suggest that the 
inhabitants of that list are more likely associated with the people who 
are responsible for constructing Python?

Comments?

[toc] | [next] | [standalone]


#16028

FromAndrea Crotti <andrea.crotti.0@gmail.com>
Date2011-11-21 17:12 +0000
Message-ID<mailman.2915.1321895527.27778.python-list@python.org>
In reply to#16022
On 11/21/2011 04:39 PM, W. eWatson wrote:
> ...
> I'm using Win 7 Premium.
>
> So unless some brilliant idea appears, that leaves me with the choice 
> of not using Python or this suggestion... (Let's not get off into 
> other variations of other "Pythons" like Active..."):
>
> Someone suggested using the mail list at 
> <http://mail.python.org/mailman/listinfo/python-list>. What's 
> different about that list than this NG? Does the "org" suggest that 
> the inhabitants of that list are more likely associated with the 
> people who are responsible for constructing Python?
>
> Comments?

I only see windows and users-related problems, not much having to do 
with Python actually.
Moreover, nothing forces you to use it, and with this attitude is not 
bad that you stay way
from it, no offense of course.

[toc] | [prev] | [next] | [standalone]


#16034

FromCousin Stanley <cousinstanley@gmail.com>
Date2011-11-21 17:52 +0000
Message-ID<jae35k$t9a$1@dont-email.me>
In reply to#16022
W. eWatson wrote:

> My criterion for success is that it puts IDLE as a choice for editor
> on the menu produced with a right-click on a py file. 
> 
> So far no response on this has solved the problem.
> ....

  As an alternative you might consider adding a short-cut to IDLE 
  to the  Send To  directory if that option is still available
  under windows 7 .... 

  That would seem  almost  as handy 
  only moving the mouse one more time
  to roll out the  Send To  target menu  
  before the final click to launch ....


-- 
Stanley C. Kitching
Human Being
Phoenix, Arizona

[toc] | [prev] | [next] | [standalone]


#16044

FromDennis Lee Bieber <wlfraed@ix.netcom.com>
Date2011-11-21 11:21 -0800
Message-ID<mailman.2930.1321903307.27778.python-list@python.org>
In reply to#16022
On Mon, 21 Nov 2011 08:39:37 -0800, "W. eWatson"
<wolftracks@invalid.com> declaimed the following in
gmane.comp.python.general:

> 
> My criterion for success is that it puts IDLE as a choice for editor on 
> the menu produced with a right-click on a py file. So far no response on 
> this has solved the problem.
> 
> I know it sets up that way on a 2.5 and 2.4 on other PCs I have.
>
	I have three computers here:

-=-=-=-=-=- Desktop
WinXP Pro 32-bit, 3.4GHz hyper-threaded P4
ActiveState ActivePython 2.5.2.2 (Python 2.5.2)

Right click menu has "open" (run with python.exe if .py, run with
pythonw.exe if .pyw), and "edit" (opens PythonWin)

NO IDLE option on right click. No IDLE option in
"start/programs/activestate activepython 2.5"

-=-=-=-=-=- Old laptop
WinXP Home 32-bit, 2.66GHz P4
ActiveState ActivePython 2.5.5.7 (Python 2.5.5)

Right click menu has "open" (as above) and "edit with PythonWin".

NO IDLE option on right click. Did not check "start/programs/..."

-=-=-=-=-=- New laptop
Win7 Home Premium 64-bit, 2.2GHz i7-2720QM (quad core hyperthreaded)
ActiveState ActivePython 2.7.1.4 for 64-bit (Python 2.7.1)

NO IDLE option on right click. IDLE shortcut found as "start/all
programs/activepython (64-bit)/idle", and it runs properly (it did take
some 15-20 seconds though to bring up the IDLE Tk window). The shortcut
properties are:
Target: c:\python27_64\lib\idlelib\idle.bat
Start in: c:\python27_64
(Note that it is a .bat file that is referenced, and such is a "native"
windows executable file)

ALSO have
ActiveState Active Python 2.7.1.4 for 32-bit

IDLE shortcut found at "start/all programs/activepython/idle".
Properties are similar to above except instead of "python27_64" they
have "python27" only

-=-=-=-=-=-

So, out of two generations of 32-bit Python 2.5, and 64 and 32 bit
versions of Python 2.7, on three computers, NONE of mine have a
right-click option for IDLE.

> I do know that IDLE appears on the Win 7 Start menu, but, when used, 
> nothing happens.  Well, OK, for about 3 seconds the Win 7 "working" icon 
> spins around then zip, nothing.  Further, right-clicking on Properties 
> of IDLE (GUI) produces a tabbed dialog.  It shows Start in: 
> c:\Python32\, and None for shortcut.  There is a compatibility tab, 

	But what does it show for TARGET!

> Going directly to ...\Lib\idlelib\idle.pyw produces the spinning icon. 
> At least, that's what happens in 3.2.2, but in the 32-bit versions I 
> tried, I would get "invalid Win 32 app".
> 
	Possibly because you are trying to start a 32-bit version with a
default "open" for .pyw files that runs the 64-bit Python.exe; so the
DLLs are mixed architecture.


> Some have suggested a registry problem, but I don't have a clue how to 
> play with that, or somehow clean it up, if there is a problem.  My PC 
> behaves normally
>
	Since none of your problems appear to be related to Python itself,
but rather to the Windows configuration of the Python system, I'd have
to disagree.
 
> I'm using Win 7 Premium.

	Home, Pro, Ultimate (or whatever the top level is?
-- 
	Wulfraed                 Dennis Lee Bieber         AF6VN
        wlfraed@ix.netcom.com    HTTP://wlfraed.home.netcom.com/

[toc] | [prev] | [next] | [standalone]


#16076

From"W. eWatson" <wolftracks@invalid.com>
Date2011-11-22 07:57 -0800
Message-ID<jaggpe$lj9$1@dont-email.me>
In reply to#16044
On 11/21/2011 11:21 AM, Dennis Lee Bieber wrote:
> On Mon, 21 Nov 2011 08:39:37 -0800, "W. eWatson"
> <wolftracks@invalid.com>  declaimed the following in
> gmane.comp.python.general:
>
>>
>> My criterion for success is that it puts IDLE as a choice for editor on
>> the menu produced with a right-click on a py file. So far no response on
>> this has solved the problem.
>>
>> I know it sets up that way on a 2.5 and 2.4 on other PCs I have.
>>
> 	I have three computers here:
>
> -=-=-=-=-=- Desktop
> WinXP Pro 32-bit, 3.4GHz hyper-threaded P4
> ActiveState ActivePython 2.5.2.2 (Python 2.5.2)

All of the above use ActiveState. I use whatever the Python organization 
provides on their download site. I would not expect the two to compare.

>
> -=-=-=-=-=-
>
> So, out of two generations of 32-bit Python 2.5, and 64 and 32 bit
> versions of Python 2.7, on three computers, NONE of mine have a
> right-click option for IDLE.
>
>> I do know that IDLE appears on the Win 7 Start menu, but, when used,
>> nothing happens.  Well, OK, for about 3 seconds the Win 7 "working" icon
>> spins around then zip, nothing.  Further, right-clicking on Properties
>> of IDLE (GUI) produces a tabbed dialog.  It shows Start in:
>> c:\Python32\, and None for shortcut.  There is a compatibility tab,
>
> 	But what does it show for TARGET!

c:\Python32 Start in, and for Target: Python 3.2.2 (64-bit)
For the shortcut C:\ProgramData\Microsoft\Windows\Start 
Menu\Programs\Python3.2

>
>> Going directly to ...\Lib\idlelib\idle.pyw produces the spinning icon.
>> At least, that's what happens in 3.2.2, but in the 32-bit versions I
>> tried, I would get "invalid Win 32 app".
>>
> 	Possibly because you are trying to start a 32-bit version with a
> default "open" for .pyw files that runs the 64-bit Python.exe; so the
> DLLs are mixed architecture.
3.2.2 is 64-bit.
>
>
>> Some have suggested a registry problem, but I don't have a clue how to
>> play with that, or somehow clean it up, if there is a problem.  My PC
>> behaves normally
>>
> 	Since none of your problems appear to be related to Python itself,
> but rather to the Windows configuration of the Python system, I'd have
> to disagree.
>
>> I'm using Win 7 Premium.
>
> 	Home, Pro, Ultimate (or whatever the top level is?

[toc] | [prev] | [next] | [standalone]


#16082

FromDennis Lee Bieber <wlfraed@ix.netcom.com>
Date2011-11-22 10:01 -0800
Message-ID<mailman.2952.1321984915.27778.python-list@python.org>
In reply to#16076
On Tue, 22 Nov 2011 07:57:30 -0800, "W. eWatson"
<wolftracks@invalid.com> declaimed the following in
gmane.comp.python.general:


> 
> All of the above use ActiveState. I use whatever the Python organization 
> provides on their download site. I would not expect the two to compare.
>
	Which is mostly a repackaged version of the Python.org download,
usually with a few added libraries (the Win32 extensions, for windows,
along with the PythonWin editor).
> 
> c:\Python32 Start in, and for Target: Python 3.2.2 (64-bit)

	Which tells me that the TARGET field is garbaged, since THAT is what
specifies the program (and arguments) that has to be run when the
shortcut is double-clicked.

	Try editing the target field to read (presuming the 3.x branch of
Python keeps the same library structure):

c:\python32\lib\idlelib\idle.bat

save the change, and then select the short-cut to see if it runs.


-- 
	Wulfraed                 Dennis Lee Bieber         AF6VN
        wlfraed@ix.netcom.com    HTTP://wlfraed.home.netcom.com/

[toc] | [prev] | [next] | [standalone]


#16104

FromAnssi Saari <as@sci.fi>
Date2011-11-23 14:16 +0200
Message-ID<vg34nxvdoej.fsf@sci.fi>
In reply to#16082
Dennis Lee Bieber <wlfraed@ix.netcom.com> writes:

>> c:\Python32 Start in, and for Target: Python 3.2.2 (64-bit)
>
> 	Which tells me that the TARGET field is garbaged, since THAT is what
> specifies the program (and arguments) that has to be run when the
> shortcut is double-clicked.

Actually, no, it's what I have too. 32-bit Windows 7 here and Python
3.2. The Target for the Idle shortcut is just Python 3.2. It's also
greyed out and uneditable.

So yes, weird. Mine works though and I rarely use Idle, so no
complaints.

[toc] | [prev] | [next] | [standalone]


#16122

FromDennis Lee Bieber <wlfraed@ix.netcom.com>
Date2011-11-23 10:21 -0800
Message-ID<mailman.2979.1322072526.27778.python-list@python.org>
In reply to#16104
On Wed, 23 Nov 2011 14:16:52 +0200, Anssi Saari <as@sci.fi> declaimed
the following in gmane.comp.python.general:

> Dennis Lee Bieber <wlfraed@ix.netcom.com> writes:
> 
> >> c:\Python32 Start in, and for Target: Python 3.2.2 (64-bit)
> >
> > 	Which tells me that the TARGET field is garbaged, since THAT is what
> > specifies the program (and arguments) that has to be run when the
> > shortcut is double-clicked.
> 
> Actually, no, it's what I have too. 32-bit Windows 7 here and Python
> 3.2. The Target for the Idle shortcut is just Python 3.2. It's also
> greyed out and uneditable.
> 
> So yes, weird. Mine works though and I rarely use Idle, so no
> complaints.

	Okay -- I must have the weird version then. It was installed about
three months ago on a new Win7 laptop (I still have to activate the
pre-paid wireless card for it)

	It's the only ActiveState installed Python (2.7) on which /I've/
ever seen a short cut for IDLE (in the Start/All Programs menu), and the
target appears editable and points to the .bat file.

	Even if not editable, it shouldn't be difficult to create a new
shortcut (that option hasn't been removed in Win7, has it?) from scratch
filling in the proper data.

-- 
	Wulfraed                 Dennis Lee Bieber         AF6VN
        wlfraed@ix.netcom.com    HTTP://wlfraed.home.netcom.com/

[toc] | [prev] | [next] | [standalone]


#16090

FromTerry Reedy <tjreedy@udel.edu>
Date2011-11-22 17:50 -0500
Message-ID<mailman.2958.1322002264.27778.python-list@python.org>
In reply to#16076
On 11/22/2011 1:01 PM, Dennis Lee Bieber wrote:

>> c:\Python32 Start in, and for Target: Python 3.2.2 (64-bit)
>
> 	Which tells me that the TARGET field is garbaged,

The above is exactly what my IDLE shortcut target field says, and it 
works fine.

> since THAT is what specifies the program (and arguments)
 > that has to be run when the shortcut is double-clicked.

It would be nice if it DID show all that info.

> Try editing the target field to read (presuming the 3.x branch of
> Python keeps the same library structure):
>
> c:\python32\lib\idlelib\idle.bat
>
> save the change, and then select the short-cut to see if it runs.

Target for the .msi created shortcut cannot be edited, even as admin.

-- 
Terry Jan Reedy

[toc] | [prev] | [next] | [standalone]


#16054

FromTerry Reedy <tjreedy@udel.edu>
Date2011-11-21 18:07 -0500
Message-ID<mailman.2937.1321916900.27778.python-list@python.org>
In reply to#16022
On 11/21/2011 11:39 AM, W. eWatson wrote:
>
> My criterion for success is that it puts IDLE as a choice for editor on
> the menu produced with a right-click on a py file.

Your first criterion for success should be that IDLE runs at all, which 
is apparently does not. How you run it is secondary.

Right-click responses are controlled by Windows using data in the 
registry. Windows modifies the registry in response to installers *and 
users*. The ActiveState installers request 'Edit with PythonWin'. They 
do not request 'Edit with IDLE' and it is foolish to complain to us when 
you use ActiveState and get their choice of context choices.

The PSF .msi installers (.msi = MicroSoftInstall format) from python.org 
request 'Edit with IDLE' but cannot make Windows put it in. If your 
registry is messed up enough, it does not happen. But no error message.

I have explained to you another way to work with IDLE once it runs. It 
you refuse to use it, that is your problem, not ours.

> I know it sets up that way on a 2.5 and 2.4 on other PCs I have.

You installed with the PSF installer with an ok registry.

> I know at one time it worked on my 64-bit Win 7 PC, which likely had a
> 32-bit version installed on it. After something like six months of
> modest use it stopped working as above. No IDLE choice.

So some *other* program messed things up. Stop blaming us.
Heavy or modest use in the meantime is irrelevant.

> I know by installing a 64-bit version, 3.2.2 failed the IDLE criterions
> as described. No IDLE.

Did you uninstall the 32 bit version, and best, all Python versions?

> I do know that IDLE appears on the Win 7 Start menu, but, when used,
> nothing happens. Well, OK, for about 3 seconds the Win 7 "working" icon
> spins around then zip, nothing.

This is your real problem. Stop worrying about the context menu.

 > Further, right-clicking on Properties of
> IDLE (GUI) produces a tabbed dialog. It shows Start in: c:\Python32\,

This is the Shortcut tab. A shortcut is like a bound method. The 
function is the target: 'python 3.2.2 (64 bit)' on my machine. The 
starting directory is like a bound argument, although it is passed to 
the launcher that launches the function. What the Properties dialog does 
not show are the actual 'bound arguments' that are passed to the target 
as options. So one cannot know what the shortcut is actually trying to 
do. This is one of the Really Stupid things about Windows that should 
have been fixed long ago but has not.

> and None for shortcut.

None for Shortcut key, such as alt-I to invoke the shortcut.

> There is a compatibility tab, which I've set to
> Win7. I think there's a troubleshooter there too, but I haven't used it.
> Under the Details tab, it shows Name: IDLE(Python Gui).lnk. Folder Path
> as: c:\ProgramData\Microsoft\Windows\Start... Nothing after the "...".

Details: Folder Path is the same as General: Location. Mouse over the 
latter the the full path appears. That Properties windows are still 
fixed at 480 pixel wide, regardless of screen size, is another Really 
Stupid thing.

> Going directly to ...\Lib\idlelib\idle.pyw produces the spinning icon.
> At least, that's what happens in 3.2.2, but in the 32-bit versions I
> tried, I would get "invalid Win 32 app".

If the registry entry for .pyw is messed up, trying to run the file by 
clicking on it is not likely to work. Try running from Command Prompt, 
as I believe others suggested.

> When I rebooted my system a few hours after installing 3.2.2, because
> the PC was running really slowly--not because of Python, I was greeted
> by a couple of interesting messages as the desktop was populated.
>
> I can execute Python from the command line.
>
> 1. Specified module could not be found: Load Lib, python.dll.
>
> 2. \ProgramFiles(x86)\uniblueDrivers\Scanner (x86) Python26.dll.

The uniblue drivers program will match your drivers against a database 
of up-to-date drivers and offer to upgrade them. I have used uniblue's 
registry scanner program. Treating pythonxy.dll as a driver, if they 
are, is an error. These are paid programs. The free demos only scan to 
tell you what they would do if you bought them.

 > I'm sure this is related to Winamp, which I had installed a month ago.

I do not believe they are the same companies, but they may have a 
cross-promotion deal.

> had some "crazy" choice to scan for new drivers. Of course, if it found
> one-connected with Python, and if you wanted it, $$$. I think this
> message is a red herring. I may re-install Winamp to get rid of that
> uniblue tool that seems like nothing more than an ad.
>
> Some have suggested a registry problem, but I don't have a clue how to
> play with that, or somehow clean it up, if there is a problem. My PC
> behaves normally

If you ran the psf 3.2.2 installer and idle does not run when you click 
the start menu shortcut, something is wrong.

> Someone suggested using the mail list at
> <http://mail.python.org/mailman/listinfo/python-list>. What's different
> about that list than this NG? Does the "org" suggest that the
> inhabitants of that list are more likely associated with the people who
> are responsible for constructing Python?

Python list is mirror to comp.lang.python which is mirrored to a google 
group. It is also mirrored to gmane.comp.python, which is how I read and 
post. There is some spam filtering if you use the python.org list or 
gmane group.

-- 
Terry Jan Reedy

[toc] | [prev] | [next] | [standalone]


#16077

From"W. eWatson" <wolftracks@invalid.com>
Date2011-11-22 08:12 -0800
Message-ID<jaghl0$rj9$1@dont-email.me>
In reply to#16054
On 11/21/2011 3:07 PM, Terry Reedy wrote:
> On 11/21/2011 11:39 AM, W. eWatson wrote:
>>
>> My criterion for success is that it puts IDLE as a choice for editor on
>> the menu produced with a right-click on a py file.
>
> Your first criterion for success should be that IDLE runs at all, which
> is apparently does not. How you run it is secondary.
>
> Right-click responses are controlled by Windows using data in the
> registry. Windows modifies the registry in response to installers *and
> users*. The ActiveState installers request 'Edit with PythonWin'. They
> do not request 'Edit with IDLE' and it is foolish to complain to us when
> you use ActiveState and get their choice of context choices.

ActiveState. Am I missing something? I'm running 64-bit Python 
downloaded from the Python organization's web site.l

>
> The PSF .msi installers (.msi = MicroSoftInstall format) from python.org
> request 'Edit with IDLE' but cannot make Windows put it in. If your
> registry is messed up enough, it does not happen. But no error message.
>
> I have explained to you another way to work with IDLE once it runs. It
> you refuse to use it, that is your problem, not ours.
>
>> I know it sets up that way on a 2.5 and 2.4 on other PCs I have.
>
> You installed with the PSF installer with an ok registry.

PSF? What does "ok registry" mean?

>
>> I know at one time it worked on my 64-bit Win 7 PC, which likely had a
>> 32-bit version installed on it. After something like six months of
>> modest use it stopped working as above. No IDLE choice.
>
> So some *other* program messed things up. Stop blaming us.
> Heavy or modest use in the meantime is irrelevant.
I'm blaming you??? I was just providing data for whatever it might be 
worth. I'm also suggesting that I do not have years of experience with 
Python.
>
>> I know by installing a 64-bit version, 3.2.2 failed the IDLE criterions
>> as described. No IDLE.
>
> Did you uninstall the 32 bit version, and best, all Python versions?
>
>> I do know that IDLE appears on the Win 7 Start menu, but, when used,
>> nothing happens. Well, OK, for about 3 seconds the Win 7 "working" icon
>> spins around then zip, nothing.
>
> This is your real problem. Stop worrying about the context menu.

I would expect consistency through all Python org releases. Should I put 
consistency in really bold letters with a 30 point font? :-)

>
>  > Further, right-clicking on Properties of
>> IDLE (GUI) produces a tabbed dialog. It shows Start in: c:\Python32\,
>
> This is the Shortcut tab. A shortcut is like a bound method. The
> function is the target: 'python 3.2.2 (64 bit)' on my machine. The
> starting directory is like a bound argument, although it is passed to
> the launcher that launches the function. What the Properties dialog does
> not show are the actual 'bound arguments' that are passed to the target
> as options. So one cannot know what the shortcut is actually trying to
> do. This is one of the Really Stupid things about Windows that should
> have been fixed long ago but has not.

I never use the shortcut on the Start menu. I mentioned the Start menu, 
since it might have some relevance.

>
>> and None for shortcut.
>
> None for Shortcut key, such as alt-I to invoke the shortcut.
>
>> There is a compatibility tab, which I've set to
>> Win7. I think there's a troubleshooter there too, but I haven't used it.
>> Under the Details tab, it shows Name: IDLE(Python Gui).lnk. Folder Path
>> as: c:\ProgramData\Microsoft\Windows\Start... Nothing after the "...".
>
> Details: Folder Path is the same as General: Location. Mouse over the
> latter the the full path appears. That Properties windows are still
> fixed at 480 pixel wide, regardless of screen size, is another Really
> Stupid thing.

Yes, I finally realized I could mouse over it.

>
>> Going directly to ...\Lib\idlelib\idle.pyw produces the spinning icon.
>> At least, that's what happens in 3.2.2, but in the 32-bit versions I
>> tried, I would get "invalid Win 32 app".
>
> If the registry entry for .pyw is messed up, trying to run the file by
> clicking on it is not likely to work. Try running from Command Prompt,
> as I believe others suggested.

I'm not trying to run the program, I'm trying to edit. Several times in 
these threads I've mentioned I can execute python from the command line.

>
>> When I rebooted my system a few hours after installing 3.2.2, because
>> the PC was running really slowly--not because of Python, I was greeted
>> by a couple of interesting messages as the desktop was populated.
>>
>> I can execute Python from the command line.
>>
>> 1. Specified module could not be found: Load Lib, python.dll.
>>
>> 2. \ProgramFiles(x86)\uniblueDrivers\Scanner (x86) Python26.dll.
>
> The uniblue drivers program will match your drivers against a database
> of up-to-date drivers and offer to upgrade them. I have used uniblue's
> registry scanner program. Treating pythonxy.dll as a driver, if they
> are, is an error. These are paid programs. The free demos only scan to
> tell you what they would do if you bought them.

Yes. Just Winamp looking for $$$.

>
>  > I'm sure this is related to Winamp, which I had installed a month ago.
>
> I do not believe they are the same companies, but they may have a
> cross-promotion deal.
Evidently.
>
>> had some "crazy" choice to scan for new drivers. Of course, if it found
>> one-connected with Python, and if you wanted it, $$$. I think this
>> message is a red herring. I may re-install Winamp to get rid of that
>> uniblue tool that seems like nothing more than an ad.
>>
>> Some have suggested a registry problem, but I don't have a clue how to
>> play with that, or somehow clean it up, if there is a problem. My PC
>> behaves normally
>
> If you ran the psf 3.2.2 installer and idle does not run when you click
> the start menu shortcut, something is wrong.
Of course. Assuming psf means something like python software foundation.
>
>> Someone suggested using the mail list at
>> <http://mail.python.org/mailman/listinfo/python-list>. What's different
>> about that list than this NG? Does the "org" suggest that the
>> inhabitants of that list are more likely associated with the people who
>> are responsible for constructing Python?
>
> Python list is mirror to comp.lang.python which is mirrored to a google
> group. It is also mirrored to gmane.comp.python, which is how I read and
> post. There is some spam filtering if you use the python.org list or
> gmane group.
>
Good. Then I don't need it.

[toc] | [prev] | [next] | [standalone]


#16065

Fromalex23 <wuwei23@gmail.com>
Date2011-11-21 19:00 -0800
Message-ID<1c554c22-8640-4ca3-a6f2-2cb8da318062@k5g2000pre.googlegroups.com>
In reply to#16022
"W. eWatson" <wolftra...@invalid.com> wrote:
> Comments?

Please don't start multiple threads on the same issue.

[toc] | [prev] | [next] | [standalone]


#16078

From"W. eWatson" <wolftracks@invalid.com>
Date2011-11-22 08:14 -0800
Message-ID<jaghor$rj9$2@dont-email.me>
In reply to#16065
On 11/21/2011 7:00 PM, alex23 wrote:
> "W. eWatson"<wolftra...@invalid.com>  wrote:
>> Comments?
>
> Please don't start multiple threads on the same issue.
Your joking, right, or do you just prefer 500 line threads wandering all 
over the place?

[toc] | [prev] | [next] | [standalone]


#16086

FromAndrea Crotti <andrea.crotti.0@gmail.com>
Date2011-11-22 19:15 +0000
Message-ID<mailman.2954.1321989351.27778.python-list@python.org>
In reply to#16078
On 11/22/2011 04:14 PM, W. eWatson wrote:
> Your joking, right, or do you just prefer 500 line threads wandering
> all over the place?

I would personally prefer to just not see useless discussions about
Windows set up in a python mailing list,
but I guess it's a price to pay for the popularity of Python..

[toc] | [prev] | [next] | [standalone]


#16152

FromMichael Torrie <torriem@gmail.com>
Date2011-11-23 23:15 -0700
Message-ID<mailman.2995.1322117047.27778.python-list@python.org>
In reply to#16078
On 11/22/2011 09:14 AM, W. eWatson wrote:
> On 11/21/2011 7:00 PM, alex23 wrote:
>> "W. eWatson"<wolftra...@invalid.com>  wrote:
>>> Comments?
>>
>> Please don't start multiple threads on the same issue.
> Your joking, right, or do you just prefer 500 line threads wandering all 
> over the place?

Most of us use threaded e-mail clients or nntp clients (Gmail's
conversations are rubbish for this kind of thing) and so yes, having all
500 responses wandering all over the place in an orderly tree structure
is infinitely preferred to many threads all talking about the same
thing.  Each message contains a referral id that refers the message that
is being replied to.  Thus the logical flow of the conversation is
preserved very well despite many posters and meandering conversation
branches.

[toc] | [prev] | [next] | [standalone]


#16085

FromAlan Meyer <ameyer2@yahoo.com>
Date2011-11-22 13:55 -0500
Message-ID<4ECBF01A.7060507@yahoo.com>
In reply to#16022
On 11/21/2011 11:39 AM, W. eWatson wrote:

> My criterion for success is that it puts IDLE as a choice for editor on
> the menu produced with a right-click on a py file. So far no response on
> this has solved the problem.  ...

I don't know what responses you're referring to since this is the first 
posting in the thread.  It's possible what I'm about to say was already 
told to you - in which case I'm wasting my and everyone's time.

However, leaving that aside, I think that this is trivially easy to 
solve.  It has nothing whatever to do with Python or Idle - though it's 
possible that the Python installer could have done something for that it 
didn't - and it's also possible that the Python installer did what you 
told it to do but you told it the wrong thing, or you told Windows to 
change it without realizing that you did.  (I do that all the time.  A 
mouse slip and inadvertent click on the wrong object, a misunderstanding 
of a prompt, or lots of other missteps can change things without your 
having any idea what happened.)

Anyway, if I understand what you're looking for, here's what you need to 
do to fix your problem:

1. Open Windows Explorer.

2. Navigate to a Python file.

3. Right click on the Python file with the mouse.

4. Select "Open With"

5. Select "Choose Default Program"

6. Select, or navigate to and select, the python IDLE interpreter.

7. Check the box that says "Always use the selected program to open this 
kind of file."

8. Click "OK".

The prompts I described above are the ones I saw on my Windows Server 
2008 machine.  Yours may vary slightly, but I think the procedures 
should be the same.

Please let us know if that solves your problem.

     Alan

[toc] | [prev] | [next] | [standalone]


#16087

FromAlan Meyer <ameyer2@yahoo.com>
Date2011-11-22 14:29 -0500
Message-ID<4ECBF80E.9090003@yahoo.com>
In reply to#16085
On 11/22/2011 1:55 PM, Alan Meyer wrote:
...
> 6. Select, or navigate to and select, the python IDLE interpreter.
...
On my system that's
   C:\Python26\Lib\site-packages\pythonwin\Pythonwin.exe

Alan

[toc] | [prev] | [next] | [standalone]


#16089

FromDennis Lee Bieber <wlfraed@ix.netcom.com>
Date2011-11-22 12:05 -0800
Message-ID<mailman.2955.1321992362.27778.python-list@python.org>
In reply to#16087
On Tue, 22 Nov 2011 14:29:18 -0500, Alan Meyer <ameyer2@yahoo.com>
declaimed the following in gmane.comp.python.general:

> On 11/22/2011 1:55 PM, Alan Meyer wrote:
> ...
> > 6. Select, or navigate to and select, the python IDLE interpreter.
> ...
> On my system that's
>    C:\Python26\Lib\site-packages\pythonwin\Pythonwin.exe
>
	Note that this is not the Tk based IDLE (which is implemented,
itself, as a .pyw file and is not natively executable -- which seems to
be one of the problems; Win7 has removed the detailed file type
association windows so you can't specify that the "application" is
pythonw.exe running idle.pyw using one's selected file as the argument
to the mess).
-- 
	Wulfraed                 Dennis Lee Bieber         AF6VN
        wlfraed@ix.netcom.com    HTTP://wlfraed.home.netcom.com/

[toc] | [prev] | [next] | [standalone]


#16092

FromAlan Meyer <ameyer2@yahoo.com>
Date2011-11-22 22:45 -0500
Message-ID<4ECC6C65.2090902@yahoo.com>
In reply to#16089
On 11/22/2011 3:05 PM, Dennis Lee Bieber wrote:
> On Tue, 22 Nov 2011 14:29:18 -0500, Alan Meyer<ameyer2@yahoo.com>
> declaimed the following in gmane.comp.python.general:
>
>> On 11/22/2011 1:55 PM, Alan Meyer wrote:
>> ...
>>> 6. Select, or navigate to and select, the python IDLE interpreter.
>> ...
>> On my system that's
>>     C:\Python26\Lib\site-packages\pythonwin\Pythonwin.exe
>>
> 	Note that this is not the Tk based IDLE (which is implemented,
> itself, as a .pyw file and is not natively executable -- which seems to
> be one of the problems; Win7 has removed the detailed file type
> association windows so you can't specify that the "application" is
> pythonw.exe running idle.pyw using one's selected file as the argument
> to the mess).

Bummer!

Sorry W.eWatson, my instructions may not work.  I've got the ActiveState 
Python on my Windows machine.  It runs a .exe file as the IDLE 
executable.  If your implementation doesn't have an exe then you're 
going to have to do some more complex work.

Since I don't have the version of Python from python.org under Windows, 
I can't really advise on what to do with that.  If you haven't got an 
exe, my instructions will only work if you install the ActiveState 
version, which does have one.

     Alan

[toc] | [prev] | [next] | [standalone]


#16129

FromSibylle Koczian <nulla.epistola@web.de>
Date2011-11-23 22:13 +0100
Message-ID<mailman.2985.1322082827.27778.python-list@python.org>
In reply to#16092
Am 23.11.2011 04:45, schrieb Alan Meyer:
> On 11/22/2011 3:05 PM, Dennis Lee Bieber wrote:
>> On Tue, 22 Nov 2011 14:29:18 -0500, Alan Meyer<ameyer2@yahoo.com>
>> declaimed the following in gmane.comp.python.general:
>>
>>> On 11/22/2011 1:55 PM, Alan Meyer wrote:
>>> ...
>>>> 6. Select, or navigate to and select, the python IDLE interpreter.
>>> ...
>>> On my system that's
>>> C:\Python26\Lib\site-packages\pythonwin\Pythonwin.exe
>>>
>> Note that this is not the Tk based IDLE (which is implemented,
>> itself, as a .pyw file and is not natively executable -- which seems to
>> be one of the problems; Win7 has removed the detailed file type
>> association windows so you can't specify that the "application" is
>> pythonw.exe running idle.pyw using one's selected file as the argument
>> to the mess).
>
> Bummer!
>
> Sorry W.eWatson, my instructions may not work. I've got the ActiveState
> Python on my Windows machine. It runs a .exe file as the IDLE
> executable. If your implementation doesn't have an exe then you're going
> to have to do some more complex work.
>

PythonWin hasn't got anything to do with IDLE, it's another IDE for 
Python. It is part of the Python for Windows extensions:
http://sourceforge.net/projects/pywin32/.

[toc] | [prev] | [next] | [standalone]


Page 1 of 3  [1] 2 3  Next page →

Back to top | Article view | comp.lang.python


csiph-web