Ask Your Question

dot2tex missing python module?

asked 2014-11-27 01:50:08 -0500

alfC gravatar image

I recently needed to run dot2tex , which I installed via yum install dot2tex in Fedora 20. To my surprise it didn't work. Apparently there is a module missing (noncomma). i think this is a bug but how can I install this module in Fedora 20?

Traceback (most recent call last):
  File "/usr/bin/dot2tex", line 2, in <module>
    from dot2tex.dot2tex import main
  File "/usr/lib/python2.7/site-packages/dot2tex/", line 36, in <module>
    import dot2tex as d2t
  File "/usr/lib/python2.7/site-packages/dot2tex/", line 47, in <module>
    import dotparsing
  File "/usr/lib/python2.7/site-packages/dot2tex/", line 26, in <module>
    from pyparsing import  (Literal, CaselessLiteral, Word, Upcase, OneOrMore, ZeroOrMore,
ImportError: cannot import name _noncomma
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2014-11-27 07:37:49 -0500

FranciscoD_ gravatar image

updated 2014-11-27 07:39:28 -0500

Looks similar to this issue and would therefore probably be an upstream bug

edit flag offensive delete link more


The fedora package may need an update or something. please file a bug so that the maintainer can check and figure out what is required.

FranciscoD_ gravatar imageFranciscoD_ ( 2014-11-27 07:38:41 -0500 )edit

same problem with fc21

baoboa gravatar imagebaoboa ( 2014-11-27 16:01:09 -0500 )edit

pyparsing does'nt provide _noncomma (anymore ?) , removing it from dot2tex/ solve it , it look unused by dot2tex

baoboa gravatar imagebaoboa ( 2014-11-27 16:10:13 -0500 )edit

Yes, that solved the problem. I found the solution here , basically you have to change one line in ./lib/python2.7/site-packages/dot2tex/

alfC gravatar imagealfC ( 2014-11-27 16:13:13 -0500 )edit

Did you file a bug? Please do if you didn't - it'll help all the other fedora users :)

FranciscoD_ gravatar imageFranciscoD_ ( 2014-11-28 17:22:47 -0500 )edit

Question Tools

1 follower


Asked: 2014-11-27 01:50:08 -0500

Seen: 393 times

Last updated: Nov 27 '14