Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #99748
| From | Carl Meyer <carl@oddbird.net> |
|---|---|
| Newsgroups | comp.lang.python |
| Subject | Re: Python 3 virtualenvs |
| Date | 2015-11-30 10:28 -0700 |
| Message-ID | <mailman.43.1448904539.14615.python-list@python.org> (permalink) |
| References | (5 earlier) <mailman.7.1448800035.14615.python-list@python.org> <slrnn5lv6n.1t1.jon+usenet@frosty.unequivocal.co.uk> <201511291412.tATECKN8006265@fido.openend.se> <565C7A1B.2070202@oddbird.net> <201511301720.tAUHKlAe017071@fido.openend.se> |
[Multipart message — attachments visible in raw view] - view raw
On 11/30/2015 10:20 AM, Laura Creighton wrote: > In a message of Mon, 30 Nov 2015 09:32:27 -0700, Carl Meyer writes: >>> 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 know what you mean by this either. Isn't the ability to "install >> packages but not site-wide" precisely what virtualenv (and venv) give you? > > I rarely use it for that. What I nearly always want is different > python interpreters. CPython, PyPy, Jython for anything from 2.6 to > 3.6. If you just want the variety of interpreters, virtualenv doesn't give you that -- you have to already have a given interpreter installed system-wide for virtualenv to be able to use it. What virtualenv gives you is isolated environments for package installations (which can use any interpreter you have installed). Venv does the same (and won't have any trouble with PyPy or Jython either, once they reach Python 3.3 compatibility). So I agree that for now you should be sticking with virtualenv (I use it too), but I hope you'll take another look at venv a few years down the road, if you find yourself in a situation where all the interpreters you need are 3.3+. (Or maybe virtualenv will make the transition sooner, and you'll start using venv under the hood for 3.3+ without even realizing it.) Carl
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