public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Marco Atzeri <marco.atzeri@gmail.com>
To: R Steiger <rsteiger@ensemblesoft.net>,
	"cygwin@cygwin.com" <cygwin@cygwin.com>
Subject: Re: Getting Python on Windows points USER_HOME
Date: Tue, 21 Jan 2020 06:31:00 -0000	[thread overview]
Message-ID: <5b4e8b66-49d5-8150-c884-96a2ce3ff84b@gmail.com> (raw)
In-Reply-To: <SN6PR08MB401409DA9017313C1E11544CB70D0@SN6PR08MB4014.namprd08.prod.outlook.com>

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

  reply	other threads:[~2020-01-21  6:31 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-21  0:08 R Steiger
2020-01-21  3:33 ` Marco Atzeri
2020-01-21  5:47   ` R Steiger
2020-01-21  6:31     ` Marco Atzeri [this message]
2020-01-21  6:52       ` Update to "Reporting Guidelines" on the cygwin site David Finnie
2020-01-21  9:03         ` Doug Henderson
2020-01-21  9:34 ` Getting Python on Windows points USER_HOME Doug Henderson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5b4e8b66-49d5-8150-c884-96a2ce3ff84b@gmail.com \
    --to=marco.atzeri@gmail.com \
    --cc=cygwin@cygwin.com \
    --cc=rsteiger@ensemblesoft.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).