Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

Depends on how you define "always". :-) -- Larry Wall in <199710211647.JAA17957@wall.org>


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

SubjectAuthor
* Re: Python not showing correct versionThomas Passin
`- Re: Python not showing correct versionmoi

1
Re: Python not showing correct version

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

  copy mid

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

  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: Python not showing correct version
Date: Thu, 30 Mar 2023 13:23:34 -0400
Lines: 35
Message-ID: <mailman.2461.1680201880.20444.python-list@python.org>
References: <CANvxP8M8nPBCm2cehEG1UahP=SoOHiZYpazY_pmXhtUWsOYS6g@mail.gmail.com>
<CANvxP8M89NK+QY2YodnjZmojUMFOnwVSVT27mLgKh-jXgv4AMw@mail.gmail.com>
<614d3168-029c-18f4-a942-8963178d5f48@tompassin.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: news.uni-berlin.de a+Ta+tfjxcayVLBpKiWv9gMFwMQeqv1KPlSstpTHXY+Q==
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=GKaMaYeP;
dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status: OK 0.000
X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; '3.8': 0.05; 'issue.':
0.05; 'python.org.': 0.05; 'installer': 0.09; 'pip.': 0.09;
'received:23.83.212': 0.09; 'received:elm.relay.mailchannels.net':
0.09; 'subject:not': 0.09; 'subject:version': 0.09; 'uninstall':
0.09; 'subject:Python': 0.12; '3.10': 0.16; 'batch': 0.16;
'installed.': 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; 'stuck': 0.16; 'subject:showing':
0.16; 'warning:': 0.16; 'wrote:': 0.16; 'python': 0.16; 'says':
0.17; 'instead': 0.17; 'probably': 0.17; 'to:addr:python-list':
0.20; 'version': 0.23; 'command': 0.23; 'installed': 0.23; 'run':
0.23; 'cannot': 0.25; 'header:User-Agent:1': 0.30; 'am,': 0.31;
'received:10.0': 0.32; 'received:mailchannels.net': 0.32;
'received:relay.mailchannels.net': 0.32; 'but': 0.32; 'there':
0.33; 'able': 0.34; 'header:In-Reply-To:1': 0.34; 'system,': 0.36;
'using': 0.37; 'file': 0.38; 'could': 0.38; 'two': 0.39; 'use':
0.39; 'prompt': 0.39; 'try': 0.40; 'should': 0.40; 'here': 0.62;
'your': 0.64; 'shows': 0.67; 'header:Received:6': 0.67;
'received:64': 0.67; 'located': 0.71
X-Sender-Id: dreamhost|x-authsender|tpassin@tompassin.net
ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1680197016; a=rsa-sha256;
cv=none;
b=erhRP2FykedLBtgl1IvmfopLasYABVJUKY6VpF2ImICldEgWclOBN7OWgTc7G3T5h2sfey
XV36ztwNEGy4vosJN3IgxJKBuVTgwsamfCt+nP4INzpxDmc0MDHp/l9gtTa0m/8j8ojCWA
Dcx5BssHf2FedLuJIwQ76VBRqGCNqSZxhvAJmCG4RnnhUXzwY0OTUT/wEZ+Y8EjSgQO/OL
C9vFfjNsmGr38ZarHEEONlKMa3CWYtiRORiq1W0W1x3UdDdWVGnnLTtxhzXzd/a5dilEaQ
Cy7EHyrXnFEnNOyRR53yQxkKyuvb4Ydj+OSNmaCmxtsAWOi5hFzL/HZUUaE4RA==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed;
d=mailchannels.net; s=arc-2022; t=1680197016;
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=2Ql3oGdqHbppKNlpmw6EF7GOL0tPR3yr19Z8KmBVpBE=;
b=tLnf0FhKaYTZnNp9crhSfEF5z8o3N/bMJrILIlrVN3ppFn9LH+hNsHlqJqC0q32NC6tAgf
Y7AAKZ2FqjZWOVsPJF4wEAFVmFtYxV3xPJLBxIUAACgizlexJEdiMPD+U5nlZuINVpDa2P
31jDmNSF0PW8TKlxNCr3GfW7EZLEZvp6WxK5/3oKlX/J7cKBEmUTrSOjaAZ8bpyw93Cikg
h30lhYV6BPMWrcFR4wdBTqo5EdFLUEzc3ZsZ5DRHd3TU2xMnweTWI3pB28mWLKHDS0IkI6
Q5ulOQsuRWvN2ej5WPgL6ptp1xuKmjJe4c0ZDoq3spwIbiX7g0NkqULwG7am0g==
ARC-Authentication-Results: i=1; rspamd-5468d68f6d-lth6d;
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-Spot-Bubble: 5a037aa30796829e_1680197016679_2924417460
X-MC-Loop-Signature: 1680197016679:3181483769
X-MC-Ingress-Time: 1680197016679
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tompassin.net;
s=dreamhost; t=1680197016;
bh=2Ql3oGdqHbppKNlpmw6EF7GOL0tPR3yr19Z8KmBVpBE=;
h=Date:Subject:To:From:Content-Type:Content-Transfer-Encoding;
b=GKaMaYePieFSDYrUoCd93zpOjkZDTvHsYS3Xt7qSYUPJqYT19KHkqK+OHvsygaSX3
0jezQRv4a3bjnN3PMD4tj6KWt9Pshhu/z5Yz3qZHFB+ZofgPqpk2bCQlH45Hld69Ek
4cOLb4HM6XpwEYWhZ/xC3PBUVJybE4YjtkWVJC0m4E52tdBA+cFgYB5+oDlz68/4/U
g2F4aDU+95vr85tl5GlQjeVPjUQE8xGLDWj4mubHpkZ7Dcft+5xmBl48uCwl3NPaWK
0lBmQXJm+TK2X6tP2scuqP+b5IhQJDjJU81+DW9Sb0LU/zdnYKiuNtdhdFq6pBTFS6
1foD5EntoPpAA==
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.9.0
Content-Language: en-US
In-Reply-To: <CANvxP8M89NK+QY2YodnjZmojUMFOnwVSVT27mLgKh-jXgv4AMw@mail.gmail.com>
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: <614d3168-029c-18f4-a942-8963178d5f48@tompassin.net>
X-Mailman-Original-References: <CANvxP8M8nPBCm2cehEG1UahP=SoOHiZYpazY_pmXhtUWsOYS6g@mail.gmail.com>
<CANvxP8M89NK+QY2YodnjZmojUMFOnwVSVT27mLgKh-jXgv4AMw@mail.gmail.com>
 by: Thomas Passin - Thu, 30 Mar 2023 17:23 UTC

On 3/30/2023 10:17 AM, Sumeet Firodia 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
>>
>> 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.
>>
>> Can you please help me here as my snowpark assignment is stuck because of
>> this issue.

You cannot uninstall Python using pip. It was not installed using it.

You probably should not uninstall Python 3.10.10. There are two
possibilities:

1. The Snowpack programs will work with Python 3.10. Just run them with
"python". This is likely. I notice that its location is unusual, and I
wonder how and why it got installed there.

2. For some reason, you have to use the Python 3.8 installation. Either
find out where it is located on your system, and create a batch file to
run it - you could name it "py38" and type "py38" instead of "python".
Or you may be able to use the "py" launcher. It will be there if Python
was installed using the ordinary Python installer from python.org. You
would type "py -38" instead of "python".

Re: Python not showing correct version

<c78706d0-79fc-42d6-9f33-6bab4ebff419n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.lang.python
X-Received: by 2002:ac8:4d8e:0:b0:3e2:2cba:d87f with SMTP id a14-20020ac84d8e000000b003e22cbad87fmr2207082qtw.3.1680245566896;
Thu, 30 Mar 2023 23:52:46 -0700 (PDT)
X-Received: by 2002:a9d:6c10:0:b0:688:cf52:6e18 with SMTP id
f16-20020a9d6c10000000b00688cf526e18mr8421728otq.4.1680245566603; Thu, 30 Mar
2023 23:52:46 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.python
Date: Thu, 30 Mar 2023 23:52:46 -0700 (PDT)
In-Reply-To: <mailman.2461.1680201880.20444.python-list@python.org>
Injection-Info: google-groups.googlegroups.com; posting-host=2a02:1210:689b:7a00:3014:4bae:8d5:a82d;
posting-account=ung4FAoAAAC46zhHJ0Nsnuox7M5gDvs_
NNTP-Posting-Host: 2a02:1210:689b:7a00:3014:4bae:8d5:a82d
References: <CANvxP8M8nPBCm2cehEG1UahP=SoOHiZYpazY_pmXhtUWsOYS6g@mail.gmail.com>
<614d3168-029c-18f4-a942-8963178d5f48@tompassin.net> <CANvxP8M89NK+QY2YodnjZmojUMFOnwVSVT27mLgKh-jXgv4AMw@mail.gmail.com>
<mailman.2461.1680201880.20444.python-list@python.org>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <c78706d0-79fc-42d6-9f33-6bab4ebff419n@googlegroups.com>
Subject: Re: Python not showing correct version
From: wxjmfa...@gmail.com (moi)
Injection-Date: Fri, 31 Mar 2023 06:52:46 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1983
 by: moi - Fri, 31 Mar 2023 06:52 UTC

py.exe : a false good idea.

PS C:\humour> py38.bat
Python 3.8.10 (tags/v3.8.10:3d8993a, May 3 2021, 11:34:34) [MSC v.1928 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> ^Z

PS C:\humour> p38.ps1 -c "print('999')"
999

PS C:\humour> py310.bat --version
Python 3.10.9

PS C:\humour> p310.ps1
Python 3.10.9 (tags/v3.10.9:1dd9be6, Dec 6 2022, 20:01:21) [MSC v.1934 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> ^Z

PS C:\humour> py311 -c "print('embeded version')"
embeded version

PS C:\humour>

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor