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

References <ca4f39e1-f02a-403f-b113-82e25201a2cd@googlegroups.com>
From Ian Kelly <ian.g.kelly@gmail.com>
Date 2015-06-01 15:38 -0600
Subject Re: Using a particular python binary with venv
Newsgroups comp.lang.python
Message-ID <mailman.18.1433194780.13271.python-list@python.org> (permalink)

Show all headers | 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