[Debian-med-packaging] Bug#999556: cwltool is missing the dependency on python3-distutils
Anne
anneluesink at live.nl
Fri Nov 12 13:29:02 GMT 2021
Package: cwltool
Version: 3.0.20210124104916-3
Severity: important
X-Debbugs-Cc: anneluesink at live.nl
Dear Maintainer,
I was trying to run the cwltool and I encountered the error below (cannot import name 'spawn' from 'distutils').
I'm using WSL2 and Debian, a fresh install. The problem was fixed by installing python3-distutils.
anne at ASUS-Anne:/mnt/c/Users$ cwltool
Traceback (most recent call last):
File "/usr/bin/cwltool", line 33, in <module>
sys.exit(load_entry_point('cwltool==3.0.20210124104916', 'console_scripts', 'cwltool')())
File "/usr/bin/cwltool", line 25, in importlib_load_entry_point
return next(matches).load()
File "/usr/lib/python3.9/importlib/metadata.py", line 77, in load
module = import_module(match.group('module'))
File "/usr/lib/python3.9/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 790, in exec_module
File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
File "/usr/lib/python3/dist-packages/cwltool/main.py", line 49, in <module>
from . import command_line_tool, workflow
File "/usr/lib/python3/dist-packages/cwltool/command_line_tool.py", line 42, in <module>
from .docker import DockerCommandLineJob
File "/usr/lib/python3/dist-packages/cwltool/docker.py", line 11, in <module>
from distutils import spawn
ImportError: cannot import name 'spawn' from 'distutils' (/usr/lib/python3.9/distutils/__init__.py)
-- System Information:
Debian Release: 11.1
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 5.10.16.3-microsoft-standard-WSL2 (SMP w/4 CPU threads)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to C.UTF-8), LANGUAGE=C.UTF-8
Shell: /bin/sh linked to /bin/dash
Init: unable to detect
Versions of packages cwltool depends on:
ii python3 3.9.2-3
ii python3-arcp 0.2.1-3
ii python3-argcomplete 1.8.1-1.5
ii python3-coloredlogs 7.3-2
ii python3-mypy-extensions 0.4.3-2
ii python3-pkg-resources 52.0.0-4
ii python3-prov 1.5.2-2
ii python3-psutil 5.8.0-1
ii python3-pydot 1.4.2-1
ii python3-rdflib 5.0.0-1.1
ii python3-requests 2.25.1+dfsg-2
ii python3-ruamel.yaml 0.16.12-2
ii python3-schema-salad 7.0.20210124093443-1
ii python3-shellescape 3.4.1-4
ii python3-typing-extensions 3.7.4.3-1
Versions of packages cwltool recommends:
ii nodejs 12.22.5~dfsg-2~11u1
Versions of packages cwltool suggests:
ii docker.io 20.10.5+dfsg1-1+b5
-- no debconf information
More information about the Debian-med-packaging
mailing list