Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

6 May, 2024: The networking issue during the past two days has been identified and fixed.


devel / comp.lang.python / Python install failing. Install log is available.

SubjectAuthor
o Python install failing. Install log is available.jan

1
Python install failing. Install log is available.

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

  copy mid

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

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!news.uzoreto.com!fu-berlin.de!uni-berlin.de!not-for-mail
From: rtm4...@googlemail.com (jan)
Newsgroups: comp.lang.python
Subject: Python install failing. Install log is available.
Date: Thu, 20 May 2021 12:06:08 +0100
Lines: 52
Message-ID: <mailman.255.1621528732.3087.python-list@python.org>
References: <CADJx9LfEucseiAwHyfyq5VM8u1L4RE9XiNRxUK6eCSaHiHDw0A@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
X-Trace: news.uni-berlin.de Nlx5LRLcbfQq9FP9E9tCQQawo/BXgjzOy5ampMPQR29Q==
Return-Path: <rtm443x@googlemail.com>
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=googlemail.com header.i=@googlemail.com header.b=j9599JHF;
dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status: OK 0.010
X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'pip': 0.04;
'subject:install': 0.05; 'from:addr:googlemail.com': 0.09;
'info,': 0.09; 'obviously': 0.09; 'typically': 0.09;
'subject:Python': 0.12; 'log': 0.12; '"add': 0.16; '.py': 0.16;
'ideal.': 0.16; 'privileges.': 0.16; 're-running': 0.16;
'subject:Install': 0.16; 'python': 0.16; 'admin': 0.20;
'installing': 0.20; 'option': 0.21; 'python,': 0.21; "i've": 0.22;
'install': 0.22; 'downloading': 0.23; "what's": 0.23; 'to:addr
:python-list': 0.23; 'command': 0.24; 'run': 0.24; 'depends':
0.26; 'seems': 0.26; 'tried': 0.26; 'publicly': 0.27; 'sensitive':
0.27; 'environment': 0.28; 'but': 0.31; 'attach': 0.32;
'received:209.85.214': 0.32; 'message-id:@mail.gmail.com': 0.33;
'using': 0.33; 'server': 0.33; 'setting': 0.34;
'received:google.com': 0.34; 'request': 0.35; 'trying': 0.36;
'path': 0.37; "that's": 0.37; 'users': 0.37; 'really': 0.37;
'received:209.85': 0.38; 'file': 0.38; "it's": 0.38;
'received:209': 0.38; 'going': 0.38; 'hi,': 0.39; 'build': 0.40;
'normal': 0.60; 'simply': 0.62; 'worked': 0.63; '2016': 0.71;
'subject:. ': 0.76; 'skip:f 20': 0.76; 'association': 0.78;
'*for': 0.84; 'added.': 0.84; 'install.': 0.84; 'users*': 0.84;
'fresh': 0.91
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=googlemail.com; s=20161025;
h=mime-version:from:date:message-id:subject:to;
bh=4T0sOzghuLtLCWjE6m/SB+llENpSQvRKGRD/QNhVbyI=;
b=j9599JHFZ+fg/yr8hARj8x1uMLBvFfXNiBPhLZJQ6D9HawS03PS2ZF/sRhgmr4hhtR
WsScjx+jDGRxH1YnxWZWfClVKAtYsELvu3ekcAkd6L5K+EeUnpupe0xkELrNAT++EvtP
dz8ByoBa8GVI0RV0UGfkbEby3C0x4unxKpBnJP15KI2MPT6W34WTCrgBM2IWsG1fAjA3
qHoA/NmdioN+px9ORqQR9Rf60ZxicP2Z6QhLGK0G3MnOgQ4KJA4lx3rrseTAJww8oS7k
cRyXQbWdYgGcHyAe/awv95odfSVAaKLag/cThxxfacQ5vRf1L2d0cTCv7ANkaP4PAkx2
zO4A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20161025;
h=x-gm-message-state:mime-version:from:date:message-id:subject:to;
bh=4T0sOzghuLtLCWjE6m/SB+llENpSQvRKGRD/QNhVbyI=;
b=KcK5YkCb6g5toSluIrhNsk1o/+xO8Z9FpOL6suUoApWrMc4WFf0rak+L+DEs5P7RIB
9UFbhajvTqihT3YYS/TYOvHL+FRX8KDurtoxeYQnrLwXuisQB1Ssb62km2zj70s98FfS
OiHSWD9WDQcsDdcc9uJY20ZPhzBOE/4f3Z98+EO/qXKZtji5wXWQRazqu1Ntw0XZ1XDX
YpaZMXLR840fndk3EbcU7kBftAqi9iz0gZlthivb+pxesr1FDnu1YTHPeNCkzEKvFobI
KPp4bhhWQS8+/4t1RQ14+QLfsKPa8Hbq0Mja5BLhLaTQNSJb691Libgvx41H6UrBHrn+
JbaQ==
X-Gm-Message-State: AOAM5324z3l5AvfuyFz9PPgMufpe3sBL9LITXGbjlA5IPkwg606sDzUU
EQwSmrkBfJTpKrAo4phoJo5tLunaqSAzzF1CSvbodNjz
X-Google-Smtp-Source: ABdhPJxcPDKim+vLsE+Rzsu9pc+dpwHonL+elzTtEWYi3P65JaulRZ8CpF6FIjIiCBfD7boEksOM6JbN1gyy4CCuME4=
X-Received: by 2002:a17:902:f545:b029:f5:4b82:9cc9 with SMTP id
h5-20020a170902f545b02900f54b829cc9mr5084286plf.68.1621508768777; Thu, 20 May
2021 04:06:08 -0700 (PDT)
X-Mailman-Approved-At: Thu, 20 May 2021 12:38:51 -0400
X-BeenThere: python-list@python.org
X-Mailman-Version: 2.1.34
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: <CADJx9LfEucseiAwHyfyq5VM8u1L4RE9XiNRxUK6eCSaHiHDw0A@mail.gmail.com>
 by: jan - Thu, 20 May 2021 11:06 UTC

Hi,

I've usually had problems installing python, typically pip breaking.

This time it's simply not installing correctly when run as
administrator, and not at all when run as non-administrator.

As administrator, it's not installing for other users as I believe it should.

It's certainly not adding the python path correctly *for all users*
(install option "add python to environment variables"), from a command
console run as admin:

C:\WINDOWS\system32>whoami
antik\administrator

C:\WINDOWS\system32>echo %PATH%
C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program
Files\dotnet\;C:\Program
Files\TortoiseGit\bin;C:\Users\Administrator\AppData\Local\Programs\Python\Python39\Scripts\;C:\Users\Administrator\AppData\Local\Programs\Python\Python39\;C:\Users\Administrator\AppData\Local\Microsoft\WindowsApps;C:\Users\Administrator\.dotnet\tools

It's there, but from a non-admin console (I work just a normal user):

C:\Users\jan>whoami
antik\jan

C:\Users\jan>echo %path%
C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program
Files\dotnet\;C:\Program
Files\TortoiseGit\bin;C:\Users\jan\AppData\Local\Microsoft\WindowsApps;C:\Users\jan\AppData\Local\Programs\Git\cmd

So no python path added.

When install is run as non-administrator it seems to fail outright due
to lack of privileges. The install log for this non-admin is
available on request (I'd rather not attach it as it contain have
sensitive info, but can post it publicly if really wanted. It's 60K).

I tried elevating my non-admin account to admin then re-running the
python installer, it broke.

Trying to reinstall it has now lost all associations with the .py
extension. I don't know what's going on.

My build depends on python and obviously that's failing now. I've
worked around it by downloading and unzipping python embedded, setting
the file association and hardcoding file paths, but that's certainly
not ideal.

Any thoughts?

Using python-3.9.5-amd64.exe, OS is win 2016 server eval, fresh install.

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor