Re: The perils of multiple Pythons

2018-04-30 Thread Youta TAKAOKA
I am using pipenv... http://docs.pipenv.org/en/latest/ It has bootstrap probrem. pyenv solves it, but windows is NOT a first-class citizen for pyenv. 2018年5月1日(火) 14:00 Percival John Hackworth : > On 30-Apr-2018, Chris Angelico wrote > (in article): > > > https://xkcd.com/1987/ > > > > So t

Re: The perils of multiple Pythons

2018-04-30 Thread Terry Reedy
On 4/30/2018 5:03 PM, Chris Angelico wrote: Yep. Munroe (the author of XKCD) is clearly using a Mac, though, and Macs don't ship with Python 3.5+. So there's a bootstrapping problem: how do you install a newer Python? There are about half a dozen options. I think the situation is improved with

Re: The perils of multiple Pythons

2018-04-30 Thread Terry Reedy
On 4/30/2018 5:03 PM, Chris Angelico wrote: On Tue, May 1, 2018 at 6:59 AM, justin walters wrote: With Python 3.5+, venv is a built in module. If using a venv, default to using the binary in the venv. That's what I do anyways. Yep. Munroe (the author of XKCD) is clearly using a Mac, though,

Re: The perils of multiple Pythons

2018-04-30 Thread Rich Shepard
On Mon, 30 Apr 2018, justin walters wrote: Yes, you can create a virtual env with all of the global packages. Though, you would probably want to run: `python3 -m venv ~/development/project/venv` to put the virtualenv files in their own directory. Justin, That's what I thought to be the case

Re: The perils of multiple Pythons

2018-04-30 Thread justin walters
On Mon, Apr 30, 2018 at 3:24 PM, Rich Shepard wrote: > On Mon, 30 Apr 2018, justin walters wrote: > > With Python 3.5+, venv is a built in module. If using a venv, default to >> using the binary in the venv. That's what I do anyways. >> > > I'm running Python3-3.6.5 and have a developing applic

Re: The perils of multiple Pythons

2018-04-30 Thread Rich Shepard
On Mon, 30 Apr 2018, justin walters wrote: With Python 3.5+, venv is a built in module. If using a venv, default to using the binary in the venv. That's what I do anyways. I'm running Python3-3.6.5 and have a developing application in ~/development/project/. Can I run 'python3 -m venv ~/deve

Re: The perils of multiple Pythons

2018-04-30 Thread Chris Angelico
On Tue, May 1, 2018 at 7:16 AM, Tim Chase wrote: > On 2018-05-01 06:40, Chris Angelico wrote: >> https://xkcd.com/1987/ >>> >>> I feel like this problem is pretty handily solved by virtual >>> environments. Also, if a single project requires all of this, >>> perhaps Python isn't the best choi

Re: The perils of multiple Pythons

2018-04-30 Thread Tim Chase
On 2018-05-01 06:40, Chris Angelico wrote: >>> >> https://xkcd.com/1987/ >> >> I feel like this problem is pretty handily solved by virtual >> environments. Also, if a single project requires all of this, >> perhaps Python isn't the best choice for the project. > > Some of it is definitely solve

Re: The perils of multiple Pythons

2018-04-30 Thread Chris Angelico
On Tue, May 1, 2018 at 6:59 AM, justin walters wrote: > With Python 3.5+, venv is a built in module. If using a venv, default to > using the binary in the venv. > > That's what I do anyways. Yep. Munroe (the author of XKCD) is clearly using a Mac, though, and Macs don't ship with Python 3.5+. So

Re: The perils of multiple Pythons

2018-04-30 Thread justin walters
On Mon, Apr 30, 2018 at 1:40 PM, Chris Angelico wrote: > On Tue, May 1, 2018 at 6:22 AM, justin walters > wrote: > > On Mon, Apr 30, 2018 at 10:32 AM, Chris Angelico > wrote: > > > >> On Tue, May 1, 2018 at 3:30 AM, Ned Batchelder > >> wrote: > >> > On 4/30/18 1:15 PM, Chris Angelico wrote: >

Re: The perils of multiple Pythons

2018-04-30 Thread Chris Angelico
On Tue, May 1, 2018 at 6:22 AM, justin walters wrote: > On Mon, Apr 30, 2018 at 10:32 AM, Chris Angelico wrote: > >> On Tue, May 1, 2018 at 3:30 AM, Ned Batchelder >> wrote: >> > On 4/30/18 1:15 PM, Chris Angelico wrote: >> >> >> >> https://xkcd.com/1987/ >> >> >> >> So take-away is: On a Ma

Re: The perils of multiple Pythons

2018-04-30 Thread justin walters
On Mon, Apr 30, 2018 at 10:32 AM, Chris Angelico wrote: > On Tue, May 1, 2018 at 3:30 AM, Ned Batchelder > wrote: > > On 4/30/18 1:15 PM, Chris Angelico wrote: > >> > >> https://xkcd.com/1987/ > >> > >> So take-away is: On a Mac, just use Homebrew. > >> > >> (Cue the angry hordes telling me

Re: The perils of multiple Pythons

2018-04-30 Thread Chris Angelico
On Tue, May 1, 2018 at 3:30 AM, Ned Batchelder wrote: > On 4/30/18 1:15 PM, Chris Angelico wrote: >> >> https://xkcd.com/1987/ >> >> So take-away is: On a Mac, just use Homebrew. >> >> (Cue the angry hordes telling me how wrong I am.) >> > > My take-away (though not really, since I held this v

Re: The perils of multiple Pythons

2018-04-30 Thread Ned Batchelder
On 4/30/18 1:15 PM, Chris Angelico wrote: https://xkcd.com/1987/ So take-away is: On a Mac, just use Homebrew. (Cue the angry hordes telling me how wrong I am.) My take-away (though not really, since I held this view before this morning): pick a way and stick to it. --Ned. -- https://