Re: pkg_resources.DistributionNotFound: hiredis

2014-03-16 Thread Chris Angelico
On Mon, Mar 17, 2014 at 5:10 PM, wrote: > this is a specific tool related with python > > http://heynemann.github.io/r3/ > > i am trying to do a simple example like the diagram in the web page > describe and then use with sympy to massive generate functions and plot and > print into a directory

[RELEASED] Python 3.4.0

2014-03-16 Thread Larry Hastings
On behalf of the Python development team, I'm thrilled to announce the official release of Python 3.4. Python 3.4 includes a range of improvements of the 3.x series, including hundreds of small improvements and bug fixes. Major new features and changes in the 3.4 release series include: * PEP

Re: pkg_resources.DistributionNotFound: hiredis

2014-03-16 Thread jobmattcon
this is a specific tool related with python http://heynemann.github.io/r3/ i am trying to do a simple example like the diagram in the web page describe and then use with sympy to massive generate functions and plot and print into a directory On Monday, March 17, 2014 2:04:06 PM UTC+8, Ben Fi

Re: pkg_resources.DistributionNotFound: hiredis

2014-03-16 Thread Ben Finney
jobmatt...@gmail.com writes: > first time run command to start r3, it has already got error > r3-app --redis-port=6379 --redis-pass=r3 -c config.py First: please don't top-post; Instead, use the normal interleaved posting style to make it easier to follow the conversation https://en.wikipedia.or

Re: pkg_resources.DistributionNotFound: hiredis

2014-03-16 Thread jobmattcon
first time run command to start r3, it has already got error r3-app --redis-port=6379 --redis-pass=r3 -c config.py On Monday, March 17, 2014 1:09:32 PM UTC+8, Ben Finney wrote: > writes: > > > > > [a dump of text terminal output] > > > > Did you have something to say about this? Perhaps a q

Re: pkg_resources.DistributionNotFound: hiredis

2014-03-16 Thread Ben Finney
jobmatt...@gmail.com writes: > [a dump of text terminal output] Did you have something to say about this? Perhaps a question, with details of what you're expecting and what happened instead? -- \ “Men never do evil so completely and cheerfully as when they do | `\it from religiou

pkg_resources.DistributionNotFound: hiredis

2014-03-16 Thread jobmattcon
http://heynemann.github.io/r3/ C:\heynemann-r3-cc6b4eb\build\lib\r3\app>r3-app --red is-port=6379 --redis-pass=r3 -c config.py Traceback (most recent call last): File "C:\Python27\Scripts\r3-app-script.py", line 5, in from pkg_resources import load_entry_point File "C:\Python27\lib\site-p

File "build\bdist.win32\egg\redis\client.py", line 705, in get

2014-03-16 Thread jobmattcon
in win32 with redis-py and redis for window Traceback (most recent call last): File "testredis.py", line 21, in matrixlist = r_server.get("matrix1") File "build\bdist.win32\egg\redis\client.py", line 705, in get File "build\bdist.win32\egg\redis\client.py", line 461, in execute_command

Re: Error when installing matplotlib-1.3. on Windows

2014-03-16 Thread MRAB
On 2014-03-17 01:20, laguna...@mail.com wrote: I'm trying to install matplotlib from locally stored source archive file (Portable Python 2.7 on Windows): pip install E:\matplotlib-1.3.1.win32-py2.7.exe Got error, below is log: E:\Portable Python 2.7.5.1\App\Scripts\pip run on 03/17/14 03:10:1

Error when installing matplotlib-1.3. on Windows

2014-03-16 Thread laguna-mc
I'm trying to install matplotlib from locally stored source archive file (Portable Python 2.7 on Windows): pip install E:\matplotlib-1.3.1.win32-py2.7.exe Got error, below is log: E:\Portable Python 2.7.5.1\App\Scripts\pip run on 03/17/14 03:10:16 Exception: Traceback (most recent call last):

Re: Installing addition libraries in Portable Python 2.7 on Windows

2014-03-16 Thread laguna-mc
It'slike a chain, eachnew modulepulls afew othermodules.I can postpone get-pip.py onthe very last stage, now I want to install python-magic, libmagic, libfuzzy, pyqtgraph. How to do this? - Original Message - From: Mark Lawrence Sent: 03/16/14 05:06 PM To: python-list@python.org Subject:

Re: Clearing out handlers in logging?

2014-03-16 Thread Tim Chase
On 2014-03-16 19:29, Gunther Dietrich wrote: > >> Indeed, THERE IS a removeHandler() method. > > > >Yes, I'm aware of it, having read the source & docs. However, the > >signature is > > Sorry, your original article lacks information about what you > already know/tried and what not. So it is a

Re: Clearing out handlers in logging?

2014-03-16 Thread Gunther Dietrich
Tim Chase wrote: >> >The current (2.7; maybe 3.x?) logging module doesn't have any sort >> >of "clear out all the current handlers" method. >> >> Indeed, THERE IS a removeHandler() method. > >Yes, I'm aware of it, having read the source & docs. However, the >signature is Sorry, your original a

Re: Installing addition libraries in Portable Python 2.7 on Windows

2014-03-16 Thread Mark Lawrence
On 16/03/2014 13:50, laguna...@mail.com wrote: I am new in Python, I have Portable Python 2.7.5.1 installed on Windows 7. I want to install additional libraries: python-magic libmagic libfuzzy pyqtgraph I downloaded package, saved on hard drive, unzipped, find setup.py and tried install via Co

Installing addition libraries in Portable Python 2.7 on Windows

2014-03-16 Thread laguna-mc
I am new in Python, I have Portable Python 2.7.5.1 installed on Windows 7. I want to install additional libraries: python-magic libmagic libfuzzy pyqtgraph I downloaded package, saved on hard drive, unzipped, find setup.py and tried install via Command Prompt: Python-Portable.exe setup.py inst

Thread is somehow interfering with a while loop called after the thread is started

2014-03-16 Thread Dan McInerney
Coming back to this a long time later. I figured it out a little bit after I posted this. I wasn't aware that q.try_run() within the nfqueue module was a blocking call https://www.wzdftpd.net/redmine/projects/nfqueue-bindings/wiki/Examples. I'm not sure I was even aware of what it meant to be block

Re: Clearing out handlers in logging?

2014-03-16 Thread Tim Chase
On 2014-03-16 09:39, Gunther Dietrich wrote: > Tim Chase wrote: > > >The current (2.7; maybe 3.x?) logging module doesn't have any sort > >of "clear out all the current handlers" method. > > Indeed, THERE IS a removeHandler() method. Yes, I'm aware of it, having read the source & docs. However

Re: Sharing: File Reader Generator with & w/o Policy

2014-03-16 Thread Steven D'Aprano
On Sat, 15 Mar 2014 23:47:30 -0500, Mark H Harris wrote: > The other thing I'm tempted to do is to find names (even new names) that > read like English closely (whatever I mean by that) so that there is no > question about what is going on to a non expert. > > for line in getnumline(file): >

Re: test

2014-03-16 Thread Chris “Kwpolska” Warrick
On Sun, Mar 16, 2014 at 4:41 AM, Mark H Harris wrote: > I have been having a fit with gg, and its taken just a little time to get a > real news-reader client for posting. What a fit. Google does really well > with some things, but gg is not one of them, IMHO. Why not use the mailing list instead?

Re: Clearing out handlers in logging?

2014-03-16 Thread Chris Angelico
On Sun, Mar 16, 2014 at 8:18 PM, Peter Otten <__pete...@web.de> wrote: > Hm, what do the docs say about this one? > import logging logging.basicConfig() log = logging.getLogger("foo") for i in range(5): > ... log.addHandler(logging.FileHandler("tmp.log")) > ... assert l

Re: Clearing out handlers in logging?

2014-03-16 Thread Peter Otten
Gunther Dietrich wrote: > Tim Chase wrote: > >>The current (2.7; maybe 3.x?) logging module doesn't have any sort of >>"clear out all the current handlers" method. > > Indeed, THERE IS a removeHandler() method. In the documentation of > python 2.6, it is mentioned in '16.6.5. Logger Objects', d

Re: Clearing out handlers in logging?

2014-03-16 Thread Chris Angelico
On Sun, Mar 16, 2014 at 7:39 PM, Gunther Dietrich wrote: >>but it feels a little dirty to reach into logging.root.handlers since >>there are other methods for adding/removing handlers. However, as >>best I can tell, to remove a handler, you already need to have it >>saved somewhere. > > What abou

Re: Clearing out handlers in logging?

2014-03-16 Thread Gunther Dietrich
Tim Chase wrote: >The current (2.7; maybe 3.x?) logging module doesn't have any sort of >"clear out all the current handlers" method. Indeed, THERE IS a removeHandler() method. In the documentation of python 2.6, it is mentioned in '16.6.5. Logger Objects', directly after the addHandler() meth