Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

It is easier to change the specification to fit the program than vice versa.


devel / comp.lang.python / Re: Python not showing correct version

SubjectAuthor
o Re: Python not showing correct versionBarry Scott

1
Re: Python not showing correct version

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

  copy mid

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

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!not-for-mail
From: barry@barrys-emacs.org (Barry Scott)
Newsgroups: comp.lang.python
Subject: Re: Python not showing correct version
Date: Fri, 31 Mar 2023 09:48:55 +0100
Lines: 82
Message-ID: <mailman.2468.1680252547.20444.python-list@python.org>
References: <CANvxP8M8nPBCm2cehEG1UahP=SoOHiZYpazY_pmXhtUWsOYS6g@mail.gmail.com>
<CANvxP8M89NK+QY2YodnjZmojUMFOnwVSVT27mLgKh-jXgv4AMw@mail.gmail.com>
<D26A4D1C-EF05-4C9D-9E52-8DD3148FCA4F@barrys-emacs.org>
<CANvxP8PNFGFx7x7nSH-DyrCD+1F7=fH-aGjMPm1uPWnqFY7J4g@mail.gmail.com>
<CF613B70-7017-4CF7-8B37-3F71E1CFBB75@barrys-emacs.org>
Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.500.231\))
Content-Type: text/plain;
charset=us-ascii
Content-Transfer-Encoding: quoted-printable
X-Trace: news.uni-berlin.de GjH/6K0+Eo333Y8k2Ag4EA0WAbaCB2BnvnaFkHgs1bug==
Return-Path: <barry@barrys-emacs.org>
X-Original-To: python-list@python.org
Delivered-To: python-list@mail.python.org
Authentication-Results: mail.python.org; dkim=none reason="no signature";
dkim-adsp=none (unprotected policy); dkim-atps=neutral
X-Spam-Status: OK 0.000
X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'this:': 0.03; 'pip': 0.04;
'3.8': 0.05; 'issue.': 0.05; '2023': 0.07; 'mar': 0.07; 'matches':
0.07; 'modules': 0.07; '(python': 0.09; '<>,': 0.09; 'cc:addr
:python-list': 0.09; 'example.': 0.09; 'from:addr:barry': 0.09;
'received:217.70': 0.09; 'received:gandi.net': 0.09;
'received:mail.gandi.net': 0.09; 'subject:not': 0.09;
'subject:version': 0.09; 'uninstall': 0.09; 'subject:Python':
0.12; 'cc:no real name:2**0': 0.14; 'url:mailman': 0.15; '3.10':
0.16; '>>>>': 0.16; 'barry': 0.16; 'from:addr:barrys-emacs.org':
0.16; 'from:name:barry scott': 0.16; 'installed.': 0.16;
'installed:': 0.16; 'message-id:@barrys-emacs.org': 0.16;
'python.org,': 0.16; 'stuck': 0.16; 'subject:showing': 0.16;
'use:': 0.16; 'warning:': 0.16; 'wrote:': 0.16; 'python': 0.16;
'says': 0.17; 'helvetica;': 0.19; 'installing': 0.19; 'thu,':
0.19; 'cc:addr:python.org': 0.20; 'issue': 0.21; 'version': 0.23;
'command': 0.23; 'installed': 0.23; 'url-ip:188.166.95.178/32':
0.25; 'url-ip:188.166.95/24': 0.25; 'url:listinfo': 0.25;
'cc:2**0': 0.25; 'url-ip:188.166/16': 0.25; '>>>': 0.28;
'dir="ltr"': 0.31; 'url-ip:188/8': 0.31; 'program': 0.31; 'but':
0.32; '0);': 0.33; 'rgb(0,': 0.33; 'windows': 0.34; 'able': 0.34;
'header:In-Reply-To:1': 0.34; 'running': 0.34; 'trying': 0.35;
'this.': 0.37; 'thanks': 0.38; 'list': 0.39; 'use': 0.39;
'prompt': 0.39; 'program.': 0.40; 'try': 0.40; 'font-family:':
0.60; 'to:none': 0.60; 'search': 0.61; 'method': 0.61; 'none;':
0.62; 'python.org': 0.62; 'here': 0.62; 'font-weight:': 0.62;
'0px;': 0.63; 'text-indent:': 0.64; 'wish': 0.66; 'normal;': 0.66;
'shows': 0.67; 'received:217': 0.67; 'refers': 0.69; 'scott':
0.84; 'steps.': 0.84; 'proceed': 0.88; '400;': 0.89; '13px;':
0.91; 'none;">': 0.91
In-Reply-To: <CANvxP8PNFGFx7x7nSH-DyrCD+1F7=fH-aGjMPm1uPWnqFY7J4g@mail.gmail.com>
X-Mailer: Apple Mail (2.3731.500.231)
X-Content-Filtered-By: Mailman/MimeDel 2.1.39
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: <CF613B70-7017-4CF7-8B37-3F71E1CFBB75@barrys-emacs.org>
X-Mailman-Original-References: <CANvxP8M8nPBCm2cehEG1UahP=SoOHiZYpazY_pmXhtUWsOYS6g@mail.gmail.com>
<CANvxP8M89NK+QY2YodnjZmojUMFOnwVSVT27mLgKh-jXgv4AMw@mail.gmail.com>
<D26A4D1C-EF05-4C9D-9E52-8DD3148FCA4F@barrys-emacs.org>
<CANvxP8PNFGFx7x7nSH-DyrCD+1F7=fH-aGjMPm1uPWnqFY7J4g@mail.gmail.com>
 by: Barry Scott - Fri, 31 Mar 2023 08:48 UTC

> On 31 Mar 2023, at 09:33, Sumeet Firodia <ssfirodia@gmail.com> wrote:
>
> Thanks Barry.
>
> One more thing is that pip --version also refers to python 3.10
>
> C:\Users\admin>pip --version
> pip 23.0.1 from C:\Users\admin\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\pip (python 3.10)

Use this command to ensure that pip matches the python you wish to use:

py -3.8 -m pip --version

Barry

>
> The issue here is I am trying to use snowpark for which I need python 3.8 but because of this I am not able to proceed with next steps.
>
> Thanks
> Sumeet
>
> On Thu, 30 Mar 2023 at 22:45, Barry Scott <barry@barrys-emacs.org <mailto:barry@barrys-emacs.org>> wrote:
>>
>>
>>> On 30 Mar 2023, at 15:17, Sumeet Firodia <ssfirodia@gmail.com <mailto:ssfirodia@gmail.com>> wrote:
>>>
>>>>
>>>> Hi Team,
>>>>
>>>> I have installed Python 3.8 for Snowpark but when I check the version in
>>>> command prompt it shows me Python 3.10.10.
>>>>
>>>> C:\Users\admin>python --version
>>>> Python 3.10.10
>>
>> Try this:
>>
>> py -3.8
>>
>> And this to list all version of python installed:
>>
>> py -0
>>
>>
>>>>
>>>> Also when I try to uninstall 3.10 it says no such version is installed.
>>>>
>>>> C:\Users\admin>pip uninstall python 3.10.10
>>>> WARNING: Skipping python as it is not installed.
>>>> WARNING: Skipping 3.10.10 as it is not installed.
>>
>> PIP is for installing python modules not the python program.
>> The python program is installed by running the .exe that you get from python.org <http://python.org/>, for example.
>> Use the standard Windows method to uninstall a program.
>> Search the web for "windows uninstall software" if you are not sure how to do this.
>>
>> Barry
>>
>>>>
>>>> Can you please help me here as my snowpark assignment is stuck because of
>>>> this issue.
>>>>
>>>> Thanks
>>>> Sumeet
>>>>
>>>>
>>> --
>>> https://mail.python.org/mailman/listinfo/python-list


devel / comp.lang.python / Re: Python not showing correct version

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor