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

Path csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.001
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'subject:error': 0.03; 'from:addr:yahoo.co.uk': 0.04; 'syntax': 0.04; 'anyway.': 0.05; 'subject:Python': 0.06; 'error:': 0.07; 'initialize': 0.07; 'sys': 0.07; 'assuming': 0.09; 'lawrence': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'python': 0.11; 'posted': 0.15; 'windows': 0.15; 'amd': 0.16; 'amd64': 0.16; 'processor,': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'stepping': 0.16; 'subject: \n ': 0.16; 'syntaxerror:': 0.16; 'weird': 0.16; 'fix': 0.17; 'wrote:': 0.18; 'bit': 0.19; 'normally': 0.19; 'seems': 0.21; 'install': 0.23; 'header:User- Agent:1': 0.23; 'error': 0.23; 'directory.': 0.24; 'processor': 0.24; 'looks': 0.24; 'header:X-Complaints-To:1': 0.27; 'header:In- Reply-To:1': 0.27; 'tried': 0.27; 'appreciated.': 0.29; 'raise': 0.29; "doesn't": 0.30; 'skip:( 40': 0.30; 'ball': 0.31; 'enabled': 0.31; 'file': 0.32; 'know.': 0.32; 'another': 0.32; 'open': 0.33; 'says': 0.33; 'updated': 0.34; "i'd": 0.34; "can't": 0.35; 'info': 0.35; 'problem.': 0.35; 'but': 0.35; 'version': 0.36; 'really': 0.36; 'tech': 0.36; 'version:': 0.36; 'next': 0.36; 'url:org': 0.36; 'thank': 0.38; 'saves': 0.38; 'security,': 0.38; 'to:addr :python-list': 0.38; 'files': 0.38; 'expect': 0.39; 'subject:can': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'users': 0.40; 'how': 0.40; 'guy': 0.60; 'free': 0.61; 'black': 0.61; 'forum': 0.61; 'save': 0.62; 'email addr:gmail.com': 0.63; 'kind': 0.63; 'total': 0.65; 'here': 0.66; 'invalid': 0.68; 'watching': 0.68; 'saving': 0.69; 'internet': 0.71; 'family': 0.73; 'answered,': 0.84; 'everything.': 0.84; 'streams': 0.84; 'url:forums': 0.84; 'white,': 0.84; 'received:89': 0.85; 'recover': 0.91
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Mark Lawrence <breamoreboy@yahoo.co.uk>
Subject Re: Fatal Python error: Py_Initialize: can't initialize sys standard streams
Date Sat, 15 Jun 2013 22:43:11 +0100
References <cc21e7aa-b934-4d91-8856-40fbee0bd2d4@googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
X-Gmane-NNTP-Posting-Host host-89-240-174-199.as13285.net
User-Agent Mozilla/5.0 (Windows NT 6.0; rv:17.0) Gecko/20130509 Thunderbird/17.0.6
In-Reply-To <cc21e7aa-b934-4d91-8856-40fbee0bd2d4@googlegroups.com>
X-Antivirus avast! (VPS 130615-1, 15/06/2013), Outbound message
X-Antivirus-Status Clean
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.3413.1371332609.3114.python-list@python.org> (permalink)
Lines 40
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1371332609 news.xs4all.nl 15970 [2001:888:2000:d::a6]:59594
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:48375

Show key headers only | 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