Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #91720
| Path | csiph.com!usenet.pasdenom.info!news.redatomik.org!newsfeed.xs4all.nl!newsfeed4a.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <carl@oddbird.net> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.022 |
| X-Spam-Evidence | '*H*': 0.96; '*S*': 0.00; 'binary': 0.05; 'versions,': 0.05; 'python': 0.11; '2.7': 0.13; 'subject:python': 0.14; 'django': 0.14; "can't.": 0.16; 'filename:fname piece:signature': 0.16; 'from:addr:carl': 0.16; 'received:173.255': 0.16; 'side.': 0.16; 'url:virtualenv': 0.16; 'wrote:': 0.16; 'exists': 0.18; 'library': 0.20; 'environments': 0.22; 'module': 0.23; 'header:In-Reply-To:1': 0.24; 'header:User- Agent:1': 0.26; 'earlier': 0.27; 'looks': 0.29; 'environment': 0.29; 'similar': 0.32; 'older': 0.32; 'url:python': 0.33; 'instead,': 0.33; 'to:addr:python-list': 0.35; 'according': 0.36; 'url:org': 0.36; 'url:library': 0.36; 'subject:: ': 0.37; 'creation': 0.38; 'virtual': 0.38; 'received:org': 0.38; 'supports': 0.38; 'pm,': 0.39; 'url:en': 0.39; 'url:docs': 0.39; 'to:addr:python.org': 0.39; 'subject:with': 0.40; 'url:3': 0.60; "you'll": 0.61; 'received:96': 0.63; 'email addr:gmail.com': 0.64; 'charset:windows-1252': 0.65; 'url:4': 0.70; 'end-user': 0.84; 'subject:Using': 0.84; 'url:latest': 0.84 |
| Date | Mon, 01 Jun 2015 15:42:33 -0600 |
| From | Carl Meyer <carl@oddbird.net> |
| User-Agent | Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 |
| MIME-Version | 1.0 |
| To | python-list@python.org |
| Subject | Re: Using a particular python binary with venv |
| References | <ca4f39e1-f02a-403f-b113-82e25201a2cd@googlegroups.com> |
| In-Reply-To | <ca4f39e1-f02a-403f-b113-82e25201a2cd@googlegroups.com> |
| Content-Type | multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="NKAC0xeOLCeDeExeCNH1OJGaNtRSStCWF" |
| X-Spam-Status | No (score -1.0): ALL_TRUSTED=-1, URIBL_BLOCKED=0.001 |
| X-Spam-Bar | - |
| 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> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.19.1433194962.13271.python-list@python.org> (permalink) |
| Lines | 47 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1433194962 news.xs4all.nl 2928 [2001:888:2000:d::a6]:37653 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:91720 |
Show key headers only | View raw
[Multipart message — attachments visible in raw view] - view raw
On 06/01/2015 03:33 PM, greenbay.graham@gmail.com wrote: > According to this > https://docs.python.org/3.4/library/venv.html#module-venv 'Each > virtual environment has its own Python binary (allowing creation of > environments with various Python versions)' > > So how would I create a virtual environment using the venv module > that has a Python 2.7 binary? You can't. The venv module only exists in and supports Python 3.3+. If you need to support earlier Django versions, you'll need to use the older "virtualenv" library instead, which looks very similar from the end-user side. See https://virtualenv.pypa.io/en/latest/ Carl
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Using a particular python binary with venv greenbay.graham@gmail.com - 2015-06-01 14:33 -0700
Re: Using a particular python binary with venv Ian Kelly <ian.g.kelly@gmail.com> - 2015-06-01 15:38 -0600
Re: Using a particular python binary with venv Carl Meyer <carl@oddbird.net> - 2015-06-01 15:42 -0600
Re: Using a particular python binary with venv greenbay.graham@gmail.com - 2015-06-01 15:07 -0700
Re: Using a particular python binary with venv Carl Meyer <carl@oddbird.net> - 2015-06-01 16:19 -0600
Re: Using a particular python binary with venv greenbay.graham@gmail.com - 2015-06-01 15:23 -0700
Re: Using a particular python binary with venv Laura Creighton <lac@openend.se> - 2015-06-01 23:45 +0200
csiph-web