errors installing groovy on mac osx homebrew (pydot)
I am getting the following error while trying to do a fresh install of groovy on my mac (10.7.5) with homebrew:
Any suggestions?
$ rosdep install --from-paths src --ignore-src --rosdistro groovy -y
executing command [sudo pip install -U pydot]
Password:
Downloading/unpacking pydot
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)
Running setup.py egg_info for package pyparsing
Traceback (most recent call last):
File "<string>", line 14, in <module>
File "/Users/mike/ros_catkin_ws/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 14, in <module>
File "/Users/mike/ros_catkin_ws/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
Storing complete log in /Users/mike/.pip/pip.log
ERROR: the following rosdeps failed to install
pip: command [sudo pip install -U pydot] failed