Re:Python 2.x vs. 3.x use survey
by dschep on Wednesday December 10, 2014 @01:01PM
(#8730598)
AFAIK -mvenv is still kaput in Ubuntu. I just this instead:
Yes, it'd be way cooler if -mvenv wasn't crippled in Ubuntu, but this still works fine.
[ Parent
| on HN ]
Re:Python 2.x vs. 3.x use survey
by arenaninja on Wednesday December 10, 2014 @01:53PM
(#8730905)
Yea I was doing this until I also ran into a horrible mess later on due to the underlying issue that resulted in a catch 22 (something like pip is broken because venv is broken because pip is broken...). Unfortunately I didn't see [this tweet](https://twitter.com/danilobellini/status/461653494295179264) at that time, or things might have turned out differently
I know this is a bit of a dirty trick, but so far it has worked without problems for me at least:
The issue seems to rise from a missing ensurepip module. I fixed this by just downloading the Python 3.4 sources, unpacking them and copying the unpacked lib/ensurepip/ to /usr/lib/python3.4/ after which python3 -m venv seems to work fine.