Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #48375

Re: Fatal Python error: Py_Initialize: can't initialize sys standard streams

From Mark Lawrence <breamoreboy@yahoo.co.uk>
Subject Re: Fatal Python error: Py_Initialize: can't initialize sys standard streams
Date 2013-06-15 22:43 +0100
References <cc21e7aa-b934-4d91-8856-40fbee0bd2d4@googlegroups.com>
Newsgroups comp.lang.python
Message-ID <mailman.3413.1371332609.3114.python-list@python.org> (permalink)

Show all headers | View raw


On 15/06/2013 22:29, lucabrasi154@gmail.com wrote:
> I get this error when I try to save .dxf files in Inkscape:
>
> Fatal Python error: Py_Initialize: can't initialize sys standard streams
>
> Then it seems to recover but it doesn't really recover. It saves the files and then DraftSite won't open them. Here is what the thing says when Inkscape tried to fix the saving problem.
>
> File "D:\Program Files (x86)\Inkscape\python\Lib\encodings\__init__.py", line 123
> raise CodecRegistryError,\
> ^
> SyntaxError: invalid syntax
>
> Here are my computer specs if you need them:
>
> Tech Support Guy System Info Utility version 1.0.0.2
> OS Version: Microsoft Windows 7 Ultimate, Service Pack 1, 64 bit
> Processor: AMD FX(tm)-6100 Six-Core Processor, AMD64 Family 21 Model 1 Stepping 2
> Processor Count: 6
> RAM: 16330 Mb
> Graphics Card: NVIDIA GeForce GTX 560, 1024 Mb
> Hard Drives: C: Total - 239806 MB, Free - 39808 MB; D: Total - 61553 MB, Free - 46085 MB; F: Total - 1907726 MB, Free - 1461558 MB;
> Motherboard: ASUSTeK COMPUTER INC., M5A97
> Antivirus: avast! Internet Security, Updated and Enabled
>
> Any help would be appreciated. I posted on another forum http://forums.techguy.org  but no one answered, as of yet anyway.  It is kind of weird because they answer everything. So I am assuming only Python users might know.
>
> Thank you for considering my problem.
>

Your Python version would help :)  How did you install Inkscape?  It 
looks strange to see it in Program Files, I'd normally expect to see it 
in the site packages directory.

-- 
"Steve is going for the pink ball - and for those of you who are 
watching in black and white, the pink is next to the green." Snooker 
commentator 'Whispering' Ted Lowe.

Mark Lawrence

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Fatal Python error: Py_Initialize: can't initialize sys standard streams lucabrasi154@gmail.com - 2013-06-15 14:29 -0700
  Re: Fatal Python error: Py_Initialize: can't initialize sys standard streams Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-06-15 22:43 +0100
    Re: Fatal Python error: Py_Initialize: can't initialize sys standard streams alex23 <wuwei23@gmail.com> - 2013-06-15 15:06 -0700
  Re: Fatal Python error: Py_Initialize: can't initialize sys standard streams alex23 <wuwei23@gmail.com> - 2013-06-15 15:10 -0700
    Re: Fatal Python error: Py_Initialize: can't initialize sys standard streams lucabrasi <lucabrasi154@gmail.com> - 2013-06-15 15:53 -0700
    Re: Fatal Python error: Py_Initialize: can't initialize sys standard streams MRAB <python@mrabarnett.plus.com> - 2013-06-16 01:03 +0100
      Re: Fatal Python error: Py_Initialize: can't initialize sys standard streams lucabrasi <lucabrasi154@gmail.com> - 2013-06-15 19:44 -0700
        Re: Fatal Python error: Py_Initialize: can't initialize sys standard streams lucabrasi <lucabrasi154@gmail.com> - 2013-06-15 19:46 -0700
        Re: Fatal Python error: Py_Initialize: can't initialize sys standard streams Dave Angel <davea@davea.name> - 2013-06-15 22:55 -0400
    Re: Fatal Python error: Py_Initialize: can't initialize sys standard streams Terry Reedy <tjreedy@udel.edu> - 2013-06-15 23:09 -0400
    Re: Fatal Python error: Py_Initialize: can't initialize sys standard streams Larry Hudson <orgnut@yahoo.com> - 2013-06-15 21:09 -0700
      Re: Fatal Python error: Py_Initialize: can't initialize sys standard streams alex23 <wuwei23@gmail.com> - 2013-06-17 21:47 -0700

csiph-web