7 ms·
Ubuntu 14.04 comes with Python 3.4, but unfortunately, it doesn't bundle the ensurepip module (and a host of others). By the looks of things, the idea was to us
by beaumartinez 12y ago
Ubuntu 14.04 comes with Python 3.4, but unfortunately, it doesn't bundle the ensurepip module (and a host of others). By the looks of things, the idea was to use Ubuntu's own packages instead[1], but it didn't make it in time.
This means that pip being bundled by default—one of Python 3.4 coolest features—is missing. Trying to create a virtualenv using the bundled virtualenv module fails as well. Big mess.[2]
[1] https://launchpad.net/ubuntu/+source/python3.4/3.4.0-2ubuntu1 https://launchpad.net/ubuntu/+source/python3.4/3.4.0-2ubuntu...
[2] https://bugs.launchpad.net/ubuntu/+source/python3.4/+bug/1290847 https://bugs.launchpad.net/ubuntu/+source/python3.4/+bug/129...
- 0161 12y agoThis is a real shame. Python 3.4 and bundled pip support was high on my list of reasons of why I should upgrade to 14.04 sooner rather than later. I think I'll wait now until this is smoothed out.
- duaneb 12y agoHow did they ship this? It's clearly an unfinished release.
- SkyMarshal 12y agoBetter to stick to their bi-annual schedule, even if it means shipping a usable but not-quite-polished release, then polishing it in subsequent months. The previous versions, from 12.04 to 13.10, are more than adequate for anyone who can't risk upgrading to what is effectively a beta or release candidate.
- Mchl 12y agoFrom LTS I'd expect something more than not-quite-polished. Maybe polished-a-bit or slightly-polished.
- otterley 12y agoCustomer: "It doesn't work!" Project manager: "But hey, we shipped on time!"
- vetinari 12y agoI'm sure that the vendor will gladly return the money paid for it.
- waps 12y agoYou mean after the project manager has switched projects and management has voted itself a bonus ? Absolutely.
- wyclif 12y agoThe argument for rolling release in a nutshell.
- otterley 12y agoI prefer the "we bottle no wine before its time" model. It's one of the many reasons I prefer EL distributions to Ubuntu.
- sciurus 12y agoFor more information on how Debian, Fedora, and others are dealing with ensurepip see "Distributions wrestle with pip" at https://lwn.net/Articles/591421/ https://lwn.net/Articles/591421/
- YokoZar 12y agoYes, you still have to apt-get install python3-pip, just like older releases. This doesn't sound like the worst thing in the world though.
- beaumartinez 12y agoExcept even then Python 3.4's bundled virtualenv module is still broken. The omission of the ensurepip module isn't an inconvenience, it breaks Python 3.4 functionality.
- MetaCosm 12y agoIt is a problem, on one set of packages that are a part of a rather large distro, not sure I would consider it a show stopper, just an annoyance. Yes, Python is a mess. But, Python has been a horrific mess for years now, on multiple distros. I just ended up giving up on Python. Distro problems, 2/3 split, GIL and various other buggy nonsense slowly just reduced its value versus other languages.
- pekk 12y agoThis isn't about Python being a mess, it is about an Ubuntu release messing it up. You know there's a problem when you lose important features you'd get with ./configure; make; make install