Skip to content

Instantly share code, notes, and snippets.

@inohiro
Created August 19, 2013 06:07
Show Gist options
  • Save inohiro/6266116 to your computer and use it in GitHub Desktop.
Save inohiro/6266116 to your computer and use it in GitHub Desktop.
"pip install pygraphviz" will be syntax error
$ pip install pygraphviz
Downloading/unpacking pygraphviz
Downloading pygraphviz-1.2.zip (103kB): 103kB downloaded
Running setup.py egg_info for package pygraphviz
Traceback (most recent call last):
File "<string>", line 16, in <module>
File "/private/var/folders/77/9rgd6n7d0tv4s9ng4dq9jydr0000gn/T/pip-build-inohiro/pygraphviz/setup.py", line 23
print "To install, run 'python setup.py install'"
^
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/var/folders/77/9rgd6n7d0tv4s9ng4dq9jydr0000gn/T/pip-build-inohiro/pygraphviz/setup.py", line 23
print "To install, run 'python setup.py install'"
^
SyntaxError: invalid syntax
----------------------------------------
Cleaning up...
Command python setup.py egg_info failed with error code 1 in /private/var/folders/77/9rgd6n7d0tv4s9ng4dq9jydr0000gn/T/pip-build-inohiro/pygraphviz
Storing complete log in /Users/inohiro/.pip/pip.log
@watsy0007
Copy link

I got the same problem. do you fix it ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment