Cannot install pydot for Python3 via pip
See original GitHub issuepip3 install pydot
returns
Collecting pydot
Downloading pydot-1.0.2.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 20, in <module>
File "/private/var/folders/35/xqrmy3y91wz2zzs0c33jl4m00000gn/T/pip-build-vtolqv73/pydot/setup.py", line 5
except ImportError, excp:
^
SyntaxError: invalid syntax
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /private/var/folders/35/xqrmy3y91wz2zzs0c33jl4m00000gn/T/pip-build-vtolqv73/pydot
Issue Analytics
- State:
- Created 8 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
Cannot install pydot for Python3 via pip · Issue #110
I found that this repro doesn't work in Python 3.x and made a quick fix to be Python 3.x compatible and made it...
Read more >python 3.x - pydot installation with pip3 issue
Two possible solutions for python3 pip install pydot3. or pip install pydotplus.
Read more >How to install pydot Python library (2022) | Amit Thinks
In this video, learn how to install the pydot Python library. Pydot is an interface to Graphviz. Graphviz is open-source graph visualization ...
Read more >How to install pydot and graphviz?
Because you use python 3, the right command would be pip3 install pydot graphviz . You can install pip3 using sudo apt install...
Read more >Install — PyGraphviz 1.10 documentation
If you've installed Graphviz and pip is unable to find Graphviz, then you need to provide pip with the path(s) where it can...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
TL;DR: pip3 install pydot3 / pip install pydot3
I found that this repro doesn’t work in Python 3.x and made a quick fix to be Python 3.x compatible and made it accessible via pip install.
That’s because the version on PyPi is not (yet) compatible with Python3. I see there is a pull request (#106) pending for Python 3.5 support.
Check out https://github.com/nlhepler/pydot for a Python3 compatible version.