virtualenv 20.2.2-1 dependencies: filelock and distlib
Friedrich Romstedt
friedrichromstedt@gmail.com
Mon Aug 9 16:37:10 GMT 2021
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
-------------- next part --------------
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'
-------------- next part --------------
ModuleNotFoundError: No module named 'distlib'
More information about the Cygwin
mailing list