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:mime-version:references:in-reply-to:from:date :message-id:subject:to:content-type; q=dns; s=default; b=AlgJh/9 2RiVImPi2fAHH7zIoE71cjSXQG0EBQ39NxLtktCKMMYmT7Qyi0XIRORnP24s+uqL fXSUwHLhSuAR2R87ivZAmdLiKVPvGYgfqz7tJGukICq42MRSF3WZd6Dk2NIRQeM2 eUxvaGzTnP3Kx9S17/C4uSpkiNRVYXBOVVuo= 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:mime-version:references:in-reply-to:from:date :message-id:subject:to:content-type; s=default; bh=F674OxOxrwhCp DIs80WQzb4lX5Q=; b=V31sgHCgBvZRxFJW0hRsxYHLKNMgkmQ8jcCc10nG6Oxid hx8HIWGuSV0nnehfxSPUvi24cgenvzgx9Anyz/4vtnDjwaYpaRfueK+os+ssPQ4/ TT5wCKcQL2pmYp1HozjPUSLGFp9wuzE7ZQ5hETRjhDjTkDpvQiNeInGsymPxpc= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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=0.3 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,FROM_LOCAL_NOVOWEL,HK_RANDOM_ENVFROM,HK_RANDOM_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=no version=3.3.1 spammy=canada, Canada, calgary, Calgary X-HELO: mail-qv1-f44.google.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=MSh77qRQWCzOHNplqF3G+ecYACRrLXaeCk0cB5NnsDo=; b=n2Akw6uTtzTcE8jURpShfcB86jl4usgeQnv52GHCeEeY2juUDEupJjDeYN1IgzPDu0 WUl7lh7gl4FGJ2lnOc7eyaqKiKveKzUeaWkDLSLpZH/kmep4/fW/3gSrMlVh/njXojre cBtxFOM33efvWc3bN0HYSQdrG5EKr2CWBS9tDR9R2FEK86ROcxrcV7ByvHMpTgKcWXcw ULrUlS6lGbv2/IRtm1eP95XlFttvFwgKQyUX/MkM/Cral4yl0O06RmogFVhGpqlQqYHI aNSL/rwTmTGVR1mMgPv/gL9xoxYZ07KAO9j/S954jaTR+b1WH7WxteLLQ/kIzKPdbhyE t13g== MIME-Version: 1.0 References: In-Reply-To: From: Doug Henderson Date: Tue, 21 Jan 2020 02:33:52 -0700 Message-ID: Subject: Re: Getting Python on Windows points USER_HOME To: cygwin Content-Type: text/plain; charset="UTF-8" X-IsSubscribed: yes On Mon, 20 Jan 2020 at 17:08, R Steiger <> wrote: > > Having installed the latest Cygwin-built Python distro (3.8.1), it thinks user-site is C:\Users\\AppData\Roaming ... The latest python3 available via cygwin setup on 2020-01-21 is $ python3.8 -V Python 3.8.0b4 $ ls -l /usr/bin/python*.exe -rwxr-xr-x 1 Admin None 9.1K Mar 20 2019 /usr/bin/python2.7.exe* -rwxr-xr-x 1 Admin None 9.6K Jul 21 2019 /usr/bin/python3.5m.exe* -rwxr-xr-x 1 Admin None 9.6K Jul 21 2019 /usr/bin/python3.6m.exe* -rwxr-xr-x 1 Admin None 9.1K Jul 21 2019 /usr/bin/python3.7m.exe* -rwxr-xr-x 1 Admin None 9.1K Sep 15 13:58 /usr/bin/python3.8.exe* If you are running 3.8.1, as of today, you must have built it yourself, or you are running the windows version of python. You can check this by executing $ which python3.8 /usr/bin/python3.8 If your python is in a directory outside the /usr/bin tree, you are not running the cygwin version of python. When running cygwin, my path looks like this: $ echo $PATH /home/Doug/bin:/home/Doug/local/bin:/usr/local/bin:/usr/bin:/usr/lib/lapack:/bin If you have any windows folders in your path, they should (must) follow these folders. I set CYGWIN_NOWINPATH=1 in my system environment variables, and then append only those windows folders that I need to run specific windows apps. > I've munged Lib/site.py and sysconfig.py to set base = "~" when os.name == "nt", but this doesn't do the trick. What am I missing? These are not necessary, and may have damaged your python 3.8.1 for windows install. I suggest you undo these changes, or better yet reinstall python 3.8.1 for windows. HTH, Doug -- Doug Henderson, Calgary, Alberta, Canada - from gmail.com -- 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