Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #91719

Re: Using a particular python binary with venv

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!1.eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <ian.g.kelly@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.025
X-Spam-Evidence '*H*': 0.95; '*S*': 0.00; 'binary': 0.05; 'python': 0.11; '2.7': 0.13; 'subject:python': 0.14; 'instead.': 0.15; '3.3.': 0.16; 'wrote:': 0.16; "wouldn't": 0.16; 'library': 0.20; 'trying': 0.22; 'environments': 0.22; '2015': 0.23; 'module': 0.23; 'third-party': 0.23; 'header:In-Reply-To:1': 0.24; 'mon,': 0.24; 'message-id:@mail.gmail.com': 0.28; 'environment': 0.29; 'url:python': 0.33; 'received:google.com': 0.34; '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; 'pm,': 0.39; 'url:docs': 0.39; 'to:addr:python.org': 0.39; 'subject:with': 0.40; 'url:3': 0.60; 'url:4': 0.70; 'subject:Using': 0.84; 'to:name:python': 0.84
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=DArAWoNpgWQWYQ2ynk+CGZHypO5GIBz5205H+oco5dc=; b=b8nd2+KWBbLGU+hO+l4dDWYsBXVQBtTGxl8RXusElOi7kZte0i9mmtELLmnl5sp6D0 FYzy+shKbuG5VFNcQzDjc9u6e8K9HVnzpwHbXJ5+zHBp9xNAq6TuTzArwvVygbRNN2c4 c/nPet5prgxMpNTdhRvOqEQtxaWRESEAMKsIPolFfygPYzWffpYMh19wW76bGrxYDGk5 IRNTogPxC/kgGje0bRHx8j4/2xcei++XzDOEIqjMH9Hpx/lt/5S8iRXeIwmbu4WAsILY BzvJ3YTT2kpqQa7AwAsesKPf79BaNU2LZMddIiBStkoI5ppPbqnzHaJY7fU0BOqm0ufQ 7CHQ==
X-Received by 10.50.36.9 with SMTP id m9mr16031236igj.15.1433194777269; Mon, 01 Jun 2015 14:39:37 -0700 (PDT)
MIME-Version 1.0
In-Reply-To <ca4f39e1-f02a-403f-b113-82e25201a2cd@googlegroups.com>
References <ca4f39e1-f02a-403f-b113-82e25201a2cd@googlegroups.com>
From Ian Kelly <ian.g.kelly@gmail.com>
Date Mon, 1 Jun 2015 15:38:56 -0600
Subject Re: Using a particular python binary with venv
To Python <python-list@python.org>
Content-Type text/plain; charset=UTF-8
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.18.1433194780.13271.python-list@python.org> (permalink)
Lines 7
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1433194780 news.xs4all.nl 2919 [2001:888:2000:d::a6]:34950
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:91719

Show key headers only | View raw


On Mon, Jun 1, 2015 at 3: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?

I wouldn't recommend trying to create a venv virtual environment using
Python 2.7, because venv was only added to the standard library in
Python 3.3. Use the third-party virtualenv instead.

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


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