Git Product home page Git Product logo

Comments (3)

parrt avatar parrt commented on July 19, 2024

latest clone gives same issue. python2 and 3 give same result.

running latest develop, i get this with --pngtrick:

$ python2 -m readme2tex --rerender --nocdn --pngtrick --svgdir images --usepackage physics --output README.md README.tex.md 
Traceback (most recent call last):
  File "/Users/parrt/anaconda2/lib/python2.7/runpy.py", line 174, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/Users/parrt/anaconda2/lib/python2.7/runpy.py", line 72, in _run_code
    exec code in run_globals
  File "/private/tmp/readme2tex/readme2tex/__main__.py", line 162, in <module>
    args.bustcache)
  File "/private/tmp/readme2tex/readme2tex/render.py", line 242, in render
    svg2png(os.path.join(svgdir, name + '.svg'))
  File "/private/tmp/readme2tex/readme2tex/render.py", line 51, in svg2png
    import cairosvg
  File "build/bdist.macosx-10.6-x86_64/egg/cairosvg/__init__.py", line 27, in <module>
  File "build/bdist.macosx-10.6-x86_64/egg/cairosvg/surface/__init__.py", line 30, in <module>
ImportError: No module named cairo
$ pip search cairo
caipyrus (0.2)               - Cairo based procedural rendering tool.
cairo-helpers (0.2.post1)    - Add description here.
cairocffi (0.8.0)            - cffi-based cairo bindings for Python
  INSTALLED: 0.8.0 (latest)
sx-cairodeco (0.1)           - decoration plugin for samurai-x2 using the cairo library
cairomovie (0.9.0)           - Creating a movie with cairo frames.
CairoSVG (2.1.2)             - A Simple SVG Converter based on Cairo
  INSTALLED: 2.1.2 (latest)
cairotft (0.1.2)             - UI library for small tft screens using cairocffi
contextfree (0.1.5)          - cfdg-inspired cairo-based pythonic generative art framework
Graphication (0.1.0)         - A Cairo-based graphing library
pycairo (1.15.4)             - Python interface for cairo
pynoded (0.1)                - Package to create node editors using cairo as backend
pypdflib (0.1.a3)            - Pango Cairo based Python PDF Library
Things (0.4)                 - A vector animation API using Python, Cairo and Inkscape SVG files. Create quick animations
                               by containment, keyframe tweening and other simple Things. New, one can now export each
                               frame as PNG or SVG files.
tl.buildout_gtk (0.2.2)      - A zc.buildout recipe for installing pygtk, pyobject and pycairo.
tl.testing (0.5)             - Utilities for writing tests: sandbox directories, mock external programs,   graphical doc-
                               tests for cairo surfaces, error handling in threads.
yaco.recipe.pycairo (0.1.1)  - Buildout recipe for compiling pycairo

from readme2tex.

parrt avatar parrt commented on July 19, 2024

Workaround: specify your name and project:

--username parrt --project auto-diff-edu

from readme2tex.

leegao avatar leegao commented on July 19, 2024

Good catch, I'll add this advice to the user guide

from readme2tex.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.