Path: csiph.com!news.swapon.de!fu-berlin.de!uni-berlin.de!not-for-mail From: Laura Creighton Newsgroups: comp.lang.python Subject: Re: Python 3 virtualenvs Date: Sun, 29 Nov 2015 15:12:20 +0100 Lines: 29 Message-ID: References: <1mekmrs.1xn5n6010b7a1xN%real-not-anti-spam-address@apple-juice.co.uk> <1mem3lu.1327fd91org8tkN%real-not-anti-spam-address@apple-juice.co.uk> <8737vp0zh9.fsf@metapensiero.it> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Trace: news.uni-berlin.de HmTzJ0xlgg8RyrEiqPQyNA6iwmzruk9Hh6CuWsY6OeYw== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.001 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'yet.': 0.03; 'subject:Python': 0.05; 'error:': 0.05; 'exit': 0.07; 'cc:addr :python-list': 0.09; 'deprecated,': 0.09; 'received:openend.se': 0.09; 'received:theraft.openend.se': 0.09; 'python': 0.10; '>to': 0.16; 'cc:addr:lac': 0.16; 'cc:addr:openend.se': 0.16; 'from:addr:lac': 0.16; 'from:addr:openend.se': 0.16; 'from:name:laura creighton': 0.16; 'message-id:@fido.openend.se': 0.16; 'received:fido': 0.16; 'received:fido.openend.se': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'laura': 0.18; '2015': 0.20; 'cc:addr:python.org': 0.20; 'preferred': 0.20; 'cc:2**1': 0.22; 'do.': 0.22; 'meant': 0.22; 'all.': 0.24; 'url:bugs': 0.24; 'install': 0.25; "doesn't": 0.26; 'appear': 0.26; 'command': 0.26; 'turns': 0.27; "skip:' 10": 0.28; 'fine': 0.28; 'away.': 0.29; 'if,': 0.29; 'received:se': 0.29; 'cc:no real name:2**1': 0.29; 'that.': 0.30; 'plans': 0.32; 'returned': 0.32; 'url:python': 0.33; 'configured': 0.35; 'nov': 0.35; "isn't": 0.35; 'but': 0.36; 'there': 0.36; 'url:org': 0.36; 'subject:: ': 0.37; 'charset:us-ascii': 0.37; 'seem': 0.37; 'doing': 0.38; 'why': 0.39; 'sure': 0.39; 'your': 0.60; 'header:Message-Id:1': 0.61; 'personally': 0.61; 'course': 0.62; 'different': 0.63; 'future,': 0.70; 'header:In-reply-to:1': 0.84; 'non-zero': 0.84; 'presumably': 0.84 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=openend.se; s=default; t=1448806344; bh=3bhjHK4jAD+D1XDGBQZfVGHXURJ/kTa03Epa//k3Nnc=; h=To:cc:From:Subject:In-reply-to:References:Date:From; b=iDdGKvM06tSKHKGGDu3Bl30NCgZDqMWsc+OYp1aCK6iiilVoNdUqGjW4DS6f62kBJ rInJXj6ymX0LMxk+ol5shO8/iR/cBKulxtrpMS+tGQ+afcf+/9uwdSglcEdvlMWqhE 7E61GOTlFlWoKH6M/hsTavOidgOsdZiIwHSE53U4= In-reply-to: Comments: In-reply-to Jon Ribbens message dated "Sun, 29 Nov 2015 13:23:19 +0000." Content-ID: <6263.1448806340.1@fido> X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.3.9 (theraft.openend.se [82.96.5.2]); Sun, 29 Nov 2015 15:12:24 +0100 (CET) X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Xref: csiph.com comp.lang.python:99694 In a message of Sun, 29 Nov 2015 13:23:19 +0000, Jon Ribbens writes: >I don't know if, in future, pyvenv will be the way to go and >virtualenv will be deprecated, but either way we do not appear >to be there yet. pyenv is going away. python -m venv is the preferred way to get a venv https://bugs.python.org/issue25154 Of course if you try it, you may get: Error: Command '['/bin/python3.4', '-Im', 'ensurepip', '--upg= rade', '--default-pip']' returned non-zero exit status 1 which turns out to mean: Your Python isn't configured with ensure-pip! ..... Right now, I personally don't know why there is a venv at all. Despite the similarity of names, it doesn't seem to be about doing what virtualenv does. I think it is only meant to be used by people who want to install packages but not site-wide, but I am not sure about that. I don't think there are any plans to give venv the functionality of virtualenv, so presumably there are people who like it just fine the way it is now. They must have very different needs than I do. Laura