Skip to content

Instantly share code, notes, and snippets.

@turicas
Created February 27, 2013 08:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save turicas/5046284 to your computer and use it in GitHub Desktop.
Save turicas/5046284 to your computer and use it in GitHub Desktop.
pyparsing 2.0.0 installation error
alvaro@ideas:/tmp
$ virtualenv
alvaro@ideas:/tmp
$ virtualenv pyparsing-test
New python executable in pyparsing-test/bin/python
Installing setuptools............done.
Installing pip...............done.
alvaro@ideas:/tmp
$ source pyparsing-test/bin/activate
(pyparsing-test)alvaro@ideas:/tmp
$ pip install python-graph-dot
Downloading/unpacking python-graph-dot
Downloading python-graph-dot-1.8.2.tar.gz
Running setup.py egg_info for package python-graph-dot
Downloading/unpacking python-graph-core==1.8.2 (from python-graph-dot)
Downloading python-graph-core-1.8.2.tar.gz
Running setup.py egg_info for package python-graph-core
Downloading/unpacking pydot (from python-graph-dot)
Downloading pydot-1.0.28.tar.gz
Running setup.py egg_info for package pydot
Couldn't import dot_parser, loading of dot files will not be possible.
Downloading/unpacking pyparsing (from pydot->python-graph-dot)
Downloading pyparsing-2.0.0.zip (1.3MB): 1.3MB downloaded
Running setup.py egg_info for package pyparsing
Traceback (most recent call last):
File "<string>", line 16, in <module>
File "/tmp/pyparsing-test/build/pyparsing/setup.py", line 9, in <module>
from pyparsing import __version__ as pyparsing_version
File "pyparsing.py", line 629
nonlocal limit,foundArity
^
SyntaxError: invalid syntax
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 16, in <module>
File "/tmp/pyparsing-test/build/pyparsing/setup.py", line 9, in <module>
from pyparsing import __version__ as pyparsing_version
File "pyparsing.py", line 629
nonlocal limit,foundArity
^
SyntaxError: invalid syntax
----------------------------------------
Command python setup.py egg_info failed with error code 1 in /tmp/pyparsing-test/build/pyparsing
Storing complete log in /home/alvaro/.pip/pip.log
cd /tmp
virtualenv pyparsing-test
source pyparsing-test/bin/activate
pip install python-graph-dot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment