Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #48405
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.freenet.ag!news2.euro.net!newsfeed.xs4all.nl!newsfeed4.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.000 |
| X-Spam-Evidence | '*H*': 1.00; '*S*': 0.00; 'subject:error': 0.03; 'syntax': 0.04; 'mrab': 0.05; 'subject:Python': 0.06; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'skip:\\ 10': 0.09; 'python': 0.11; 'jan': 0.12; "','": 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'reedy': 0.16; 'subject: \n ': 0.16; 'syntaxerror:': 0.16; 'wrote:': 0.18; 'trying': 0.19; 'examples': 0.20; 'written': 0.21; '>>>': 0.22; 'header:User-Agent:1': 0.23; 'error': 0.23; 'file.': 0.24; 'looks': 0.24; 'header:X-Complaints-To:1': 0.27; 'header:In- Reply-To:1': 0.27; 'tried': 0.27; 'point': 0.28; 'raise': 0.29; 'code': 0.31; 'run': 0.32; 'beginning': 0.33; 'case,': 0.35; 'really': 0.36; 'should': 0.36; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'previous': 0.38; 'subject:can': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'even': 0.60; 'then,': 0.60; 'received:173': 0.61; 'invalid': 0.68; 'line,': 0.68; 'received:fios.verizon.net': 0.84 |
| X-Injected-Via-Gmane | http://gmane.org/ |
| To | python-list@python.org |
| From | Terry Reedy <tjreedy@udel.edu> |
| Subject | Re: Fatal Python error: Py_Initialize: can't initialize sys standard streams |
| Date | Sat, 15 Jun 2013 23:09:41 -0400 |
| References | <cc21e7aa-b934-4d91-8856-40fbee0bd2d4@googlegroups.com> <ed0ea7b6-7637-4e53-a946-90e8759d8625@y3g2000pbl.googlegroups.com> <51BD00CF.7080401@mrabarnett.plus.com> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=UTF-8; format=flowed |
| Content-Transfer-Encoding | 7bit |
| X-Gmane-NNTP-Posting-Host | pool-173-75-251-66.phlapa.fios.verizon.net |
| User-Agent | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 |
| In-Reply-To | <51BD00CF.7080401@mrabarnett.plus.com> |
| 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.3425.1371352199.3114.python-list@python.org> (permalink) |
| Lines | 18 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1371352199 news.xs4all.nl 15918 [2001:888:2000:d::a6]:33747 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:48405 |
Show key headers only | View raw
On 6/15/2013 8:03 PM, MRAB wrote: > On 15/06/2013 23:10, alex23 wrote: \__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. If that is the case, the ^ should be under the ',' (and perhaps it once was ;-). If really at the beginning of the line, then the error must be on the previous line. Even then, the examples I have tried point to the 'e' or 'raise'. Take a look in the file. -- Terry Jan Reedy
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll 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