Package: python3-virtualenv Version: 15.1.0+ds-1.1 Severity: important Dear Maintainer,
mybe I miss the obvious, but running "virtualenv" no longer works for me: # virtualenv -p /usr/bin/python3.6 ./py36 -v ... > Traceback (most recent call last): > File "/usr/lib/python3/dist-packages/virtualenv.py", line 2375, in <module> > main() > File "/usr/lib/python3/dist-packages/virtualenv.py", line 724, in main > symlink=options.symlink) > File "/usr/lib/python3/dist-packages/virtualenv.py", line 992, in > create_environment > download=download, > File "/usr/lib/python3/dist-packages/virtualenv.py", line 922, in > install_wheel > call_subprocess(cmd, show_stdout=False, extra_env=env, stdin=SCRIPT) > File "/usr/lib/python3/dist-packages/virtualenv.py", line 817, in > call_subprocess > % (cmd_desc, proc.returncode)) > OSError: Command /home/phahn/py36/bin/python3.6 - setuptools pkg_resources > pip wheel failed with error code 1 /usr/lib/python3/dist-packages/virtualenv.py:876 > SCRIPT = textwrap.dedent(""" ... > import pip ... > sys.exit(pip.main(args)) >>> import pip >>> pip.__version__ '18.1' >>> pip.main Traceback (most recent call last): File "<stdin>", line 1, in <module> AttributeError: module 'pip' has no attribute 'main' According to <https://github.com/pypa/pip/issues/5221> pip.main is an internal details and should not be called as it is not part of the API. If I add '--no-wheel --no-pip --no-setuptools' to the command line, the command at least does not exit with an error. According to <https://pypi.org/project/virtualenv/> version 16.1.0 fixes it: > upgrade pip from 10.0.1 to 18.1 -- System Information: Debian Release: buster/sid APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 4.17.0-3-amd64 (SMP w/2 CPU cores) Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE=de_DE.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages python3-virtualenv depends on: ii python-pip-whl 18.1-2 ii python3 3.7.1-2 ii python3-distutils 3.7.1-1 ii python3-pkg-resources 40.6.2-1 python3-virtualenv recommends no packages. python3-virtualenv suggests no packages. -- no debconf information