Re: strange problem building non-pure wheel for apple M1 arm64

2022-03-08 Thread Robin Becker
On 08/03/2022 16:08, Christian Gollwitzer wrote: Am 07.03.22 um 17:22 schrieb Robin Becker: I use brew to install freetype version 2.11.1. I find via google that homebrew/apple have split the installation of intel and arm64 into /usr/local and /opt/homebrew so I must modify the include_dirs &

Re: strange problem building non-pure wheel for apple M1 arm64

2022-03-08 Thread Peter Pearson
On Mon, 7 Mar 2022 16:22:10 +, Robin Becker wrote: [snip] > > gcc -bundle -undefined dynamic_lookup -g -arch arm64 [snip] > -L/usr/local/lib > -L/usr/lib > -L/Library/Frameworks/Python.framework/Versions/3.9/lib > -lfreetype [snip] > > ld: warning: ignoring file /usr/l

Re: strange problem building non-pure wheel for apple M1 arm64

2022-03-08 Thread Christian Gollwitzer
Am 07.03.22 um 17:22 schrieb Robin Becker: I use brew to install freetype version 2.11.1. gcc -bundle -undefined dynamic_lookup -g -arch arm64 build/temp.macosx-11.0-arm64-3.9/src/rl_addons/renderPM/_renderPM.o build/temp.macosx-11.0-arm64-3.9/src/rl_addons/renderPM/gt1/gt1-dict.o

Re: Strange problem with pip2

2018-03-01 Thread dieter
Cecil Westerhof writes: > There are three pip2 packages that should be updated: > apsw (3.13.0.post1) - Latest: 3.9.2.post1 [sdist] > mysql-utilities (1.6.4) - Latest: 1.4.3 [sdist] > pygobject (3.22.0) - Latest: 3.27.4 [sdist] > > But the strange thing is that the installed version i

Re: Strange problem with pip2

2018-03-01 Thread Paul Moore
On 1 March 2018 at 16:32, Dennis Lee Bieber wrote: > Note that a google search shows lots of problems apparently caused by > the --single-version-externally-managed option. --single-version-externally-managed is how pip calls setuptools, and is required. It doesn't cause any problems the

Re: Strange Problem with pythonw.exe

2012-06-10 Thread Terry Reedy
On 6/10/2012 7:39 PM, a...@vorsicht-bissig.de wrote: Thank you for your help. I found the problem at some other place. The registry tweaks didn't solve it. But I found the hint to look up my .idlerc folder. So the problem was entirely IDLE related (yes, it worked before). But it wasnt PyQt'S pro

Re: Strange Problem with pythonw.exe

2012-06-10 Thread asa
> > Hello subscribers, > > > > I've recently encountered a strange problem with Python for Windows. > > I'm using Windows 7 Pro 64 Bit and Python 3.2.3 64 Bit (also tried 32 > > bit). The Problem is, that pythonw.exe does not work at all! > > Therefore no IDLE for me... But python.exe runs just fi

Re: Strange Problem with pythonw.exe

2012-06-09 Thread Terry Reedy
On 6/9/2012 10:23 AM, a...@vorsicht-bissig.de wrote: Hello subscribers, I've recently encountered a strange problem with Python for Windows. I'm using Windows 7 Pro 64 Bit and Python 3.2.3 64 Bit (also tried 32 bit). The Problem is, that pythonw.exe does not work at all! Therefore no IDLE for me

Re: strange problem with multiprocessing

2010-11-11 Thread Marc Christiansen
Neal Becker wrote: > Any idea what this could be about? > > Traceback (most recent call last): > File "run-tests-1004.py", line 48, in >results = pool.map (run_test, cases) > File "/usr/lib64/python2.7/multiprocessing/pool.py", line 199, in map >return self.map_async(func, iterable

Re: Strange Problem

2009-12-23 Thread Victor Subervi
On Tue, Dec 22, 2009 at 5:14 PM, Dave Angel wrote: > Victor Subervi wrote: > >> Hi; >> I have the following code: >> >> print 'printTheForm: ', descrProds, '' >> for value in descrProds: >>print 'value: ', value, '' >> >> which prints this: >> >> printTheForm: [['ID', 'tinyint', '5', '0', N

Re: Strange Problem

2009-12-22 Thread MRAB
Victor Subervi wrote: Hi; I have the following code: print 'printTheForm: ', descrProds, '' for value in descrProds: print 'value: ', value, '' which prints this: printTheForm: [['ID', 'tinyint', '5', '0', None], ['SKU', 'varchar', '40', '', None], ['Category', 'varchar', '40', '',

Re: Strange Problem

2009-12-22 Thread Dave Angel
Victor Subervi wrote: Hi; I have the following code: print 'printTheForm: ', descrProds, '' for value in descrProds: print 'value: ', value, '' which prints this: printTheForm: [['ID', 'tinyint', '5', '0', None], ['SKU', 'varchar', '40', '', None], ['Category', 'varchar', '40', '', Non

Re: Strange Problem

2009-12-22 Thread Emile van Sebille
On 12/22/2009 10:57 AM Victor Subervi said... Hi; I have the following code: print 'printTheForm: ', descrProds, '' This doesn't match what you say the below is the output from. There's no below... for value in descrProds: print 'value: ', value, '' When I assign your result la

Re: Strange problem when using imp.load_module

2009-04-23 Thread pythoncurious
Well spotted :) That does seem to be the problem. Adding removal of the .pyc file will make the tests pass. I guess that python doesn't use the higher resolution timestamp you can get from at least Solaris when doing 'stat' on a file. Thanks for the help. /Mattias On Apr 23, 10:28 pm, Arnaud

Re: Strange problem when using imp.load_module

2009-04-23 Thread Arnaud Delobelle
pythoncuri...@gmail.com writes: > Hi, Hi, I have a guess at explaining the behaviour you describe - see below. > I'm having problem when I'm trying to import modules using the > imp.load_module function. > At the end of this post there's some code I wrote to illustrate the > problem. > The code

Re: strange problem with Py2exe

2009-03-11 Thread Mike Driscoll
On Mar 11, 9:37 am, sf409...@gmail.com wrote: > Hello all, > in the past I've used Py2exe without any problem, but now I have this > strange difficulty. > In my computer I have  python 2.6,  py2exe for python 2.6 and the > distutils, but when I do: > > from distutils.core import setup > import py2e

Re: strange problem with Py2exe

2009-03-11 Thread CM
On Mar 11, 10:37 am, sf409...@gmail.com wrote: > Hello all, > in the past I've used Py2exe without any problem, but now I have this > strange difficulty. > In my computer I have  python 2.6,  py2exe for python 2.6 and the > distutils, but when I do: > > from distutils.core import setup > import py2

Re: Strange problem ....

2008-07-23 Thread karthikbalaguru
On Jul 23, 1:31 pm, "Simon Brunning" <[EMAIL PROTECTED]> wrote: > 2008/7/23 karthikbalaguru <[EMAIL PROTECTED]>: > > > I use Redhat 9.0, python-2.2.2-26, python-devel-2.2.2-26 and > > db4-4.0.14-20. > > > File "/usr/local/SDK/bin/../core/bin/processorlib.py", line 88 > >yield ProcessorObjectIn

Re: Strange problem ....

2008-07-23 Thread Diez B. Roggisch
karthikbalaguru wrote: > Hi, > > I am new to python, Kindly suggest to resolve a problem with a python > file. > What does the below error refer to ? > I use Redhat 9.0, python-2.2.2-26, python-devel-2.2.2-26 and > db4-4.0.14-20. > > [EMAIL PROTECTED] processor]# Analyzer processorcycle > /usr/l

Re: Strange problem ....

2008-07-23 Thread Francesco Bochicchio
Il Wed, 23 Jul 2008 01:19:48 -0700, karthikbalaguru ha scritto: > Hi, > > I am new to python, Kindly suggest to resolve a problem with a python > file. > What does the below error refer to ? > I use Redhat 9.0, python-2.2.2-26, python-devel-2.2.2-26 and > db4-4.0.14-20. > > [EMAIL PROTECTED] pro

Re: Strange problem ....

2008-07-23 Thread Simon Brunning
2008/7/23 karthikbalaguru <[EMAIL PROTECTED]>: > I use Redhat 9.0, python-2.2.2-26, python-devel-2.2.2-26 and > db4-4.0.14-20. > > File "/usr/local/SDK/bin/../core/bin/processorlib.py", line 88 >yield ProcessorObjectInfo(child, self.pt) >^ > SyntaxError: invalid syntax

Re: Strange problem with structs Linux vs. Mac

2008-03-18 Thread Martin Blume
"Marc 'BlackJack' Rintsch" schrieb > > > I don't think this qualifies as a bug, but I am astonished > > that the struct module does not tell you whether you are > > big endian, you have to find out yourself with > >struct.unpack('@I', s)[0]==struct.unpack(">I", s)[0] > > Maybe a little more

Re: Strange problem with structs Linux vs. Mac

2008-03-17 Thread Marc 'BlackJack' Rintsch
On Sun, 16 Mar 2008 18:45:19 +0100, Martin Blume wrote: > I don't think this qualifies as a bug, but I am astonished > that the struct module does not tell you whether you are > big endian, you have to find out yourself with >struct.unpack('@I', s)[0]==struct.unpack(">I", s)[0] Maybe a little

Re: Strange problem with structs Linux vs. Mac

2008-03-16 Thread jasonwiener
Completely helped! Working as expected now. Thanks. You really got me out of a bind! J. On Mar 16, 10:23 am, "Martin Blume" <[EMAIL PROTECTED]> wrote: > "jasonwiener" schrieb > > > I am having a VERY odd problem with unpacking right now. > > I'm reading data from a binary file and then using a

Re: Strange problem with structs Linux vs. Mac

2008-03-16 Thread Martin Blume
"sturlamolden" schrieb > > > This seems to imply that the Mac, although running now > > on Intel processors, is still big-endian. > > Or maybe the struct module thinks big-endian is native > to all Macs? It could be a bug. > Dunno, I'm on thin ice here. Never used a Mac. Maybe the underlying

Re: Strange problem with structs Linux vs. Mac

2008-03-16 Thread Michael Wieher
you can specifify which encoding when you unpack the struct, so just try them till it works, or read the specs on the mac.. i find it quicker to try, there's only 4-5 2008/3/16, sturlamolden <[EMAIL PROTECTED]>: > > On 16 Mar, 18:23, "Martin Blume" <[EMAIL PROTECTED]> wrote: > > > This seems to im

Re: Strange problem with structs Linux vs. Mac

2008-03-16 Thread sturlamolden
On 16 Mar, 18:23, "Martin Blume" <[EMAIL PROTECTED]> wrote: > This seems to imply that the Mac, although running now on Intel > processors, is still big-endian. Or maybe the struct module thinks big-endian is native to all Macs? It could be a bug. -- http://mail.python.org/mailman/listinfo/p

Re: Strange problem with structs Linux vs. Mac

2008-03-16 Thread Martin Blume
"jasonwiener" schrieb > > I am having a VERY odd problem with unpacking right now. > I'm reading data from a binary file and then using a very > simple struct.unpack to get a long. Works fine on my MacBook, > but when I push it to a Linux box,it acts differently and > ends up pewking. > [...]

Re: Strange problem with structs Linux vs. Mac

2008-03-16 Thread Michael Wieher
try twiddling the unpack prefix, they're probably stored in different binary formats on the disk... on the struct helppage, is a list of prefixes, can be like unpack('=HI',data) unpack('@HI',data) etc... find out which one works on each machine 2008/3/16, jasonwiener <[EMAIL PROTECTED]>: > > H

Re: Strange problem: MySQL and python logging using two separate cursors

2008-01-11 Thread Chris Mellon
On Jan 9, 2008 11:52 AM, Dennis Lee Bieber <[EMAIL PROTECTED]> wrote: > On Wed, 9 Jan 2008 10:11:09 +0100, Frank Aune <[EMAIL PROTECTED]> > declaimed the following in comp.lang.python: > > > The only clue I have so far, is that the cursor in task 1 seems to be unable > > to "register" any new entri

Re: Strange problem: MySQL and python logging using two separate cursors

2008-01-11 Thread Frank Aune
On Wednesday 09 January 2008 18:52:02 Dennis Lee Bieber wrote: > On Wed, 9 Jan 2008 10:11:09 +0100, Frank Aune <[EMAIL PROTECTED]> > > declaimed the following in comp.lang.python: > > The only clue I have so far, is that the cursor in task 1 seems to be > > unable to "register" any new entries in t

Re: Strange problem when using re module with threads

2007-11-01 Thread Gabriel Genellina
En Thu, 01 Nov 2007 17:01:36 -0300, Wei Lee Woon <[EMAIL PROTECTED]> escribió: > I've been getting a rather strange problem with the following > multithreaded > code (reduced to the minimum which still results in the problem): > > import threading > import re > > class hey(threading.Thread): >

Re: strange problem using modules from my own package.

2007-02-08 Thread krishnakant Mane
On 09/02/07, Gabriel Genellina <[EMAIL PROTECTED]> wrote: > At Friday 9/2/2007 02:10, you wrote: > > Please keep posting on the list - you'll reach a whole lot of people > there... sorry, I had just hit the reply button and did not notice that python-list was not there. >my crystal ball I can see t

Re: strange problem using modules from my own package.

2007-02-08 Thread Gabriel Genellina
At Friday 9/2/2007 02:10, you wrote: Please keep posting on the list - you'll reach a whole lot of people there... On 09/02/07, Gabriel Genellina <[EMAIL PROTECTED]> wrote: It's a bit hard to tell from your description - would be better if you had copied the exact error messages. But the over

Re: strange problem using modules from my own package.

2007-02-08 Thread Gabriel Genellina
En Thu, 08 Feb 2007 18:40:39 -0300, krishnakant Mane <[EMAIL PROTECTED]> escribió: > I found a very strange kind of behaviour in python with my own package. > I created a package in which there were 4 modules and one __init__.py > file > I created the entire project in eclipse (pydev). > it wo

Re: strange problem

2006-10-24 Thread Steve Holden
ken wrote: > This file has 1,000,000+ lines in it, yet when I print the counter 'cin' > at EOF I get around 10,000 less lines. Any ideas? > > lineIn = > csv.reader(file("rits_feed\\rits_feed_US.csv",'rb'),delimiter='|') > for emp in lineIn: > cin=cin+1 > print cin My psyc

Re: strange problem

2006-10-24 Thread Bruno Desthuilliers
ken a écrit : > This file has 1,000,000+ lines in it, yet when I print the counter 'cin' > at EOF I get around 10,000 less lines. Any ideas? Not without seeing the file. But I'm not sure I want to see it !-) >lineIn = > csv.reader(file("rits_feed\\rits_feed_US.csv",'rb'),delimiter='|') >

Re: strange problem

2006-10-24 Thread Tim Chase
> This file has 1,000,000+ lines in it, yet when I print the counter 'cin' > at EOF I get around 10,000 less lines. Any ideas? > > lineIn = > csv.reader(file("rits_feed\\rits_feed_US.csv",'rb'),delimiter='|') > for emp in lineIn: > cin=cin+1 > print cin What happens if yo

Re: Strange problem with Tkinter... photos don't show on first iteration.

2006-08-14 Thread aldonnelley
And I say once again: I can't thank you enough. YOU ROCK! cheers, al. (Just changed the code in my main program, and it WORKS! The previous thankyou was only a preliminary.) ps I really like python, too. :) [EMAIL PROTECTED] wrote: > Yup, > That's the problem. Can't thank you enough. > I'd read

Re: Strange problem with Tkinter... photos don't show on first iteration.

2006-08-14 Thread aldonnelley
Yup, That's the problem. Can't thank you enough. I'd read about Tkinter "garbage collection", but, like car crashes and lung cancer, you never think it's going to happen to you... thanks once again. Cheers, Al. Fredrik Lundh wrote: > [EMAIL PROTECTED] wrote: > > > Just having a weird problem with

Re: Strange problem with Tkinter... photos don't show on first iteration.

2006-08-14 Thread Fredrik Lundh
[EMAIL PROTECTED] wrote: > Just having a weird problem with tkinter. I'm trying to make a gui that > shows results from an image search, with a "forward" and "back" button > so the user can compare results from different pages. All that's > working fine... > The problem I'm having is that the imag

Re: Strange problem when running python code

2006-04-05 Thread Steve Juranich
Dennis Lee Bieber wrote: > As an occassional dabbler in the Tarot, I can assure you that cards > are NOT used for "mind-reading"; they merely offer up a possible future > which must be interpreted in light of the querant's situation... (or, > since I typically read for myself -- the allow my subco

Re: Strange problem when running python code

2006-04-05 Thread Steven D'Aprano
On Tue, 04 Apr 2006 12:01:12 -0700, ishtar2020 wrote: > I must add, when the python interpreter displays the traceback, with > the line that is producing the error, it doesn't look like the one I > got in the code. I sometimes get that problem when I'm running code, I make a change in the source

Re: Strange problem when running python code

2006-04-05 Thread Fredrik Lundh
"ishtar2020" wrote: > It's quite puzzling. And if I change some lousy thing, like inserting a > newline between the sentences, the interpreter will find another error > somewhere else, even when that part of the code was working flaw- > lessly in previous runs what Python version are you using ?

Re: Strange problem when running python code

2006-04-04 Thread sushant . sirsikar
Are U Using any IDE for Python? If yes then check out the setting and make sure that u are running same code. -- http://mail.python.org/mailman/listinfo/python-list

Re: Strange problem when running python code

2006-04-04 Thread Christopher Weimann
On 04/04/2006-12:01PM, ishtar2020 wrote: > This is the line where the interpreter finds the error > >if text.list[i].toString() in limits:list)): <- Here is where That line has two extra close parens before the : Can you show the traceback? -- http://mail.python.org/mailman/listinfo

Re: Strange problem when running python code

2006-04-04 Thread James Stroud
ishtar2020 wrote: > Hi everybody > > I've been writing my very first application in Python and everything is > running smoothly, except for a strange problem that pops up every once > in a while. I'm sure is the kind > of newbie thing every seasoned programmer knows. > > Sometimes a receive stran

Re: Strange problem when running python code

2006-04-04 Thread Steve Juranich
Roy Smith wrote: > ishtar2020 <[EMAIL PROTECTED]> wrote: >>I've been writing my very first application in Python and everything is >>running smoothly, except for a strange problem that pops up every once >>in a while. I'm sure is the kind >>of newbie thing every seasoned programmer knows. > > Nob

Re: Strange problem when running python code

2006-04-04 Thread ishtar2020
I must add, when the python interpreter displays the traceback, with the line that is producing the error, it doesn't look like the one I got in the code. This is the line where the interpreter finds the error if text.list[i].toString() in limits:list)): <- Here is where the error is foun

Re: Strange problem when running python code

2006-04-04 Thread Roy Smith
ishtar2020 <[EMAIL PROTECTED]> wrote: >I've been writing my very first application in Python and everything is >running smoothly, except for a strange problem that pops up every once >in a while. I'm sure is the kind >of newbie thing every seasoned programmer knows. Nobody here has a crystal ball.

Re: Strange problem when running python code

2006-04-04 Thread Fredrik Lundh
"ishtar2020" wrote: > Sometimes a receive strange Syntax Errors from parts of code that > worked perfectly minutes ago. What's even more puzzling is that those > errors are pointed to another part of the module when I do some random, > innofensive changes in the code (like inserting a line or dele

Re: Strange problem when running python code

2006-04-04 Thread John Salerno
ishtar2020 wrote: > Hi everybody > > I've been writing my very first application in Python and everything is > running smoothly, except for a strange problem that pops up every once > in a while. I'm sure is the kind > of newbie thing every seasoned programmer knows. > > Sometimes a receive stran

Re: Strange problem when running python code

2006-04-04 Thread Brian Beck
For certain errors like Syntax Errors, you'll get a much more helpful response if you post some actual code. Strip it down if you have to, but make sure we can reproduce the errors. -- Brian Beck Adventurer of the First Order -- http://mail.python.org/mailman/listinfo/python-list