public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Friedrich Romstedt <friedrichromstedt@gmail.com>
To: cygwin@cygwin.com
Subject: virtualenv 20.2.2-1 dependencies: filelock and distlib
Date: Mon, 9 Aug 2021 18:37:10 +0200	[thread overview]
Message-ID: <CAN06=CwndQ6nBYJGbCwW3OrMLLnDxwh6bEnqNm42eHhQ_i-d8g@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1078 bytes --]

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

[-- Attachment #2: a02 filelock missing.txt --]
[-- Type: text/plain, Size: 1122 bytes --]

Traceback (most recent call last):
  File "/usr/lib/python3.8/runpy.py", line 185, in _run_module_as_main
    mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
  File "/usr/lib/python3.8/runpy.py", line 144, in _get_module_details
    return _get_module_details(pkg_main_name, error)
  File "/usr/lib/python3.8/runpy.py", line 111, in _get_module_details
    __import__(pkg_name)
  File "/usr/lib/python3.8/site-packages/virtualenv/__init__.py", line 3, in <module>
    from .run import cli_run, session_via_cli
  File "/usr/lib/python3.8/site-packages/virtualenv/run/__init__.py", line 6, in <module>
    from ..app_data import make_app_data
  File "/usr/lib/python3.8/site-packages/virtualenv/app_data/__init__.py", line 12, in <module>
    from .read_only import ReadOnlyAppData
  File "/usr/lib/python3.8/site-packages/virtualenv/app_data/read_only.py", line 3, in <module>
    from virtualenv.util.lock import NoOpFileLock
  File "/usr/lib/python3.8/site-packages/virtualenv/util/lock.py", line 10, in <module>
    from filelock import FileLock, Timeout
ModuleNotFoundError: No module named 'filelock'

[-- Attachment #3: a03 distlib missing.txt --]
[-- Type: text/plain, Size: 47 bytes --]

ModuleNotFoundError: No module named 'distlib'

             reply	other threads:[~2021-08-09 16:37 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-09 16:37 Friedrich Romstedt [this message]
2021-08-10  9:30 ` Russell VT
2021-08-13 11:38   ` Friedrich Romstedt

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='CAN06=CwndQ6nBYJGbCwW3OrMLLnDxwh6bEnqNm42eHhQ_i-d8g@mail.gmail.com' \
    --to=friedrichromstedt@gmail.com \
    --cc=cygwin@cygwin.com \
    /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).