Let's say you have pip installed.
NameError: global name 'dot_parser' is not defined
If you get the error, it seems that even if pyparsing is installed, it is not compatible with the new version.
pip uninstall pyparsing
And once try to uninstall pyparsing,
[Errno 13] Permission denied: '/path/to/directory'
Because it comes out
sudo chmod 777 /path/of/directory/
For / path, copy the path to pyparsing when Error occurs.
Now uninstall pyparsing again
pip install -Iv https://pypi.python.org/packages/source/p/pyparsing/pyparsing-1.5.7.tar.gz#md5=9be0fcdcc595199c646ab317c1d9a709
pip install pydot
Let's do it.
Recommended Posts