Re: permission denied when installing tensorflow on centos 7

2018-04-30 Thread dieter
joseph pareti writes: > here are details on my attempt: > ... > [joepareti54@xxx tensorflow_tmpdir]$ pip3 install --upgrade virtualenv >> > step3.txt 2>&1 > [joepareti54@xxx tensorflow_tmpdir]$ cat step3.txt > Collecting virtualenv > Downloading > https://files.pythonhosted.org/packages/ed/ea/e2

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: [Python-Dev] [RELEASE] Python 2.7.15

2018-04-30 Thread Hasan Diwan
Congrats to all involved! -- H On 30 April 2018 at 21:09, Benjamin Peterson wrote: > Greetings, > I'm pleased to announce the immediate availability of Python 2.7.15, the > latest bug fix release in the senescent Python 2.7 series. > > Source and binary downloads may be found on python.org: > >

[RELEASE] Python 2.7.15

2018-04-30 Thread Benjamin Peterson
Greetings, I'm pleased to announce the immediate availability of Python 2.7.15, the latest bug fix release in the senescent Python 2.7 series. Source and binary downloads may be found on python.org: https://www.python.org/downloads/release/python-2715/ Bugs should be reported to https://bu

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: www.python.org down

2018-04-30 Thread Mark Lawrence
On 30/04/18 19:41, Bill Deegan wrote: back up for me. Ditto :) -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: www.python.org down

2018-04-30 Thread Bill Deegan
back up for me. On Mon, Apr 30, 2018 at 2:26 PM, Mark Lawrence wrote: > On 30/04/18 19:17, Paul Moore wrote: > >> It's working for me now. >> Paul >> >> On 30 April 2018 at 18:38, Jorge Gimeno wrote: >> >>> Not sure who to report to, but the site comes back with a 503. Anyone >>> know >>> where

Re: www.python.org down

2018-04-30 Thread Mark Lawrence
On 30/04/18 19:17, Paul Moore wrote: It's working for me now. Paul On 30 April 2018 at 18:38, Jorge Gimeno wrote: Not sure who to report to, but the site comes back with a 503. Anyone know where I can direct this to? -Jorge L. Gimeno -- https://mail.python.org/mailman/listinfo/python-list W

Re: www.python.org down

2018-04-30 Thread Bill Deegan
Still 502 for me. On Mon, Apr 30, 2018 at 2:17 PM, Paul Moore wrote: > It's working for me now. > Paul > > On 30 April 2018 at 18:38, Jorge Gimeno wrote: > > Not sure who to report to, but the site comes back with a 503. Anyone > know > > where I can direct this to? > > > > -Jorge L. Gimeno > >

Re: www.python.org down

2018-04-30 Thread Bill Deegan
Ditto. I see a 502. On Mon, Apr 30, 2018 at 1:38 PM, Jorge Gimeno wrote: > Not sure who to report to, but the site comes back with a 503. Anyone know > where I can direct this to? > > -Jorge L. Gimeno > -- > https://mail.python.org/mailman/listinfo/python-list > -- https://mail.python.org/mailm

Re: www.python.org down

2018-04-30 Thread Paul Moore
It's working for me now. Paul On 30 April 2018 at 18:38, Jorge Gimeno wrote: > Not sure who to report to, but the site comes back with a 503. Anyone know > where I can direct this to? > > -Jorge L. Gimeno > -- > https://mail.python.org/mailman/listinfo/python-list -- https://mail.python.org/mail

www.python.org down

2018-04-30 Thread Jorge Gimeno
Not sure who to report to, but the site comes back with a 503. Anyone know where I can direct this to? -Jorge L. Gimeno -- https://mail.python.org/mailman/listinfo/python-list

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://

The perils of multiple Pythons

2018-04-30 Thread Chris Angelico
https://xkcd.com/1987/ So take-away is: On a Mac, just use Homebrew. (Cue the angry hordes telling me how wrong I am.) ChrisA -- https://mail.python.org/mailman/listinfo/python-list

Inconsistent site.py behavior between venv and system

2018-04-30 Thread Demian Brecht
I recently ran into an issue using the site package and I wanted to confirm that I'm not doing something wrong here before creating an issue: I have a need to `git subtree` modules into a Django project and then add the dependencies such that they're discoverable in code. I also need to have co

Re: unittest.Testsuite and execution order

2018-04-30 Thread George Fischhof
On 20 Apr 2018 8:39 am, "Chris Angelico" wrote: On Fri, Apr 20, 2018 at 3:01 PM, Francesco Russo wrote: > On 18/04/18 20:26, Chris Angelico wrote: >> This is a bad idea. Each function that starts test_ should be >> completely independent. You should be able to run any one of them on >> its own (

Re: Flask test generator code review?

2018-04-30 Thread George Fischhof
2018-04-18 12:41 GMT+02:00 Albert-Jan Roskam : > Hi, > > I am writing my first unittests for a Flask app. First modest goal is to > test whether a selected subset of the templates return the expected status > 200. > I am using a nose test generator in a class for this. Is the code below > the corr

Re: How to add values from test steps in pytest excel report

2018-04-30 Thread George Fischhof
On 27 Apr 2018 9:49 am, "Sum" wrote: Hi, I am using python 2.7 and pytest version 3.2.1 I am using pytest excel plugin to run the pytest and generate test report in excel format. Step to install pytest excel : pip install pytest-excel I am running my pytest test using below : py.test --excelr

permission denied when installing tensorflow on centos 7

2018-04-30 Thread joseph pareti
here are details on my attempt: tensorflow for centos 7 installation guidelines are in: https://gist.github.com/thoolihan/28679cd8156744a62f88 sudo yum -y install epel-release sudo yum -y install gcc gcc-c++ python-pip python-devel atlas atlas-devel gcc- gfortran openssl-devel libffi-devel # use