Re: Problems with IDLE in Windows 8.1 and installer x86 Version 3.10.8
darkstone at o2online.de
darkstone at o2online.de
Mon Nov 14 07:31:32 EST 2022
Dear list,
>>So please check that you are running the right version of Python when
>>you type "python".
If i type “python”, it is
C:\>python -V
Python 3.11.0
Von: Thomas Passin
Gesendet: Sonntag, 13. November 2022 16:18
An: darkstone at o2online.de
On 11/13/2022 9:32 AM, Thomas Passin wrote:
> When you ran "python -V", the current directory was the top-level Python
> directory. So the Python version would automatically have been the same
> as that directory's Python, that is, 3.11.
>
> When you ran the idlelib self test, you may have been in a different
> directory, and so a different version of Python might possible have
> been running.
To illustrate this point, on my system:
C:\Users\tom>python -V
Python 3.9.9
but
C:\Users\tom>py -V
Python 3.10.4
With the "py" script, I can run 3.9x this way:
py -3.9 -V
Python 3.9.9
and also:
C:\Users\tom>py -3.7 -V
Python 3.7.9
So please check that you are running the right version of Python when
you type "python".
More information about the Python-list
mailing list