← Back to team overview

touch-packages team mailing list archive

[Bug 1290847] Re: pyvenv fails due to mising ensurepip module

 

> I don't think the installation by default would be a good idea.
> This is distro land, and I think we should promote using the distro packages.
> People wanting to install venv and pip know how to do this.
But pyvenv is, since release 3.4, part of the Python standard library. It's not a separated tool or something like that. It's like if the Python os module is shipped in a separated package, and users must install it before importing it in a program.
And I think that, for a module which is meant to be in the standard library, "but on Ubuntu you should install the python3-venv package before" isn't a great thing, is it?

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to python3-defaults in
Ubuntu.
https://bugs.launchpad.net/bugs/1290847

Title:
  pyvenv fails due to mising ensurepip module

Status in python3-defaults package in Ubuntu:
  Fix Released
Status in python3.4 package in Ubuntu:
  Fix Released
Status in python3.4 package in Debian:
  Fix Released

Bug description:
  Hello,

  I noticed the following

  # fails
  python3.4 -m venv --clear python-venv
  Error: Command '['.../external/python-venv/bin/python3.4', '-Im', 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 1

  # works, but no pip
  python3.4 -m venv --clear --without-pip python-venv

  Thank you

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python3-defaults/+bug/1290847/+subscriptions