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


Groups > comp.lang.python > #99694

Re: Python 3 virtualenvs

From Laura Creighton <lac@openend.se>
Newsgroups comp.lang.python
Subject Re: Python 3 virtualenvs
Date 2015-11-29 15:12 +0100
Message-ID <mailman.9.1448806350.14615.python-list@python.org> (permalink)
References (2 earlier) <1mem3lu.1327fd91org8tkN%real-not-anti-spam-address@apple-juice.co.uk> <slrnn5k8e4.1t1.jon+usenet@frosty.unequivocal.co.uk> <8737vp0zh9.fsf@metapensiero.it> <mailman.7.1448800035.14615.python-list@python.org> <slrnn5lv6n.1t1.jon+usenet@frosty.unequivocal.co.uk>

Show all headers | View raw


In a message of Sun, 29 Nov 2015 13:23:19 +0000, Jon Ribbens writes:
>I don't know if, in future, pyvenv will be the way to go and
>virtualenv will be deprecated, but either way we do not appear
>to be there yet.

pyenv is going away.  python -m venv is the preferred way to get a venv

https://bugs.python.org/issue25154

Of course if you try it, you may get:

  Error: Command '['<directory>/bin/python3.4', '-Im', 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 1

which turns out to mean:

Your Python isn't configured with ensure-pip!

.....

Right now, I personally don't know why there is a venv at all.  Despite
the similarity of names, it doesn't seem to be about doing what virtualenv
does.  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 think
there are any plans to give venv the functionality of virtualenv, so
presumably there are people who like it just fine the way it is now.
They must have very different needs than I do.

Laura

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


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