delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2020/01/21/01:32:32

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=rGhxce3FeHFC9lNP
OPL/SVEiLzpvCoTpdszciXPI9sRKGs4eM9pr3IP4LrusOlHfFVGMl47fuqGiS6PG
STNqvJ86sCh+kf/kNyMwQJJ/fBxls2kqxcEFZayEu/ZMkXALks5Oc2l9TeKDYZ9W
gWXui4y43Qsyuq0FQk8HQU35fXY=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=lwCzRhclpDpdzXdR8jaYkW
5TUYg=; b=rZUkgsbr/r0g2JRbnGd+Oz6bcUsExrGQ3oeXHzwrCIXWLZfte++DxA
mtble5ALrsMzetwRdgA1lWaAMlT+6pSE5mz85wMEEhbceDoSJeUR+L/ALbTyqsSN
eIns5uHWDOVpjaPehBF6xkP6vOFtsrZ2Jl16HcX6Y9wlvysbVw2rU=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.1 spammy=Package, thousand
X-HELO: mail-wm1-f54.google.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding; bh=1Wk3veZZ9j7KVJvTnSkjfbnfPE5D9pFfO0lZ+nH5qQE=; b=UHvn1Moh6zuGZKRB6ZBf2tBQYnj9mqqr50u51ro1AohHSmv5Bm1HDGGm264wrBRXoJ 9N2XXSSx7OcQt0KWId41JiYfKNCoGpDvvTzMphvu3HIIHM8ezwQX0bJB0KmAeyldGnPP MP9n+pjiyQfa7DymOKAP1UIOYK4UXEclHi2FB4qVyp5pfw5wRxL4bj+DPxtuh9LGNQ/K SBobKPW7h+Wp/JR8vqlHkvoUEj5AkWQYYw3E6XrwYDSrz2Jlyu9RFP/5f5fUS5UOFzE+ 28cEZ+17EapbA8KUEv1c+2JI+KSsk8OEF+HFe5UGXg1VBllYMs8BsY4G/8M/+C9kz7qU NtsA==
Subject: Re: Getting Python on Windows points USER_HOME
To: R Steiger <rsteiger AT ensemblesoft DOT net>,
"cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
References: <SN6PR08MB40147D5AA5956B0DD858914FB70D0 AT SN6PR08MB4014 DOT namprd08 DOT prod DOT outlook DOT com> <f475d447-74e3-f2f2-68de-8e337209382b AT gmail DOT com> <SN6PR08MB401409DA9017313C1E11544CB70D0 AT SN6PR08MB4014 DOT namprd08 DOT prod DOT outlook DOT com>
From: Marco Atzeri <marco DOT atzeri AT gmail DOT com>
Message-ID: <5b4e8b66-49d5-8150-c884-96a2ce3ff84b@gmail.com>
Date: Tue, 21 Jan 2020 07:31:18 +0100
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1
MIME-Version: 1.0
In-Reply-To: <SN6PR08MB401409DA9017313C1E11544CB70D0@SN6PR08MB4014.namprd08.prod.outlook.com>
X-IsSubscribed: yes

Am 21.01.2020 um 06:47 schrieb R Steiger:
> Hi Marco,
> 
> Thanks for the response.  As you seemed to hint, seems my Python installation was bent: I checked your dir listing against my Cygwin root directory (C:\cygwin64), and found that neither usr/bin nor usr/lib exist (usr/include/python3.8/pyconfig.h does exist). 

Please bottom posting and trim here.

/usr/bin and /usr/lib are cygwin mount to /bin and /lib
they do not exist in Windows tree structure

$ mount
D:/cygwin64/bin on /usr/bin type ntfs (binary,auto)
D:/cygwin64/lib on /usr/lib type ntfs (binary,auto)


  I've made several attempts to do full reinstalls of python3.8, being 
careful to first scrape-off all previously-installed python files 
(including tools, other packages, and those in my Windows USER_HOME and 
on C:), and have yet to succeed in getting it to install in anything 
like the configuration you listed, and get a working Python.
> 
> Looking at C:\cygwin64\var\log\setup.log.full, there are a few thousand lines of the form "Installing file cygfile:///usr/bin/python3.8.exe" (preceded by about the same number of "unlink" + "rmdir" lines), but no indication of where the files are installed on disk.  The installer asks for no additional parameters, so it doesn't seem that I'm failing to provide some required bit of info.

the file list is under /etc/setup/python36.lst.gz (and similar)

you can read directly also with

$ cygcheck -l python36
/usr/bin/libpython3.6m.dll
/usr/bin/pydoc3.6
/usr/bin/python3.6
/usr/bin/python3.6m.exe
/usr/bin/pyvenv-3.6
/usr/include/python3.6m/pyconfig.h
/usr/lib/python3.6/lib-dynload/array.cpython-36m-x86_64-cygwin.dll
/usr/lib/python3.6/lib-dynload/audioop.cpython-36m-x86_64-cygwin.dll
/usr/lib/python3.6/lib-dynload/binascii.cpython-36m-x86_64-cygwin.dll
/usr/lib/python3.6/lib-dynload/cmath.cpython-36m-x86_64-cygwin.dll
....

and verify that all the files exist in their expected location

$ cygcheck -c python36
Cygwin Package Information
Package              Version        Status
python36             3.6.9-1        OK

> I have the following Qs:
> 
> 1. What might I be missing as part of the installation request?
> 2. Is there any way to make the "Installing ..." log lines a bit more verbose, specifically, to provide the installation target directories?  Or is there a standard mapping from the listed "cygfile:///..." path to the target directory?
> 3. Are there any errors that might be getting inserted into the log and not at the beginning or end, so would be hard to catch?  (I'm not seeing any.)
> 
> I've taken at least 4 runs at this wall, with zero successes.
> 
> Thanks,
> 
> -rjs

follow https://cygwin.com/problems.html and provide the
cygcheck.out as ATTACHMENT

Question: why you need Python 3.8 ?
The current default for Cygwin is 3.6.9

Regards
Marco




--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019