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


Groups > comp.lang.python > #48388

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

Path csiph.com!usenet.pasdenom.info!news.albasani.net!newsfeed.freenet.ag!news2.euro.net!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <python@mrabarnett.plus.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.002
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'subject:error': 0.03; '16,': 0.03; 'syntax': 0.04; 'url:au': 0.05; 'subject:Python': 0.06; 'error:': 0.07; 'initialize': 0.07; 'rename': 0.07; 'sys': 0.07; 'ugly': 0.07; 'page)': 0.09; 'python': 0.11; 'translation': 0.12; '(sorry': 0.16; 'from:addr:mrabarnett.plus.com': 0.16; 'from:addr:python': 0.16; 'from:name:mrab': 0.16; 'message- id:@mrabarnett.plus.com': 0.16; 'subject: \n ': 0.16; 'syntaxerror:': 0.16; 'url:inkscape': 0.16; 'folder': 0.16; 'language': 0.16; 'fix': 0.17; 'wrote:': 0.18; 'trying': 0.19; 'written': 0.21; 'seems': 0.21; 'python?': 0.22; 'separate': 0.22; 'install': 0.23; 'installation': 0.23; 'header:User-Agent:1': 0.23; 'error': 0.23; 'url:%3f': 0.24; 'looks': 0.24; 'header:In- Reply-To:1': 0.27; 'tried': 0.27; 'am,': 0.29; 'raise': 0.29; "doesn't": 0.30; 'skip:( 40': 0.30; '(which': 0.31; 'code': 0.31; 'file': 0.32; 'run': 0.32; 'open': 0.33; 'says': 0.33; "can't": 0.35; 'problem.': 0.35; 'something': 0.35; 'but': 0.35; 'google': 0.35; 'really': 0.36; 'possible': 0.36; 'similar': 0.36; 'url:org': 0.36; 'saves': 0.38; 'to:addr:python-list': 0.38; 'files': 0.38; 'issue': 0.38; 'subject:can': 0.39; 'to:addr:python.org': 0.39; 'temporarily': 0.60; 'break': 0.61; 'french': 0.61; 'url:u': 0.61; 'save': 0.62; 'email addr:gmail.com': 0.63; 'url:http': 0.64; 'here': 0.66; 'header :Reply-To:1': 0.67; 'invalid': 0.68; 'saving': 0.69; 'reply-to:no real name:2**0': 0.71; 'url:search': 0.81; 'reply- to:addr:python.org': 0.84; 'streams': 0.84; 'url:sl': 0.84; 'url:translate': 0.84; 'url:php': 0.85; 'recover': 0.91; 'url:%2b': 0.93; 'url:fr': 0.93
X-CM-Score 0.00
X-CNFS-Analysis v=2.1 cv=KrN0hwmN c=1 sm=1 tr=0 a=0nF1XD0wxitMEM03M9B4ZQ==:117 a=0nF1XD0wxitMEM03M9B4ZQ==:17 a=0Bzu9jTXAAAA:8 a=oyR3mlnJdzkA:10 a=VM_3dh5brjEA:10 a=ihvODaAuJD4A:10 a=OUOv7kDek9cA:10 a=8nJEP1OIZ-IA:10 a=EBOSESyhAAAA:8 a=8AHkEIZyAAAA:8 a=weJkHdZ57zYA:10 a=pGLkceISAAAA:8 a=hf7IuuiaAAAA:8 a=dIu3SnmMAAAA:8 a=j2zLm4hH8ZlKRhXfNekA:9 a=d9t2dcz4gYGPFLrc:21 a=wPNLvfGTeEIA:10 a=Mf4lltpggsEA:10 a=MSl-tDqOz04A:10 a=P--wtIJcawIA:10
X-AUTH mrabarnett:2500
Date Sun, 16 Jun 2013 01:03:27 +0100
From MRAB <python@mrabarnett.plus.com>
User-Agent Mozilla/5.0 (Windows NT 5.1; rv:17.0) Gecko/20130509 Thunderbird/17.0.6
MIME-Version 1.0
To python-list@python.org
Subject Re: Fatal Python error: Py_Initialize: can't initialize sys standard streams
References <cc21e7aa-b934-4d91-8856-40fbee0bd2d4@googlegroups.com> <ed0ea7b6-7637-4e53-a946-90e8759d8625@y3g2000pbl.googlegroups.com>
In-Reply-To <ed0ea7b6-7637-4e53-a946-90e8759d8625@y3g2000pbl.googlegroups.com>
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
Reply-To python-list@python.org
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.3420.1371341002.3114.python-list@python.org> (permalink)
Lines 31
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1371341002 news.xs4all.nl 15909 [2001:888:2000:d::a6]:33094
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:48388

Show key headers only | View raw


On 15/06/2013 23:10, alex23 wrote:
> On Jun 16, 7:29 am, lucabrasi...@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.
>
> What do you mean by "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
>
To me that traceback looks like it's Python 3 trying to run code written 
for Python 2.

> Here's a report of a similar issue with Blender (which also provides a
> local install of Python under Windows):
> http://translate.google.com.au/translate?hl=en&sl=fr&u=http://blenderclan.tuxfamily.org/html/modules/newbb/viewtopic.php%3Ftopic_id%3D36497&prev=/search%3Fq%3Dinkscape%2BCodecRegistryError
>
> (Sorry for the ugly url, it's a Google translation of a french
> language page)
>
> Do you have a separate installation of Python? It's possible it may be
> conflicting. If you rename it's folder to something else (which will
> temporarily break that install), do you still see this same issue in
> Inkscape?
>

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