cairosvg import problem

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

cairosvg import problem

Rzhetsky, Andrey [BSD] - MED
I installed cairo, py2cairo using brew:

brew install cairo
Warning: cairo-1.12.16 already installed

brew install py2cairo
Warning: py2cairo-1.10.0 already installed

I installed cairosvg:

sudo enpkg cairosvg

prefix: /Library/Frameworks/EPD64.framework/Versions/7.3
No update necessary, 'cairosvg' is up-to-date.
CairoSVG-0.5-1.egg was installed on: Tue Jan 28 17:04:53 2014

When I am trying to import the module I am getting an error:

python -c 'import cairosvg'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/Library/Frameworks/EPD64.framework/Versions/7.3/lib/python2.7/site-packages/CairoSVG-1.0.4-py2.7.egg/cairosvg/", line 27, in <module>
    from . import surface
  File "/Library/Frameworks/EPD64.framework/Versions/7.3/lib/python2.7/site-packages/CairoSVG-1.0.4-py2.7.egg/cairosvg/surface/", line 27, in <module>
    import cairo  # pycairo
ImportError: No module named cairo

How I could fix this?

Thank you,


This email is intended only for the use of the individual or entity to which it is addressed and may contain information that is privileged and confidential. If the reader of this email message is not the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication is prohibited. If you have received this email in error, please notify the sender and destroy/delete all copies of the transmittal.

Thank you.

Enthought-Dev mailing list
[hidden email]