Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

"Help save the world!" -- Larry Wall in README


devel / comp.lang.python / Re: Problems with IDLE in Windows 8.1 and installer x86 Version 3.10.8

SubjectAuthor
o Re: Problems with IDLE in Windows 8.1 and installer x86 Version 3.10.8Thomas Passin

1
Re: Problems with IDLE in Windows 8.1 and installer x86 Version 3.10.8

<mailman.949.1668277205.20444.python-list@python.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=20322&group=comp.lang.python#20322

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!not-for-mail
From: lis...@tompassin.net (Thomas Passin)
Newsgroups: comp.lang.python
Subject: Re: Problems with IDLE in Windows 8.1 and installer x86 Version 3.10.8
Date: Sat, 12 Nov 2022 13:01:11 -0500
Lines: 255
Message-ID: <mailman.949.1668277205.20444.python-list@python.org>
References: <202210311822.29VIMTpw130438@mail92c50.megamailservers.eu>
<202210312138.29VLcBUQ008124@mail118c50.megamailservers.eu>
<CACL+1asuVG++KH45JEWM6FyRP0tduv1695WHHMfUKFyFocO8yQ@mail.gmail.com>
<202211011649.2A1GnNrU115152@mail36c50.megamailservers.eu>
<CACL+1atGfYUmNDtq0xGk5yK1n=Fit5r9+i4frq-zf7UMC7BkvA@mail.gmail.com>
<CABHTS55uQ972Hfs9B1QCB3rmKJO4LMZxVZUqBwEmT-NvtGQJQA@mail.gmail.com>
<CACL+1asb+ASyGMEowXiyBKpZkdMiuq7yCHYj_Feq3y461HmQkw@mail.gmail.com>
<202211032129.2A3LTmtc065950@mail193c50.megamailservers.eu>
<CACL+1av4BV6Wosdh7XyR_bc1_aAgJfHMWaRyw3vmQvGciuj=Zw@mail.gmail.com>
<202211041414.2A4EE2xL017716@mail264c50.megamailservers.eu>
<202211100003.2AA03LR5098382@mail266c50.megamailservers.eu>
<59f3470c-fffb-4354-1712-67814f257e66@tompassin.net>
<202211121242.2ACCgcuL102426@mail265c50.megamailservers.eu>
<ab59a00d-785d-5eb0-ecc1-167a6203b96b@tompassin.net>
<202211121650.2ACGokE8103881@mail193c50.megamailservers.eu>
<1ffce7ef-829f-798f-cf11-e8e433989ee8@tompassin.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: news.uni-berlin.de 7G1reQRHHKz7Dlo5LahguQqu7VFPPgc8qWhB6iHPnSmA==
Return-Path: <list1@tompassin.net>
X-Original-To: python-list@python.org
Delivered-To: python-list@mail.python.org
Authentication-Results: mail.python.org; dkim=pass
reason="2048-bit key; unprotected key"
header.d=tompassin.net header.i=@tompassin.net header.b=rgaz1JyS;
dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status: OK 0.000
X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'looks': 0.02; 'message:':
0.03; '3.7': 0.03; 'this:': 0.03; 'traceback': 0.04; '(for': 0.05;
'(most': 0.05; 'last):': 0.05; '"python': 0.07; 'importerror:':
0.07; 'modules': 0.07; 'subject:Windows': 0.07; 'suggestion':
0.07; 'tkinter': 0.07; 'url:downloads': 0.07; 'wrong.': 0.07;
'"python"': 0.09; '(assuming': 0.09; '2.7': 0.09; '3.x.': 0.09;
'8.1': 0.09; 'console,': 0.09; 'explorer,': 0.09; 'idle': 0.09;
'installer': 0.09; 'linux': 0.09; 'messages.': 0.09; 'pip.': 0.09;
'received:23.83.212': 0.09; 'received:elm.relay.mailchannels.net':
0.09; 'run.\xc2\xa0': 0.09; 'skip:* 30': 0.09; 'subject:IDLE':
0.09; 'window.': 0.09; 'import': 0.15; 'url:mailman': 0.15;
'possible,': 0.15; '(because': 0.16; "(i'm": 0.16; '(note': 0.16;
'(without': 0.16; '3.10': 0.16; '7:02': 0.16; 'an:': 0.16;
'anyway.': 0.16; 'batch': 0.16; 'command:': 0.16; 'component.':
0.16; 'computers': 0.16; 'directory,': 0.16; 'directory.': 0.16;
'displayed': 0.16; 'dll': 0.16; 'dlls': 0.16; 'does,': 0.16;
'drive,': 0.16; 'eryk': 0.16; 'found,': 0.16; 'given.': 0.16;
'idle.': 0.16; 'importing': 0.16; 'instead.': 0.16; 'key,': 0.16;
'python3': 0.16; 'python;': 0.16; 'recall.': 0.16;
'received:10.0.0': 0.16; 'received:64.90': 0.16;
'received:64.90.62': 0.16; 'received:64.90.62.162': 0.16;
'received:dreamhost.com': 0.16; 'releases': 0.16; 'repair': 0.16;
'run,': 0.16; 'self-test': 0.16; 'skip:c 100': 0.16;
'subject:Version': 0.16; 'sudo': 0.16; 'tree,': 0.16; 'typing':
0.16; 'windows.': 0.16; 'wrote:': 0.16; 'problem': 0.16; 'python':
0.16; 'instead': 0.17; 'probably': 0.17; "can't": 0.17; 'cancel':
0.19; 'figure': 0.19; 'installing': 0.19; 'pm,': 0.19; 'to:addr
:python-list': 0.20; 'bit.': 0.22; 'to:no real name:2**1': 0.22;
"what's": 0.22; 'version': 0.23; 'install': 0.23; 'command': 0.23;
'installed': 0.23; 'run': 0.23; 'idea': 0.24; 'anything': 0.25;
'url-ip:188.166.95.178/32': 0.25; 'url-ip:188.166.95/24': 0.25;
'extension': 0.25; 'url:listinfo': 0.25; 'cannot': 0.25; 'url-
ip:188.166/16': 0.25; 'seems': 0.26; 'tried': 0.26; 'library':
0.26; 'normally': 0.26; "isn't": 0.27; '>>>': 0.28; 'version.':
0.28; 'example,': 0.28; 'ideas': 0.28; 'suggest': 0.28; 'wrong':
0.28; 'computer': 0.29; 'it,': 0.29; 'error': 0.29; 'header:User-
Agent:1': 0.30; 'am,': 0.31; 'modify': 0.31; '8bit%:38': 0.70;
'8bit%:43': 0.70; 'above,': 0.70; 'them,': 0.70; 'too.': 0.70;
'ignore': 0.71; 'located': 0.71; 'skip:\xe2 10': 0.71; 'little':
0.73; 'name,': 0.75; '8bit%:30': 0.78; 'out,': 0.78; '8bit%:35':
0.81; 'double-click': 0.84; 'explorer': 0.84; 'install.': 0.84;
'nicht': 0.84; 'quotes': 0.84; 'subject: \n ': 0.84; 'succession':
0.84; 'surprised': 0.84; 'tapping': 0.84; 'type,': 0.84;
'url:windows': 0.84; 'fresh': 0.91
X-Sender-Id: dreamhost|x-authsender|tpassin@tompassin.net
ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1668276071; a=rsa-sha256;
cv=none;
b=hCPJ4bGmwzd90tRx6RXIg/Bp+EXvtt8nUHQ7LzC0Qq7QkySWwpr6enQHPzUuVXlCRz0QMG
ekKhP0cXYpPbywgWRNYG7p9OjXFituXvHoS8EKEWiPj9T1s019RzyvSjIeVDs1crOBwiRO
PhXJSzaM+EtwzOaKnnn87B4PCRBQTR9cHrPlCR629aWaJPRQEMJQredoqXV/29YxJpcMBN
RPfm5cGA+yjKH+DH2oJtok7Mu+O8vMZHFvNhdyFMJGRPMMl7TfBlzcQrwgsmZyN3xUaUII
lQGOve4qNIs+lEiFqqZycCk7cs3FTtL9cKEOG8i0Ut33ijgH+jJz4jUnlc4Q/A==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed;
d=mailchannels.net; s=arc-2022; t=1668276071;
h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
to:to:cc:mime-version:mime-version:content-type:content-type:
content-transfer-encoding:content-transfer-encoding:
in-reply-to:in-reply-to:references:references:dkim-signature;
bh=c5h/HfhaCp/cXb6k3VhrCqR13UMCCUtazvPoRRA70Ns=;
b=5txHnNtkeRzzg+h86sPc4regXRtmcmy/dbUJ7TNYAGFxLYrwALuqJHDTnbXv+Jt1eirDBO
tEJmPNexqSuJEipsFLVEq9kOhEvzHel5G0qP7lsHOXoMuvVp1VIo3ZzlBE4yH59hZYrU6r
xc34oHaNXYC2PwQ8Q75/YoNLKI/Yl+kZ8ZaylE14rdJtLyDgtdOqq78FFY1IBpLoXufdIH
Yt5TtHm4XdH1WTjSl6WR2QkxVG7M07JQ1sQe10E9Q3eEsKB2ATcaj0cmdrQ+GT7FIq5SKO
JSUrAsDjZ9pt+LDAPQrxDYmtx0KbXP64ba1LrYbjLeYUoLdE5mp5d9cbHYg2SA==
ARC-Authentication-Results: i=1; rspamd-5cb65d95c4-2vfk6;
auth=pass smtp.auth=dreamhost smtp.mailfrom=list1@tompassin.net
X-Sender-Id: dreamhost|x-authsender|tpassin@tompassin.net
X-MC-Relay: Neutral
X-MailChannels-SenderId: dreamhost|x-authsender|tpassin@tompassin.net
X-MailChannels-Auth-Id: dreamhost
X-Coil-Abaft: 4c283ce4300b6d6c_1668276072076_1204096889
X-MC-Loop-Signature: 1668276072076:4248566500
X-MC-Ingress-Time: 1668276072076
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tompassin.net;
s=dreamhost; t=1668276071;
bh=c5h/HfhaCp/cXb6k3VhrCqR13UMCCUtazvPoRRA70Ns=;
h=Date:Subject:To:From:Content-Type:Content-Transfer-Encoding;
b=rgaz1JySO2u7Amg75iRB+lWvX6CdcDN8mDHUDoIWWbEfxT2/fc2M/7chKdg4M77jh
FBZCArvIvsbpic4S7h61HZdg0z2ruoOCvjvT7Wmq03tc5HJwew/rWs+CrQpEqJsTKj
eMr9x6BCzjAzaebuNQ/DIXh34xwuX03t+HCHYd+QS7bzPffp1kCFT2R9ilM0aKLa4t
nW/DtJ6F5PpHS9LTiFH73k6uT+yQZvVMvljyaa9/nlk7Axks1rulAnm+QgVovuOD+r
TV0mD0BRIiFYl6Dkxu4J+s4M8oTEqDs5xJnB1QFyxLpk0dpnLbzQhKgABAiisC0ZKE
7vXpQNc+cfb9A==
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.4.2
Content-Language: en-US
In-Reply-To: <202211121650.2ACGokE8103881@mail193c50.megamailservers.eu>
X-BeenThere: python-list@python.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: General discussion list for the Python programming language
<python-list.python.org>
List-Unsubscribe: <https://mail.python.org/mailman/options/python-list>,
<mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive: <https://mail.python.org/pipermail/python-list/>
List-Post: <mailto:python-list@python.org>
List-Help: <mailto:python-list-request@python.org?subject=help>
List-Subscribe: <https://mail.python.org/mailman/listinfo/python-list>,
<mailto:python-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID: <1ffce7ef-829f-798f-cf11-e8e433989ee8@tompassin.net>
X-Mailman-Original-References: <202210311822.29VIMTpw130438@mail92c50.megamailservers.eu>
<202210312138.29VLcBUQ008124@mail118c50.megamailservers.eu>
<CACL+1asuVG++KH45JEWM6FyRP0tduv1695WHHMfUKFyFocO8yQ@mail.gmail.com>
<202211011649.2A1GnNrU115152@mail36c50.megamailservers.eu>
<CACL+1atGfYUmNDtq0xGk5yK1n=Fit5r9+i4frq-zf7UMC7BkvA@mail.gmail.com>
<CABHTS55uQ972Hfs9B1QCB3rmKJO4LMZxVZUqBwEmT-NvtGQJQA@mail.gmail.com>
<CACL+1asb+ASyGMEowXiyBKpZkdMiuq7yCHYj_Feq3y461HmQkw@mail.gmail.com>
<202211032129.2A3LTmtc065950@mail193c50.megamailservers.eu>
<CACL+1av4BV6Wosdh7XyR_bc1_aAgJfHMWaRyw3vmQvGciuj=Zw@mail.gmail.com>
<202211041414.2A4EE2xL017716@mail264c50.megamailservers.eu>
<202211100003.2AA03LR5098382@mail266c50.megamailservers.eu>
<59f3470c-fffb-4354-1712-67814f257e66@tompassin.net>
<202211121242.2ACCgcuL102426@mail265c50.megamailservers.eu>
<ab59a00d-785d-5eb0-ecc1-167a6203b96b@tompassin.net>
<202211121650.2ACGokE8103881@mail193c50.megamailservers.eu>
 by: Thomas Passin - Sat, 12 Nov 2022 18:01 UTC

On 11/12/2022 11:48 AM, darkstone@o2online.de wrote:
> Hello Thomas,
>
> there is a “_tkinter.pyd” in the *.dll Directory. Is there something
> more, I can check?

Yes, look in the "Lib" (NOT "libs") subdirectory of the Python tree and
see if it has a subdirectory named "tkinter". That's where it is in my
own Python installations. If it's there check to see if it actually has
anything in it.

Probably it will be populated. The next thing would to see if we can
work out what's going wrong.

As long as you are in the LIB directory, check and see if it has a
subdirectory named "idlelib". If it does, try to run its self-tests**.
In a console window, type the following command:

python -m idlelib.idle_test.htest

If it works, there it will put up a succession of little Tk dialogs and
windows. If you get any of them, you can cancel out of it, since you
won't need to run dozens of little self-tests.

NOTE - on your system, the command "python" might run Python 2.7 instead
of Python 3.x. So use the right name for your version of Python - or
use "py" (no quotes), which recent Python installers set up so you
probably have it. BTW, what version(s) of Python do you have installed?
If you said in a previous post, I don't recall. You can check what
version is running when you use the name "python" by using this command
line (Note the upper-case "V"):

python -V

** I found out about this self-test command line because I noticed a
file README.txt in the idlelib\idle_test subdirectory, and read it. It
pays to be curious and nosy when trying to work out computer problems.

> *Von:* Thomas Passin <mailto:list1@tompassin.net>
> *Gesendet:* ‎Samstag‎, ‎12‎. ‎November‎ ‎2022 ‎14‎:‎42
> *An:* darkstone@o2online.de <mailto:darkstone@o2online.de>
> *Cc:* python-list@python.org <mailto:python-list@python.org>
>
> All right, now let's verify that tk is not there (otherwise it might be
> there but corrupted or not loadable for some reason).
>
> Open Windows Explorer and navigate it to the Python directory as I
> described in my last message. The navigate to the subdirectory named
> "DLLs".  If tkinter is installed, there will be a file named
> "_tkinter.pyd".  If that file is missing, then definitely tk isn't
> there.  If it is, then it's been installed but something is wrong with
> the install.
>
> Probably it won't be there, but it's a good idea to check anyway.
>
> If it's not there, I would suggest installing a different version of
> Python.  There might be something wrong with the packaging of that
> particular version, who knows?  And I would try a release with a lower
> version if possible, just in case a later one accidentally used some
> instruction not compatible with your version of Windows 8 (unlikely, but
> just in case it could happen).  For example, if you currently have
> Python 3.9.10, try Python 3.8.9.  The available releases are all here:
>
> https://www.python.org/downloads/windows/
>
> If this works, wonderful!  If it does not, I'm out of ideas for the moment.
>
> On 11/11/2022 4:18 PM, darkstone@o2online.de wrote:
> > Hello,
> >
> > yes, its a Windows 8.1 with 32 bit. I have found my Installation ordner.
> >
> > If I type python
> >
> > ** IDLE can't import Tkinter.
> > Your Python may not configured for TK. **
> >
> > So I tried this:
> >
> >  >>> import _tkinter
> > Traceback (most recent call last):
> >    File "<stdin>", line 1, in <module>
> > ImportError: DLL load failed while importing _tkinter: Das angegebene
> > Modul wurd
> > e nicht gefunden.
> >
> > So I it is a tkinter Problem and I tried this:
> >
> >  >>> import _tkinter
> > Traceback (most recent call last):
> >    File "<stdin>", line 1, in <module>
> > ImportError: DLL load failed while importing _tkinter: Das angegebene
> > Modul wurd
> > e nicht gefunden.
> >
> > How can I go gon, to make it work?
> >
> >
> >
> >
> >
> > *Von:* Thomas Passin <mailto:list1@tompassin.net>
> > *Gesendet:* ‎Donnerstag‎, ‎10‎. ‎November‎ ‎2022 ‎03‎:‎00
> > *An:* python-list@python.org <mailto:python-list@python.org>
> >
> >
> > On 11/9/2022 7:02 PM, darkstone@o2online.de wrote:
> >  > Is there no one who can help?
> >
> > Is there a reason why you tried to install a 32-bit version?  Most
> > personal computers are 64-bit ones these days. Also, I don't remember if
> > you are running Windows or not.
> >
> > One problem for getting help from the list is that there have not been
> > many details given. "Doesn't start" is not helpful.  Are there error
> > messages displayed on the terminal?  How did you try to start it?  Does
> > Python run at all?
> >
> > A Python installation normally includes a batch file that launches idle.
> >    This batch file may not be on your path for one reason or another.  If
> > so, it would not run when you type "idle" at a command line.
> >
> > So the first thing to do is to figure out if you have either the Python
> > program idle.py or idle.pyw, or the batch file idle.bat (for Windows)
> > On Linux Mint, when I typed "idle" at a terminal, I got this message:
> >
> > "Command 'idle' not found, but can be installed with:
> >
> > sudo apt install idle"
> >
> > So that's how you would get it with that flavor of Linux.
> >
> > I'm going to walk through what I would probably do if I had the same
> > problem on Windows (I'm going to assume that you are running Windows).
> > It's a little long to write out, but not really that hard.  Basically,
> > there are only a few steps:
> >
> > 1. Find your Python installation;
> > 2. Look in the installation location to see if the idle program is there;
> > 3.  If it is, try to run it and note any error messages.
> >
> > First you need to find out where your Python installation is located on
> > your system disk. If you don't know, one way to find out is to run the
> > following command in a console window:
> >
> > where /R %USERPROFILE% python.exe
> >
> > You may be surprised that there more several ones that you didn't
> > expect, such as (on my computer):
> >
> >
> C:\Users\tom\AppData\Local\Microsoft\WindowsApps\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\python.exe
> >
> > It seems that Windows has its own Python installation; that's not the
> > one you want.  You are looking for one that looks like this (with your
> > own user name, of course, instead of mine):
> >
> > C:\Users\tom\AppData\Local\Programs\Python\Python310\python.exe
> >
> > Appdata\Local\Programs is where Python3 usually gets installed.  Now we
> > know that I have Python 3.10 at
> > C:\Users\tom\AppData\Local\Programs\Python.  You may be using a
> > different version of Python; if so, just use that version instead.
> >
> > Idle is normally installed in the directory tree under python.  Let's
> > call the top of that tree %PYTH0N%.  On my system, as we see above, that
> > is C:\Users\tom\AppData\Local\Programs\Python\Python310.  Idle should
> be at
> >
> > %PYTHON%\Lib\idlelib
> >
> > Open Windows explorer, and navigate to that directory. If you have that
> > directory, then you should be able to run idle.  If it doesn't exist,
> > That's a problem and needs to be fixed, probably by a fresh install of
> > Python.  If it does, you will see the batch file idle.bat.  Double-click
> > it, and idle should run.  If it does not, see below.
> >
> > That's not a convenient way to run idle time after time.  Either you
> > need to get idle on your path, or perhaps it will be available using the
> > windows Start menu.  Check that out by tapping the Windows key, then
> > typing "idle" (without the quotes).  It may be there.  But look closely,
> > for it may be the idle associated with a different version of Python
> > than the one you want to use.  For example, on my system I have Idle in
> > the Start Menu, but only for Python 3.7 and not Python 3.10 which is the
> > most recent version I have.
> >
> > If you double-clicked on the idle batch file but it failed to run, then
> > you need to get any error messages.  You need to run it from a console
> > so you can see any output.  Open a console. you want to run idle using
> > python and not pythonw (because pythonw will not open a window).  So in
> > the console, type "python " (without quotes but with the space), then
> > the path to the file.
> >
> > The path to the file is a lot to type, and it's easier to just drag the
> > icon for the file (remember, it's idle.py) into the console window.
> > Press the <ENTER> key and idle should run.  If it doesn't, note any
> > error messages.  Then come back here and tell us what they were.
> >
> > It's possible that the "where" program didn't find your python
> > installation.  That would be because it's installed somewhere outside of
> > your user tree, like Program Files.  You can look again in the entire
> > disk (assuming it's on the c: drive, which is almost certainly so):
> >
> > where /R c:\% python.exe
> >
> >  > Von: darkstone@o2online.de
> >  > Gesendet: ‎Freitag‎, ‎4‎. ‎November‎ ‎2022 ‎15‎:‎10
> >  > An: Eryk Sun
> >  > Cc: python-list@python.org
> >  >
> >  >
> >  >
> >  >
> >  >
> >  > Yes, there is always the message “modified successfull”, “installed
> > sucessfully”, but IDLE does’t start. I tried it with the newer Version,
> > too. Ist 3.11.0 for 32 bit, but it also doesn’t work. Do you have other
> > suggetions, that it works?
> >  >
> >  >
> >  >
> >  >
> >  >
> >  >
> >  >
> >  > Von: Eryk Sun
> >  > Gesendet: ‎Donnerstag‎, ‎3‎. ‎November‎ ‎2022 ‎22‎:‎50
> >  > An: darkstone@o2online.de
> >  > Cc: python-list@python.org
> >  >
> >  >
> >  >
> >  >
> >  >
> >  > On 11/3/22, darkstone@o2online.de <darkstone@o2online.de> wrote:
> >  >> Is there a reason, why it is not installed? Its the same check mark
> > in the
> >  >> installer like IDLE…
> >  >
> >  > Did you try what I suggested? Modify the installation to remove the
> >  > tkinter/IDLE component. Then modify it again to select the component
> >  > to be reinstalled. Also, try to repair the installation. This may
> >  > reset any DLLs or extension modules that were missing or that were the
> >  > wrong version.
> >  >
> >  > Ignore the suggestion from Nithish to install tkinter via pip. tkinter
> >  > is part of the standard library and cannot be installed via pip. There
> >  > is no tkinter package on the Python package index (pypi.org).
> >
> > --
> > https://mail.python.org/mailman/listinfo/python-list
> >
>


Click here to read the complete article
1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor