delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2025/08/22/12:54:35

DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 57MGsZg82325501
Authentication-Results: delorie.com; dmarc=pass (p=none dis=none) header.from=cygwin.com
Authentication-Results: delorie.com; spf=pass smtp.mailfrom=cygwin.com
DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 57MGsZg82325501
Authentication-Results: delorie.com;
dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=ZHbbwyPJ
X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4F1023851A8E
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1755881674;
bh=1RG98X4j6JfPSRNNl+LBQazvrEylaTeXvPW/H5Vx8i0=;
h=References:In-Reply-To:Date:Subject:To:Cc:List-Id:
List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe:
From:Reply-To:From;
b=ZHbbwyPJuAZr6/nRe8nJtm/4TSCNB4QegMwk2UbgDF9nx3o6myP0Py1OJRm8lEcpH
/jzAPHxggbkm7fDwrdV4oicQVq4/dgZRypZDjAJb7qNihj0Rv5XCRm8X328wEBksBL
tVh5EkySHjqMvQ2ph+wiqcCZRG/N5zz5SYSyI6yQ=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org A859B385840B
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org A859B385840B
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1755881610; cv=none;
b=eZSC8SHlREiqSjFkoIZMT0fdycpPx4HuIj2ZdnA0CGhS4WD2faBARvySe7CI6qvKfexij1Cv2RI4MqmFcTQSvCjIJhiOFisgZtS4Cw5cnqNw1Y0d/Q3E6QtQWWWnD2L+dHrzkPcipXp/79jOvv0N/idN2Fz47K/WfQdGdIB32kE=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
t=1755881610; c=relaxed/simple;
bh=NeLAGk/RO4fTmY5mGun1H7SFyZzASk5m+ANCSfkvdJ8=;
h=DKIM-Signature:MIME-Version:From:Date:Message-ID:Subject:To;
b=Uvmp+x239wdO6pmzzvEGktL+BS/7YybPGBnabPHKLyzFBHJT07+sWtAdxRatZKtmXQrJkPwTBAmWlPspg0LDt5zAy+16JMkArR22kOOfgkwdTPtlNtwzNkejb4TbApwfTuDm0hIZFm1FjBXNCvW+9XM/4WtG5NQyocCrtjnwIpc=
ARC-Authentication-Results: i=1; server2.sourceware.org
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A859B385840B
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20230601; t=1755881608; x=1756486408;
h=cc:to:subject:message-id:date:from:in-reply-to:references
:mime-version:x-gm-message-state:from:to:cc:subject:date:message-id
:reply-to;
bh=3NCayN0/ig/ZrcX3VIk3jR5XP01qSd8CjktoeIzIb48=;
b=YgAd7EHrYAWew/DCvBho8AsdJd+reo+6YDeERDJIgRFsGo3yJ6O8MjQQqskdX4ZOKC
rmmF9TfwEFZD70BPhUEsKbo7v1Mqg1wDHZRUbOmLrINnQZJyc2OaApWAZp+7fL0jTS17
aBLLnW//wjWn29fxgR0Dzh282jlp1FV9lRa9dL2pzX7AfB4EQ5Vpgk6IvKNRZU80MwvF
HSipO5baU71308R09Lq1MDWzSCreP8pIeds1OKTTVqKIAvqWNAL9gafQa2D8zZwPjXN/
FST/Jfwbcicyrlnand5yw6uCxseK5I6YMJ4CdBHBfrAiN1wxKBl2mGXPnRYVyzNjCDXe
yqiA==
X-Gm-Message-State: AOJu0YwtLTA2evB3U2oWGRM2pmxYT7XO2K4mK5StyjiX/VqM92oi17Db
Z4EelYLJyRaO7FAO8qSFqk56ZCefm3AyfuWd4MJnT/Jtte+KBwAcpllb1R/rElC5Q7bLdhl7BwV
y8sa0xQ4t85Uf5pXXhn1scpH8/wzMNO4=
X-Gm-Gg: ASbGnctov7ldG0dXX26OY2iHscnK1amsDRGA5ddvhxw5AM3tYXSSLGciajmyhgIUBzO
7M1cqvtf303DMVP/JohOFYbEna/1Ck1yp3JdchuIQjqNAJOuQ4nERC3Z4mA7pKdM9p5lq0gohLb
B6BUag32DFnTvwGQY5eAUII3eZ3u3NX4rpE1507+529l89egrP8Vg9CnD4RniXqCGVRpTRLHk+6
5c/FyM=
X-Google-Smtp-Source: AGHT+IFrDnsP6WX9+2UdweTRTc05ODO2bUkr12xq3VOUjH+TDw0aY8C/ba9EFHKbTb5dCfj9LNJ9yACkj4kDhrdqhs8=
X-Received: by 2002:a05:6512:b8e:b0:55b:81cb:9e5d with SMTP id
2adb3069b0e04-55f0d3870d8mr1328460e87.52.1755881607607; Fri, 22 Aug 2025
09:53:27 -0700 (PDT)
MIME-Version: 1.0
References: <CAGB_HuTF58Aj0rdFLayP3uBMrMAvBnjy8mLSSP7umL+opbeU+A AT mail DOT gmail DOT com>
In-Reply-To: <CAGB_HuTF58Aj0rdFLayP3uBMrMAvBnjy8mLSSP7umL+opbeU+A@mail.gmail.com>
Date: Fri, 22 Aug 2025 12:53:16 -0400
X-Gm-Features: Ac12FXypYu9I-35w-1QgQAtOpVmkJXEQJa0dMC-Tot-sKg5zjHSUzUp8HRhxQC4
Message-ID: <CACggcZS6bh_NRUix+Ry0tD5gU=oX6c+DZXqkLfUwydhqBJS15w@mail.gmail.com>
Subject: Re: Irritating artifacts of the python variety
To: Soren <somian08 AT gmail DOT com>
Cc: cygwin AT cygwin DOT com
X-Content-Filtered-By: Mailman/MimeDel 2.1.30
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.30
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Dave Trombley via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Dave Trombley <dave DOT trombley AT gmail DOT com>
Sender: "Cygwin" <cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 57MGsZg82325501

Hi Soren!

   You will likely break things if you link the system 'pip' like that, the
tools installed on the system are not in the default path for a reason.

   Please strongly consider using virtual environments when doing any sort
of Python development - this is near universal / standard now.
   This way, you will be running the tools (including pip) located in your
venv, and not the site-installed tools.

   Otherwise, your python repositories themselves will be site-wide, and
you will run into problems with dependency conflicts and other nasty
python-specific CI issues.

   See https://python.land/virtual-environments/virtualenv and
https://docs.python.org/3/library/venv.html for more.

   Best of luck!


On Fri, Aug 22, 2025 at 12:39 PM Soren via Cygwin <cygwin AT cygwin DOT com> wrote:

> Hello Cygwinistas,
>
> This is especially directed to the maintainer of the python
> tool/module  "pip" on cygwin, who may or may not be the maintainer of
> python as a whole. I'm not very skilled with python yet. I do,
> however, have an observation to make (or call it a complaint).  I went
> to install a python package (not one carried on cygwin): html2text.
> The install command is `pip install html2text'. I didn't seem to have
> "pip" installed (notice the "seem" por favor). So I started
> setup-x86_64 and worked through the process of installing "pip". I am
> working with python3 so I tried to select a "pip" that corresponded
> with it.
>
> But after installing it I still didn't have the "pip" command. Finally
> I used cygcheck to check for what files are installed by setup for
> that package, let's see:  cygcheck -f /usr/bin/pip3.12
> python312-pip-25.0.1-2 -- is the package I installed. The package's
> setup does not include installing a command named "pip"!!! It was an
> hours work to figure this out. When I finally understood the simple
> and obvious thing to do: check /usr/bin/ for pips (!), I discovered a
> whole flock of pips lurking in there:
>
> d999db900a30a48b3823c5c31d25e13c *pip   <-- I made a hard link to
> pip3.12 as the md5sums show
> d999db900a30a48b3823c5c31d25e13c *pip3.12
> 45215ed1028f23dee3c6c24aa9824a63 *pip3.6
> d999db900a30a48b3823c5c31d25e13c *pip3
> a22904009720072190a8f73e0dbe6946 *pip3.9
> 58febe00b52b2562415e6949c36d3bf0 *pip2
> 58febe00b52b2562415e6949c36d3bf0 *pip2.7
>
> No offense intended, but why would there be multiple pips left over
> from earlier installations? -- this is just poor attention to detail
> and coupled with the non-obvious absence of a "pip" it is much more
> work than one ought  to have to do.
> --
> Soren 'tino
> He's earthy, he's pithy, he's ...a bit astringent.
> Think of him more as a "topical antiseptic" than as a snack.
>
> --
> Problem reports:      https://cygwin.com/problems.html
> FAQ:                  https://cygwin.com/faq/
> Documentation:        https://cygwin.com/docs.html
> Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple
>

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

- Raw text -


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