delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2021/08/10/05:32:17

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1F57E3951C3A
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1628587935;
bh=6wqYz89I7m+TNr8c7cXa8tmBmULB/jdBlDqEy8SGhaI=;
h=References:In-Reply-To:Date:Subject:To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc:
From;
b=QLwYgXY5ObHfkYQHmXMe27Z9po7XwAgklq+6fuvhVGJ6QTwhbiEEi5rVAg/Q+sJKk
bnKD6w0LIuRK72IIRAXSIVRc1UN8zUhxLVMWLsQDjs5YIjk5hXs0vZJ1kxGzq3jIuG
q5qfAv+H3kz3/Q2e+isiRE07+yCyrwUWGnmefalE=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org A1470385780A
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20161025;
h=x-gm-message-state:mime-version:references:in-reply-to:from:date
:message-id:subject:to:cc;
bh=K0Yz8KKd49/EnbhvbWmOYVDhO7So1qtZ2DLKzYUrcXM=;
b=VFFS4pVMLIrwftgU3ZHtfhqWR+1WN9V2A4BVzLSRu/CgO3g3WTiFu3emntkVE6+Dud
dqtl0HPxz/au3gTwS9LEg++ZmlMZvKOJ64hL19wGGVhUNagRbiT2X+SCVCLGwPbxpe6H
rmJS9pRJ+3jEya9KsdICjMUaHc90iVouCxeGdeM/IsGwi89LSi7uT/npOqnt+dmjTX69
/kLcvkbZ7xpNEBtx/LbzIhwm5tRLqMEBO5EZLGqFdvlSIaaO6qfX9nLXz1l1+N91J8+u
3J+1wUfe+ME0TE5Fq/G6cbiUkBWXSVuGAAoORQMC4tJvPOI2f5Q1NjDt59S9hhKQydhP
ED6w==
X-Gm-Message-State: AOAM533ZQnti/PVIFGtfah8VDV/dgbf2LOYCNVyLW0S3XBJ6Cdb49n9F
PplTEeIQbQkFryMLSPRzOGq50pH/7hQVMTzrs7Y=
X-Google-Smtp-Source: ABdhPJy/D25drEZ+hG3DYQQUcrb0qGqcVWhvl5b/DCTfO5MnX9Ut5324ZK09W/Bvygzkr0dQRRxeD6KVACcAiindcuU=
X-Received: by 2002:a05:6808:1807:: with SMTP id
bh7mr2759233oib.52.1628587852750;
Tue, 10 Aug 2021 02:30:52 -0700 (PDT)
MIME-Version: 1.0
References: <CAN06=CwndQ6nBYJGbCwW3OrMLLnDxwh6bEnqNm42eHhQ_i-d8g AT mail DOT gmail DOT com>
In-Reply-To: <CAN06=CwndQ6nBYJGbCwW3OrMLLnDxwh6bEnqNm42eHhQ_i-d8g@mail.gmail.com>
Date: Tue, 10 Aug 2021 02:30:37 -0700
Message-ID: <CANV2+nWfHaTevL637c-WXdrFQRWHNw2=xxyhde0Bi_yUZ3NzWw@mail.gmail.com>
Subject: Re: virtualenv 20.2.2-1 dependencies: filelock and distlib
To: Friedrich Romstedt <friedrichromstedt AT gmail DOT com>
X-Spam-Status: No, score=-1.6 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, HTML_MESSAGE,
RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS,
TXREP autolearn=ham autolearn_force=no version=3.4.4
X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on
server2.sourceware.org
X-Content-Filtered-By: Mailman/MimeDel 2.1.29
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
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: Russell VT via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Russell VT <russellvt AT gmail DOT com>
Cc: cygwin <cygwin AT cygwin DOT com>
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>

Well, it's been a hot minute since I've used virtualenv, by itself... but,
generally you're going to want to use "mkvirtualenv" and related tools to
create and then access your Python libraries (often under the
projects 'venv' directory).Your mileage may vary, trying to invoke it
directly from the command line with a module argument.

Myself, I tend to like to distance my Python environments from the
Operating System version(s)... and I use pyenv
<https://github.com/pyenv/pyenv> with pyenv-virtualenv
<https://github.com/pyenv/pyenv-virtualenv>, and then provided I have a
decent compiler environment, you can install Python from distribution
(though, full disclosure and in all fairness, I've had a few issues with
non-standard directory locations for things like ffi/cffi (IIRC), when
compiling newer Python versions (though I've not checked, recently).

Hope that helps in some way.



On Mon, Aug 9, 2021 at 9:38 AM Friedrich Romstedt via Cygwin <
cygwin AT cygwin DOT com> wrote:

> Hi there,
>
> This is about a small issue I ran into with using virtualenv-20.2.2-1
> (package name python38-virtualenv) with Python 3.8.10 (package
> python38) in Cygwin (64-bit).
>
> After having installed python38-virtualenv (and its automatically
> picked dependencies), using virtualenv by:
>
>     $ python -m virtualenv <folder>
>
> presented me the output attached as file [a02.txt]. "filelock" is a
> Python package, part of the cygwin package database. Having installed
> it, the same command as above yielded [a03.txt] (attached); there was
> no more output. Having treated the package "distlib" mentioned there
> the same way as "filelock", creating a virtual environment now
> succeeds.
>
> I did some googling:
>
>     site:sourceware.org/pipermail/cygwin virtualenv filelock
>
>     virtualenv filelock cygwin
>
> without substantial results; thus posting here.
>
> Judging from [a02.txt], "filelock" is a *direct* dependency of
> "virtualenv".  I do not know if the same holds for "distlib".
>
> Since I feel that this is a pretty obvious result I am skipping the
> "cygcheck -svr" output here.
>
> Best,
> Friedrich
>
> --
> 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
>


-- 
Russell M. Van Tassell <russellvt AT gmail DOT com>

-- 
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