On 1/27/2012 10:38 AM nikos spanakis said...
Hi
I just minstalled python 3.1 on my windons XP SP3
but on the start up I get the following error message:
You don't say what you specifically installed, but for windows you may
find activestates distribution a good fit. See
http://www.activest
Hi
I just minstalled python 3.1 on my windons XP SP3
but on the start up I get the following error message:
Fatal Python error: Py_Initialize: can't initialize sys standard streams
ImportError: No module named encodings.utf_8
This application has requested the Runtime to terminate it in an
On 01Dec2010 17:27, David Brown wrote:
| Thanks for the clarification
No worries.
| I like the idea of wrapping all the
| primary code in the script to a main function then calling it if its
| being called by main.
I find that useful too. I've got a few modules-that-implement-commands
that look
On Wed, Dec 1, 2010 at 5:19 PM, Cameron Simpson wrote:
> On 01Dec2010 16:49, David Brown wrote:
> | So I'm not subscribed to python-list but would like to get an answer
> | to my question. I've made a small test program that dumps a
> | RuntimeError and I'd like to know why.
> |
> | $ python test
On 01Dec2010 16:49, David Brown wrote:
| So I'm not subscribed to python-list but would like to get an answer
| to my question. I've made a small test program that dumps a
| RuntimeError and I'd like to know why.
|
| $ python test2.py
| doing stuff
| Traceback (most recent call last):
| File "t
On Thu, Dec 2, 2010 at 10:59 AM, Chris Rebert wrote:
> On Wed, Dec 1, 2010 at 4:49 PM, David Brown wrote:
>> So I'm not subscribed to python-list but would like to get an answer
>> to my question. I've made a small test program that dumps a
>> RuntimeError and I'd like to know why.
>>
>> $ python
t; print "child %d exited with %d" % os.wait()
>
> It's *quite* strange for a module that's being imported to execute a
> fork() in its body; this is almost assuredly the cause of the
> RuntimeError. Why are you fork()ing in an importable module in the
> first place?
On Wed, Dec 1, 2010 at 4:49 PM, David Brown wrote:
> So I'm not subscribed to python-list but would like to get an answer
> to my question. I've made a small test program that dumps a
> RuntimeError and I'd like to know why.
>
> $ python test2.py
> doing stuff
> Traceback (most recent call last):
So I'm not subscribed to python-list but would like to get an answer
to my question. I've made a small test program that dumps a
RuntimeError and I'd like to know why.
$ python test2.py
doing stuff
Traceback (most recent call last):
File "test2.py", line 3, in
import test
RuntimeError: not
On Oct 29, 3:26 am, Sebastian wrote:
> Hi all,
>
> I am new to python and I don't know how to fix this error. I only try to
> execute python (or a cgi script) and I get an ouptu like
>
> [...]
> 'import site' failed; traceback:
> Traceback (most recent call last):
> File "/usr/lib/python2.6/site.p
On Thu, 28 Oct 2010 18:26:49 +0200, Sebastian wrote:
> Hi all,
>
> I am new to python and I don't know how to fix this error. I only try to
> execute python (or a cgi script) and I get an ouptu like
>
> [...]
> 'import site' failed; traceback:
> Traceback (most recent call last):
> File "/usr/lib
Hi all,
I am new to python and I don't know how to fix this error. I only try to
execute python (or a cgi script) and I get an ouptu like
[...]
'import site' failed; traceback:
Traceback (most recent call last):
File "/usr/lib/python2.6/site.py", line 513, in
main()
File "/usr/lib/python2.6/s
Hi all,
I am new to python and I don't know how to fix this error. I only try to
execute python (or a cgi script) and I get an ouptu like
[...]
'import site' failed; traceback:
Traceback (most recent call last):
File "/usr/lib/python2.6/site.py", line 513, in
main()
File "/usr/lib/python2.6/s
On Jun 30, 3:10 pm, Thomas Jollans wrote:
> On 06/30/2010 01:20 PM, Baris CUHADAR wrote:
>
>
>
> > On Jun 30, 12:06 pm, Christian Heimes wrote:
> >>> Actually i wrote some scripts in python that are working as gateway
> >>> controlling scripts iptables/tc/squid-proxy, and i want to execute
> >>>
On 06/30/2010 01:20 PM, Baris CUHADAR wrote:
> On Jun 30, 12:06 pm, Christian Heimes wrote:
>>> Actually i wrote some scripts in python that are working as gateway
>>> controlling scripts iptables/tc/squid-proxy, and i want to execute
>>> them as cgi. Protection of source code is also important. T
On Jun 30, 2:20 pm, Baris CUHADAR <189...@gmail.com> wrote:
> On Jun 30, 12:06 pm, Christian Heimes wrote:
>
> > > Actually i wrote some scripts in python that are working as gateway
> > > controlling scripts iptables/tc/squid-proxy, and i want to execute
> > > them as cgi. Protection of source co
On Jun 30, 12:06 pm, Christian Heimes wrote:
> > Actually i wrote some scripts in python that are working as gateway
> > controlling scripts iptables/tc/squid-proxy, and i want to execute
> > them as cgi. Protection of source code is also important. These
> > scripts works fine with ubuntu 9.10 an
> Actually i wrote some scripts in python that are working as gateway
> controlling scripts iptables/tc/squid-proxy, and i want to execute
> them as cgi. Protection of source code is also important. These
> scripts works fine with ubuntu 9.10 and ubuntu 10.04, trying to
> eleminate this execution e
On Jun 30, 11:31 am, Rami Chowdhury wrote:
> On 2010-06-30 01:06, Baris CUHADAR wrote:
>
> > Can anyone explain this unexpected behavior?
>
> I'm sorry -- can you let us know what behavior you're expecting?
>
> > all files chmod 755, i've compiled x.py with py_compilefiles,
> > also tried within p
On 2010-06-30 01:06, Baris CUHADAR wrote:
> Can anyone explain this unexpected behavior?
I'm sorry -- can you let us know what behavior you're expecting?
> all files chmod 755, i've compiled x.py with py_compilefiles,
> also tried within python console with "import x"
>
> system: centos 5.4 32b
On Wed, Jun 30, 2010 at 1:06 AM, Baris CUHADAR <189...@gmail.com> wrote:
> Can anyone explain this unexpected behavior?
> all files chmod 755, i've compiled x.py with py_compilefiles,
> also tried within python console with "import x"
>
> system: centos 5.4 32bit
>
> This a PATH related problem i
Can anyone explain this unexpected behavior?
all files chmod 755, i've compiled x.py with py_compilefiles,
also tried within python console with "import x"
system: centos 5.4 32bit
This a PATH related problem i think?
[r...@centos-14 cgi-bin]# ./x.pyc
: command not found
./x.pyc: line 2: synta
Gabriel Genellina wrote:
En Sun, 12 Oct 2008 23:45:15 -0300, W. eWatson <[EMAIL PROTECTED]>
escribió:
The meat of the matter is the Fatal error msg I copied below. To me it
indicates a serious error. Maybe some developer can sort it out.
From above post.
++
A
En Sun, 12 Oct 2008 23:45:15 -0300, W. eWatson <[EMAIL PROTECTED]>
escribió:
The meat of the matter is the Fatal error msg I copied below. To me it
indicates a serious error. Maybe some developer can sort it out.
From above post.
++
Ah, a tiny break through.
Thanks for the help, but I'm bowing out of this graphics problem. This
should have been a snap, but has turned into a detour. I'll get back to the
python program I was considering for it, and just work without the scatter
plot. It's easily done. It would just look prettier in a plot.
The meat
Ah, a tiny break through. I got
C:\Python24\python myprogram.py aprog.py. I copied the program to this folder.
I don't seem to be able to copy the window, so I see pretty much what I had
before from a dialog that popped up, except it adds:
Fatal Pyton error: Pystring_InterInPlace: strings only p
Dennis Lee Bieber wrote:
On Sun, 12 Oct 2008 15:07:57 -0700, "W. eWatson"
<[EMAIL PROTECTED]> declaimed the following in comp.lang.python:
I worked my way into the folder where the py program is, but couldn't
executed. Just entering aprog.py, run aprog.py or exec aprog.py didn't work.
John Machin wrote:
On Oct 13, 9:07 am, "W. eWatson" <[EMAIL PROTECTED]> wrote:
I worked my way into the folder where the py program is, but couldn't
executed. Just entering aprog.py, run aprog.py or exec aprog.py didn't work.
One wouldn't expect the "run" or the "exec" to work.
Try these in
On Oct 13, 9:07 am, "W. eWatson" <[EMAIL PROTECTED]> wrote:
>
> I worked my way into the folder where the py program is, but couldn't
> executed. Just entering aprog.py, run aprog.py or exec aprog.py didn't work.
One wouldn't expect the "run" or the "exec" to work.
Try these in this order:
pytho
Dennis Lee Bieber wrote:
On Sun, 12 Oct 2008 12:56:26 -0700, "W. eWatson"
<[EMAIL PROTECTED]> declaimed the following in comp.lang.python:
Oddly when I use cmd, it gets me to settings and docs. If I try c:\whatever
I get a msg, and it remains in the same folder.
That's likely the def
On Sun, Oct 12, 2008 at 3:56 PM, W. eWatson <[EMAIL PROTECTED]> wrote:
>
> Thanks.
>
> Oddly when I use cmd, it gets me to settings and docs. If I try c:\whatever
> I get a msg, and it remains in the same folder.
>
Are you just typing "C:\whatever" or did you type in "chdir C:\whatever"?
--
http
Dennis Lee Bieber wrote:
On Sun, 12 Oct 2008 11:24:32 -0700, "W. eWatson"
<[EMAIL PROTECTED]> declaimed the following in comp.lang.python:
available there. I've long forgotten how to get a console window up in Win
XP. I can strip it all the code way down to the from, and it will fail the
same
I copied the following code from a matplotlib tutorial, and it fails. I'm
using python 2.4 on Win XP. It's matplotlib-0.98.3.win32-py2.4exe. It fails
in IDLE with a small window showing a runtime error. Clicking the OK on it
kills IDLE and the shell. If I double-click on the py
3 AM
Subject: Re: Runtime Error when loading ".pyd" module
> Terry Tang wrote:
>
> > it hits a "Runtime Error" (which is shown in a message box saying
"abnormal
> > program termination") and a message like the following is printed in the
> > console:
Terry Tang wrote:
> it hits a "Runtime Error" (which is shown in a message box saying "abnormal
> program termination") and a message like the following is printed in the
> console:
> Fatal Python error: Interpreter not initialized (version mismatch?)
both the mai
kinter; # which finally calls: import _tkinter
or
import datetime
it hits a "Runtime Error" (which is shown in a message box saying "abnormal
program termination") and a message like the following is printed in the
console:
Fatal Python error: Interpreter not initialized (
36 matches
Mail list logo