Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #41088
| Path | csiph.com!usenet.pasdenom.info!aioe.org!eternal-september.org!feeder.eternal-september.org!newsfeed101.telia.com!starscream.dk.telia.net!news.tele.dk!news.tele.dk!small.news.tele.dk!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <ian.g.kelly@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.004 |
| X-Spam-Evidence | '*H*': 0.99; '*S*': 0.00; 'syntax': 0.03; 'error:': 0.05; 'skip:" 60': 0.05; 'setup.py': 0.07; 'python': 0.09; 'files.': 0.13; '__version__': 0.16; 'jaime': 0.16; 'keyword.': 0.16; 'subject:Problem': 0.16; 'syntaxerror:': 0.16; 'mon,': 0.16; 'wrote:': 0.17; 'import': 0.21; '3.x': 0.22; 'downloaded': 0.24; 'header:In-Reply-To:1': 0.25; '(most': 0.27; 'message- id:@mail.gmail.com': 0.27; 'run': 0.28; 'probably': 0.29; 'error': 0.30; 'file': 0.32; 'running': 0.32; '11,': 0.33; 'traceback': 0.33; 'to:addr:python-list': 0.33; 'another': 0.33; 'version': 0.34; 'received:google.com': 0.34; 'pm,': 0.35; 'received:209.85.220': 0.35; 'received:209.85': 0.35; 'received:209': 0.37; 'subject:: ': 0.38; 'supports': 0.38; 'to:addr:python.org': 0.39; 'your': 0.60; 'solve': 0.62; 'charset:windows-1252': 0.65; '2013': 0.84; 'to:name:python': 0.84 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:content-type:content-transfer-encoding; bh=f0IwiEPgmMuqSsp7Z83Z/LbEeOW3WAnM1FDLHu7YbVA=; b=aOeDct2hm7pGpJqv4T8IOV4hJ+ykXVOpnvM5FJc/UiHtR6A0i6uDaBSxKi2cO0auM0 MpiawrMWW9RuuuBinM8OqLAmQFl6uHxQMnvDoSI3HDhxoM5jV7U/CYwNarMtD1RsWxcF napJXj3MzL9n4YyDK9ZeipmN1qr/DzBlRgpKDRQOz9WCOCn5kwSYHOHZR5chu7+m932R C4KtTcbup6GIEPL6GYIXMZk1hoLT7PUK8vY9Da/8bQGxcngX0HNWoxK0j/9fUNFjcJ0S MpeR3p9UxTGdZgJqwdmmdFzVDZhaZr57AhWaEi49tgcGJmSDAqCX+3JNCfAKboNtBcJZ m7MA== |
| X-Received | by 10.52.76.103 with SMTP id j7mr4783388vdw.90.1363032957298; Mon, 11 Mar 2013 13:15:57 -0700 (PDT) |
| MIME-Version | 1.0 |
| In-Reply-To | <009f01ce1e8a$03e89f60$0bb9de20$@com> |
| References | <009f01ce1e8a$03e89f60$0bb9de20$@com> |
| From | Ian Kelly <ian.g.kelly@gmail.com> |
| Date | Mon, 11 Mar 2013 14:15:17 -0600 |
| Subject | Re: Problem installing Pyparsing |
| To | Python <python-list@python.org> |
| Content-Type | text/plain; charset=windows-1252 |
| Content-Transfer-Encoding | quoted-printable |
| 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.3205.1363032964.2939.python-list@python.org> (permalink) |
| Lines | 24 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1363032964 news.xs4all.nl 6988 [2001:888:2000:d::a6]:56584 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:41088 |
Show key headers only | View raw
On Mon, Mar 11, 2013 at 12:55 PM, Jaime Stuardo <jstuardo@desytec.com> wrote: > Hello… > > I have downloaded pyparsing-2.0.0 files. When I run “python setup.py > install” I get this error: > > Traceback (most recent call last): > File "setup.py", line 9, in <module> > from pyparsing import __version__ as pyparsing_version > File "/tmp/openerp-7.0-20130311-002114/pyparsing-2.0.0/pyparsing.py", line > 629 > nonlocal limit,foundArity > ^ > SyntaxError: invalid syntax > > > How can I solve it? nonlocal is a Python 3 keyword. The error suggests that you are probably running this with Python 2. Either upgrade your Python version to 3.x or find another version of pyparsing that supports Python 2.
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: Problem installing Pyparsing Ian Kelly <ian.g.kelly@gmail.com> - 2013-03-11 14:15 -0600
csiph-web