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 &
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
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
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
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
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
> > 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
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
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
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
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', '',
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
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
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
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
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
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
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
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
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
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
"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
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
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
"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
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
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
"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.
> [...]
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
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
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
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):
>
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
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
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
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
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='|')
>
> 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
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
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
[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
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
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
"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 ?
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
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
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
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
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
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.
"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
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
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
53 matches
Mail list logo