Can't install pydot on MacBook Pro OS 10.8.3
I am trying to install ROS on my MacBook Pro, with OS 10.8.3. The installation will not go beyond the installation of pydot. I first execute the command:
rosdep install --from-paths src --ignore-src --rosdistro groovy -y
Then, after moving through several other installations, the program asks for my password:
executing command [sudo pip install -U pydot]
Password:
After giving my password, the following output is given:
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 16, in <module>
File "/private/tmp/pip-build-root/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 "/private/tmp/pip-build-root/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 /private/tmp/pip-build-root/pyparsing
Storing complete log in /Users/jordanjameson/Library/Logs/pip.log
ERROR: the following rosdeps failed to install
pip: command [sudo pip install -U pydot] failed
Thanks for any help.