Comments (16)
Comment by WJWwood, 2013-03-03T17:02:49Z
Here is the original error output:
https://gist.github.com/wjwwood/5079212
And the related thread I found:
http://sourceforge.net/projects/pyparsing/forums/forum/337293/topic/6481050
from pydot-ng.
Comment by [email protected], 2013-03-25T17:00:05Z
I came to raise this exact issue.
from pydot-ng.
Comment by [email protected], 2013-04-26T06:45:36Z
Obvious to the initiated but not to the newbie: The workaround is to install pyparsing < 2.0.0 prior to installing pydot (or a package that depends on pydot.)
$ pip install pyparsing==1.5.7
from pydot-ng.
Comment by WJWwood, 2013-04-26T09:46:18Z
Thanks I forgot to post the workaround I used.
Shameless bump, in the mean time I would say that pydot version depending on pyparsing would help keep users from hitting this same issue. I would be in favor of dropping the version dependency again after one or more of the major operating systems comes with Python3.x as the default version of Python. Until then its my opinion that we should flip this around and required the Python3 users to get the correct version of pyparsing manually.
from pydot-ng.
Comment by [email protected], 2013-07-02T01:41:59Z
Also came here to report this issue; but also, have a solution -- since the setup.py is just a python file, could one do something like this?
if python.version >= 3.0:
install_requires = ['pyparsing', 'setuptools']
else:
install_requires = ['pyparsing < 2.0.0', 'setuptools']
from pydot-ng.
Comment by WJWwood, 2013-07-02T10:09:38Z
I agree that would be a good solution also, either way I know a tonne of people in our community are running into this problem and we have to keep pointing them to this issue...
from pydot-ng.
Comment by [email protected], 2013-08-03T02:56:41Z
Have things improved since the release of pyparsing 2.0.1 is backward compatible to Python 2.6 and 2.7?
from pydot-ng.
Comment by WJWwood, 2013-08-03T11:24:33Z
I can now install pydot against pyparsing 2.0.1, but now I get:
>>> import pydot
Couldn't import dot_parser, loading of dot files will not be possible.
Which is probably worth a new ticket here (if there isn't already one), see:
from pydot-ng.
Comment by grizzly.nyo, 2013-08-31T04:37:26Z
in dot_patser.py:
- remove "_noncomma" from the 28
- add the below at line 30 of:
_noncomma = "".join( [ c for c in printables if c != "," ] )
'_' prefixed variables should be considered private to the module!
from pydot-ng.
Comment by [email protected], 2014-01-30T08:54:47Z
See http://stackoverflow.com/a/21462609/722624
from pydot-ng.
Comment by sandro.tosi, 2014-03-11T12:16:15Z
This is the patch i'm about to apply to the Debian package
Attached support-pyparsing-v2.patch
(view on Gist)
from pydot-ng.
Comment by [email protected], 2014-03-12T07:03:09Z
Sandro, thanks for the patch.
from pydot-ng.
Comment by [email protected], 2014-04-11T07:52:24Z
Is there any possibility of getting a pydot release with sandro.tosi's patch?
from pydot-ng.
Comment by [email protected], 2014-08-08T11:30:25Z
To clarify, if you look at the last stackoverflow link, there's a fork with the patch applied. But yeah - this is a major issue. Bump?
from pydot-ng.
Comment by [email protected], 2015-02-24T08:38:21Z
bump
from pydot-ng.
pydot-ng and pyparsing version it uses works both on Python 2 and 3.
from pydot-ng.
Related Issues (20)
- [86] pydot can not print graph with special characters
- [87] Can't install Pydot via pip on my ovh server HOT 2
- [88] Guidelines for Node label formatting HOT 1
- [89] cluster to cluster edge fails HOT 1
- [90] Include tests into release tarball HOT 1
- [91] GraphViz's executables not found on Windows 7 64-bit if user installs them in a custom directory HOT 1
- [92] Simplify throws NameError, and, as implemented, doesn't work HOT 1
- [93] Unable to install from pip HOT 1
- [94] Problems with node's name contains colon (:)
- [95] move to git and github HOT 1
- [96] pydot 1.0.28 on pypi? HOT 1
- [97] Make dot_parser import error mutable
- [98] possible bug in graph_from_adjacency_matrix
- [99] pydot should quote labels with colons
- Add documentation for pydot-ng HOT 1
- Add CONTIRBUTING file
- Add builds for Windows HOT 1
- Freudian typo in repository description
- Update "README.rst" introduction for great glory of Poznań HOT 1
- Restore compliance with the crusty "pydot" API
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pydot-ng.