Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

cairosvg installed but ImportError

I just installed cairosvg and it seems to have worked. If i try to install again it says:

$ pip install cairosvg
Requirement already satisfied(...)

But if I try to import it in python3, it delivers an ImportError:

>>>import cairosvg
Traceback(most recent call last):
(...)
ImportError: No Module named 'cairosvg'

Any ideas whats going wrong here? By the way, im trying to convert .svg files to .png ones, if there is a simpler possibility, feel free to tell me!

like image 636
EliteKaffee Avatar asked Aug 27 '16 09:08

EliteKaffee


1 Answers

install with pip3:

pip3 install cairosvg
like image 124
Alireza Afzal Aghaei Avatar answered Sep 30 '22 02:09

Alireza Afzal Aghaei