Re: Python 2.7: no such module pip

2017-05-05 Thread jeff saremi
ok thanks a lot. I will try 2.7.13 instead. I don't know how i ended up downloading 2.7.0? I shouldn't have been given the option in the first place. Perhaps the download page could be slightly modified to make things more clear. From: eryk sun Sent: Friday, Ma

Re: Why does Python want to read /proc/meminfo

2017-05-05 Thread dieter
Ian Pilcher writes: > ... > Does anyone know why Python is trying to access this file, or what > functionality I might be missing if I don't allow the access? You could fetch the Python source core and search it for a reference to "meminfo". Personally, I doubt that you will find a reference. In

Why does Python want to read /proc/meminfo

2017-05-05 Thread Ian Pilcher
I am trying to write an SELinux policy to confine a simple service that I have written in Python, and I'm trying to decide whether to allow or dontaudit various denials. To start, I've reduced my service to the simplest case: #!/usr/bin/python import sys sys.exit() Running this program

Re: Rosetta: Sequence of non-squares

2017-05-05 Thread Steve D'Aprano
On Sat, 6 May 2017 07:38 am, pec...@pascolo.net wrote: > breamore...@gmail.com writes: > >> A problem at the moment is that although the gmane side works, you >> can't get onto the website > > gmane ex-maintainer got fed up of people complaining through lawyers Complaining about what? -- St

Re: Python 2.7: no such module pip

2017-05-05 Thread Terry Reedy
On 5/5/2017 1:03 PM, jeff saremi wrote: forgot the attachment This is a no-attachment list -- https://mail.python.org/mailman/listinfo/python-list

Re: Rosetta: Sequence of non-squares

2017-05-05 Thread pecore
breamore...@gmail.com writes: > A problem at the moment is that although the gmane side works, you > can't get onto the website gmane ex-maintainer got fed up of people complaining through lawyers he gave to new maintainers the gmane spools and the infrastructure to harvest the mailing lists, bu

Re: os.getlogin() Error

2017-05-05 Thread 20/20 Lab
I'm not sure if this will help you, but I found some stuff on accident looking at something related. Not sure if it will help, but looked promising https://github.com/parmentelat/apssh/issues/1 ==Some snippets from the page From the os.getlogin() docs: "Returns the user logged in to the cont

Re: Python 2.7 on Windows: Copy&Paste install

2017-05-05 Thread jeff saremi
Thanks very much Eryk. I will look into WinPython. And as for the PYTHONPATH i came up with that. I will unset it. From: eryk sun Sent: Thursday, May 4, 2017 10:21:20 PM To: python-list@python.org Cc: jeff saremi Subject: Re: Python 2.7 on Windows: Copy&Paste ins

Re: Python 2.7: no such module pip

2017-05-05 Thread jeff saremi
forgot the attachment From: jeff saremi Sent: Friday, May 5, 2017 9:57:30 AM To: eryk sun; python-list@python.org Subject: Re: Python 2.7: no such module pip Eryk There is no such option in the installation. Please take a look at the screenshot I enclosed. If

Re: Python 2.7: no such module pip

2017-05-05 Thread jeff saremi
Eryk There is no such option in the installation. Please take a look at the screenshot I enclosed. If in case the pictures get removed, I only have the following options: RegisterExtensions Tck/TK Documentation UtilityScripts Test Suite As for the commands: C:\>python --version Python 2.7

Re: Python 2.7: no such module pip

2017-05-05 Thread eryk sun
On Fri, May 5, 2017 at 4:57 PM, jeff saremi wrote: > > There is no such option in the installation. Please take a look at the > screenshot I enclosed. Sorry, I overlooked that you said you're installing "python-2.7.amd64.msi" -- as in 2.7.0. Please download and install 2.7.13: https://www.python

Re: Python 2.7: no such module pip

2017-05-05 Thread eryk sun
On Fri, May 5, 2017 at 4:30 PM, jeff saremi wrote: > i checked the installation again. There is no option to select or deselect > PIP. I installed with everything included. No pip module is present despite > the fact that Python documentation says that PIP is a part of Python > installation and do

Re: Python 2.7: no such module pip

2017-05-05 Thread jeff saremi
Eryk i checked the installation again. There is no option to select or deselect PIP. I installed with everything included. No pip module is present despite the fact that Python documentation says that PIP is a part of Python installation and does not need to be installed externally. __

EuroPython 2017: Talk voting UI improved

2017-05-05 Thread M.-A. Lemburg
Following some good suggestions from our community, we have updated the UI for the talk voting page https://ep2017.europython.eu/en/speakers/talk-voting/ to improve the usability: * not voted is now the default value * not interested is now being saved to the database (you may now use

Re: new cert side effect

2017-05-05 Thread Robin Becker
Sorry for misposting this :( all the experts here will know what to do anyhow On 05/05/2017 15:30, Robin Becker wrote: Change of the web cert on hg.reportlab.com may affect your mercurial processing . [hostfingerprints] hg.reportlab.com=03:05:54:fb:14:62:b5:18:81:ec:b1:9c:b4:eb

new cert side effect

2017-05-05 Thread Robin Becker
Change of the web cert on hg.reportlab.com may affect your mercurial processing if you see messages like this hg clone https://hg.reportlab.com/hg/sandbox abort: certificate for hg.reportlab.com has unexpected fingerprint 03:05:54:fb:14:62:b5:18:81:ec:b1:9c:b4:eb:28:a0:55:28:6f:c4 you need to

cgi.FieldStorage() not work for python requests.post but work for requests.get

2017-05-05 Thread 程淼
here is the client use get -- import json import requests url = "http://abc.com:11/ip"; auth = {"ip":["10.100.1.1","10.100.1.2"], "time": "20170504133025" } try: req = requests.get(url,params=auth)

Re: cgi.FieldStorage() not work for python requests.post but work for requests.get

2017-05-05 Thread 程淼
在 2017年5月5日星期五 UTC+8下午6:02:04,程淼写道: > here is the client use get > -- > import json > import requests > > url = "http://abc.com:11/ip"; > auth = {"ip":["10.100.1.1","10.100.1.2"], > "time": "20170504133025" > }

Re: os.getlogin() Error

2017-05-05 Thread Cameron Simpson
On 04May2017 21:05, Wildman wrote: On Fri, 05 May 2017 09:58:02 +1000, Chris Angelico wrote: On Fri, May 5, 2017 at 9:50 AM, Wildman via Python-list wrote: I'm afraid that won't work. The user environment is different than root. A different set of variables. However you have given me a pos