Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #99647
| Path | csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail |
|---|---|
| From | Laura Creighton <lac@openend.se> |
| Newsgroups | comp.lang.python |
| Subject | Re: Python 3 virtualenvs |
| Date | Sat, 28 Nov 2015 02:09:20 +0100 |
| Lines | 40 |
| Message-ID | <mailman.179.1448672987.20593.python-list@python.org> (permalink) |
| References | <1mekmrs.1xn5n6010b7a1xN%real-not-anti-spam-address@apple-juice.co.uk> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset="us-ascii" |
| Content-Transfer-Encoding | quoted-printable |
| X-Trace | news.uni-berlin.de d57h+Kif1nKJGgu0/hrBQAYZSIA+pz0W+B/g4AqY7d3g== |
| Return-Path | <lac@openend.se> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.000 |
| X-Spam-Evidence | '*H*': 1.00; '*S*': 0.00; 'subject:Python': 0.05; 'alias': 0.07; 'nasty': 0.07; 'ugly': 0.07; 'cc:addr:python-list': 0.09; 'mess': 0.09; 'received:openend.se': 0.09; 'received:theraft.openend.se': 0.09; 'python': 0.10; '2.7': 0.13; '>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; 'infinitely': 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; 'url:debian': 0.16; 'laura': 0.18; '2015': 0.20; 'cc:addr:python.org': 0.20; 'cc:2**1': 0.22; "aren't": 0.22; 'seems': 0.23; 'installation': 0.23; 'sat,': 0.23; 'url:bugs': 0.24; "i've": 0.25; 'turns': 0.27; 'away.': 0.29; 'received:se': 0.29; 'ago': 0.29; 'cc:no real name:2**1': 0.29; 'somebody': 0.30; 'url:python': 0.33; 'instead,': 0.33; 'nov': 0.35; 'but': 0.36; 'url:org': 0.36; 'subject:: ': 0.37; 'really': 0.37; 'charset:us-ascii': 0.37; 'wanted': 0.37; 'things': 0.38; 'does': 0.39; 'header:Message-Id:1': 0.61; 'default': 0.61; 'realise': 0.66; 'url:cgi': 0.66; 'discover': 0.73; '2.7.': 0.84; '3.4': 0.84; 'complex.': 0.84; 'header:In-reply-to:1': 0.84 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=openend.se; s=default; t=1448672964; bh=GoeMdCBdsUMH8Dvg591ww9jBI+SLyjnIbjKWIfiH874=; h=To:cc:From:Subject:In-reply-to:References:Date:From; b=SK7g5xt1VZFxd9c0yiyzkZ5+8wUQauMbBVBEh1LI8Q2HtVw7yEC2e1DAVRtAU4Ioj WHznfNv6v4tW8kqubr4rpGAKExyj6Cgr6TkI7ouQNVMAHjmdh88XgPMs4MF8rmcF9H k7A+l1vWDVNE1ss20ugpjTLjnUbL/lDrvEXF+C1c= |
| In-reply-to | <1mekmrs.1xn5n6010b7a1xN%real-not-anti-spam-address@apple-juice.co.uk> |
| Comments | In-reply-to real-not-anti-spam-address@apple-juice.co.uk (D.M. Procida) message dated "Sat, 28 Nov 2015 00:37:21 +0000." |
| Content-ID | <9018.1448672960.1@fido> |
| X-Greylist | Sender IP whitelisted, not delayed by milter-greylist-4.3.9 (theraft.openend.se [82.96.5.2]); Sat, 28 Nov 2015 02:09: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 <python-list.python.org> |
| List-Unsubscribe | <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Xref | csiph.com comp.lang.python:99647 |
Show key headers only | View raw
In a message of Sat, 28 Nov 2015 00:37:21 +0000, D.M. Procida writes: >I have a new installation of Debian Jessie, with Python 2.7 and 3.4 >installed. > >I want to use Python 3.4 by default for most things, so I want >virtualenv to create Python 3.4 virtualenvs unless I ask it to >otherwise. > >It turns out that this seems to be inordinately complex. > >The best solution I have come up with is to alias virtualenv to >'virtualenv -p python3.5', which seems really ugly and clunky. This will get you python3.5 which I infinitely prefer over 3.4. But you said you wanted to use 3.4 ... >Then I discover things like ><http://askubuntu.com/questions/603935/pyvenv-vs-venv-vs-python-virtualenv-vs-virtualenv-and-python-3> >and realise it's not just me, it really is a nasty mess and nobody seems >to understand what's going on. > >Daniele What I found out. https://bugs.python.org/issue25151 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=732703 https://bugs.python.org/issue25152 https://bugs.python.org/issue25154 pyenv is going away. use python -m venv instead, if you want a venv. You will never (unless somebody does a backport, which seems very unlikley) be able to get a venv with 2.7. I've long ago aliased virtualenv to v, so things aren't as clunky for me. Laura
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Python 3 virtualenvs real-not-anti-spam-address@apple-juice.co.uk (D.M. Procida) - 2015-11-28 00:37 +0000
Re: Python 3 virtualenvs Laura Creighton <lac@openend.se> - 2015-11-28 02:09 +0100
Re: Python 3 virtualenvs real-not-anti-spam-address@apple-juice.co.uk (D.M. Procida) - 2015-11-28 01:35 +0000
Faviourite improvements in Python 3.5 (was: Python 3 virtualenvs) Ben Finney <ben+python@benfinney.id.au> - 2015-11-28 12:42 +1100
Re: Faviourite improvements in Python 3.5 (was: Python 3 virtualenvs) Laura Creighton <lac@openend.se> - 2015-11-28 03:23 +0100
Re: Faviourite improvements in Python 3.5 (was: Python 3 virtualenvs) INADA Naoki <songofacandy@gmail.com> - 2015-11-28 16:17 +0900
Re: Python 3 virtualenvs Jon Ribbens <jon+usenet@unequivocal.co.uk> - 2015-11-28 13:29 +0000
Re: Python 3 virtualenvs real-not-anti-spam-address@apple-juice.co.uk (D.M. Procida) - 2015-11-28 19:37 +0000
Re: Python 3 virtualenvs Jon Ribbens <jon+usenet@unequivocal.co.uk> - 2015-11-28 21:48 +0000
Re: Python 3 virtualenvs Lele Gaifax <lele@metapensiero.it> - 2015-11-29 13:19 +0100
Re: Python 3 virtualenvs Laura Creighton <lac@openend.se> - 2015-11-29 13:27 +0100
Re: Python 3 virtualenvs Jon Ribbens <jon+usenet@unequivocal.co.uk> - 2015-11-29 13:23 +0000
Re: Python 3 virtualenvs Laura Creighton <lac@openend.se> - 2015-11-29 15:12 +0100
Re: Python 3 virtualenvs Carl Meyer <carl@oddbird.net> - 2015-11-30 09:32 -0700
Re: Python 3 virtualenvs Laura Creighton <lac@openend.se> - 2015-11-30 18:20 +0100
Re: Python 3 virtualenvs Carl Meyer <carl@oddbird.net> - 2015-11-30 10:28 -0700
Re: Python 3 virtualenvs Jon Ribbens <jon+usenet@unequivocal.co.uk> - 2015-11-30 17:30 +0000
Re: Python 3 virtualenvs Laura Creighton <lac@openend.se> - 2015-11-30 18:46 +0100
csiph-web