public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* virtualenv 20.2.2-1 dependencies: filelock and distlib
@ 2021-08-09 16:37 Friedrich Romstedt
  2021-08-10  9:30 ` Russell VT
  0 siblings, 1 reply; 3+ messages in thread
From: Friedrich Romstedt @ 2021-08-09 16:37 UTC (permalink / raw)
  To: cygwin

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-08-13 11:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-09 16:37 virtualenv 20.2.2-1 dependencies: filelock and distlib Friedrich Romstedt
2021-08-10  9:30 ` Russell VT
2021-08-13 11:38   ` Friedrich Romstedt

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