[Python-modules-team] Bug#894684: python3-virtualenv: missing dependency: python3-distutils ?
Dov Feldstern
dovdevel at gmail.com
Tue Apr 3 09:44:28 BST 2018
Package: python3-virtualenv
Version: 15.1.0+ds-1
Severity: important
Dear Maintainer,
After a recent upgrade, attempts to create a new virtualenv failed as follows:
$ virtualenv
Traceback (most recent call last):
File "/usr/bin/virtualenv", line 11, in <module>
load_entry_point('virtualenv==15.1.0', 'console_scripts', 'virtualenv')()
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 480, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2693, in load_entry_point
return ep.load()
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2324, in load
return self.resolve()
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2330, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/usr/lib/python3/dist-packages/virtualenv.py", line 25, in <module>
import distutils.sysconfig
ModuleNotFoundError: No module named 'distutils.sysconfig'
This was solved for me by installing python3-distutils. Perhaps this should be a required dependency pf python3-virtualenv?
Thanks!
Dov
-- System Information:
Debian Release: buster/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 4.15.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_IL.UTF8, LC_CTYPE=en_IL.UTF8 (charmap=UTF-8), LANGUAGE=en_IL:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
LSM: AppArmor: enabled
Versions of packages python3-virtualenv depends on:
ii python-pip-whl 9.0.1-2
ii python3 3.6.5~rc1-1
ii python3-pkg-resources 39.0.1-1
python3-virtualenv recommends no packages.
python3-virtualenv suggests no packages.
-- no debconf information
More information about the Python-modules-team
mailing list