gjhiggins/rdflib — Issue #191: "python setup.py egg_info": except TypeError, te: SyntaxError: invalid syntax
Author: gjhiggins
Created: 2011-10-19 01:37:41+00:00
State: open

Originally filed by brianomi...@gmail.com on 2011-09-22T15:09:17

Installing selenium and getting python SyntaxError from rdflib.

brianos-macbook-pro:rdflib briano$ uname -a
Darwin brianos-macbook-pro.local 10.8.0 Darwin Kernel Version 10.8.0: Tue Jun 7 16:33:36 PDT 2011; root:xnu-1504.15.3~1/RELEASE_I386 i386
brianos-macbook-pro:rdflib briano$

brianos-macbook-pro:rdflib briano$ python --version
Python 3.2.2
brianos-macbook-pro:rdflib briano$

brianos-macbook-pro:~ briano$ pip install selenium
Downloading/unpacking selenium
Real name of requirement selenium is selenium
Downloading selenium-2.6.0.tar.gz (2.4Mb): 2.4Mb downloaded
Running setup.py egg_info for package selenium
no previously-included directories found matching '*'
Skipping implicit fixer: buffer
Skipping implicit fixer: idioms
Skipping implicit fixer: set_literal
Skipping implicit fixer: ws_comma

Downloading/unpacking rdflib==3.1.0 (from selenium)
Real name of requirement rdflib is rdflib
Downloading rdflib-3.1.0.tar.gz (249Kb): 249Kb downloaded
Running setup.py egg_info for package rdflib
Traceback (most recent call last):
File "", line 14, in
File "/Users/briano/build/rdflib/setup.py", line 6, in
from rdflib import __version__
File "rdflib/__init__.py", line 64, in
from rdflib.term import URIRef, BNode, Literal, Variable
File "rdflib/term.py", line 367
except TypeError, te:
^
SyntaxError: invalid syntax
Complete output from command python setup.py egg_info:
Traceback (most recent call last):

File "", line 14, in

File "/Users/briano/build/rdflib/setup.py", line 6, in

from rdflib import __version__

File "rdflib/__init__.py", line 64, in

from rdflib.term import URIRef, BNode, Literal, Variable

File "rdflib/term.py", line 367

except TypeError, te:

^

SyntaxError: invalid syntax

----------------------------------------
Command python setup.py egg_info failed with error code 1
Storing complete log in /Users/briano/.pip/pip.log
brianos-macbook-pro:~ briano$
brianos-macbook-pro:~ briano$
brianos-macbook-pro:~ briano$
brianos-macbook-pro:~ briano$
brianos-macbook-pro:~ briano$
brianos-macbook-pro:~ briano$ cd /Users/briano/build/rdflib
brianos-macbook-pro:rdflib briano$
brianos-macbook-pro:rdflib briano$
brianos-macbook-pro:rdflib briano$
brianos-macbook-pro:rdflib briano$ python setup.py egg_info
Traceback (most recent call last):
File "setup.py", line 6, in
from rdflib import __version__
File "/Users/briano/build/rdflib/rdflib/__init__.py", line 64, in
from rdflib.term import URIRef, BNode, Literal, Variable
File "/Users/briano/build/rdflib/rdflib/term.py", line 367
except TypeError, te:
^
SyntaxError: invalid syntax
brianos-macbook-pro:rdflib briano$