[cairo] Out of data pycairo on pypy
Oswaldo
listas at soft-com.es
Tue Jan 14 08:02:02 PST 2014
El 14/01/2014 15:34, Simon Sapin escribió:
> On 14/01/2014 12:04, Oswaldo wrote:
>> El 11/01/2014 17:23, Simon Sapin escribió:
>>> ...
>>> Have a look at cairocffi: http://pythonhosted.org/cairocffi/
>>>
>>
>>
>> Hi Simon,
>>
>> I'm trying to install cairoffi on win32/python2.7 but when execute "pip
>> install cairocffi" it show the following error:
>>
>> ...
>> ...
>> building '_cffi_backend' extension
>> error: Unable to find vcvarsall.bat
>>
>> I assume that it's looking for the c compiler.
>>
>> It is imperative to have mingw or vc2008?
>> Is there any precompiled version for win32?
>
> Hi Oswaldo,
>
> cairocffi itself is pure-Python, but it depends on CFFI which, on
> CPython, involves compiling some C code. You’ll need a C compiler to
> install from source, though I don’t know which compilers work. It
> probably should be the same as the one that built your Python. See the
> CFFI docs:
>
> http://cffi.readthedocs.org/en/latest/
>
>
> The easiest is probably to use Christoph Gohlke’s unofficial binaries:
>
> http://www.lfd.uci.edu/~gohlke/pythonlibs/#cffi
>
I install this cffi binary and now "pip install cairocffi" run ok. :)
>
> After that, you’ll also need to have cairo somewhrere cairocffi can find
> it:
>
> http://pythonhosted.org/cairocffi/overview.html#installing-cairo-on-windows
>
I have an app running with pycairo, pangocairo and rsvg. On next days y
will try to update it with cairocffi.
Thanks
--
Oswaldo
More information about the cairo
mailing list