title: Python: OSError: cannot load library libcairo.so.2
body: <p>I'm having some trouble running a python script on my Windows 7 platform. I've installed Python and also cairo, last one using "pip". I'm running the script using this command:</p>
  
  <pre><code>C:\Python34&gt;python.exe label/make_label.py
  </code></pre>
  
  <p>and I get the following error message:</p>
  
  <pre><code>Traceback (most recent call last):
    File "label/make_label.py", line 6, in &lt;module&gt;
      import cairocffi as cairo
    File "C:\Python34\lib\site-packages\cairocffi\__init__.py", line 41, in &lt;modul
  e&gt;
      cairo = dlopen(ffi, *CAIRO_NAMES)
    File "C:\Python34\lib\site-packages\cairocffi\__init__.py", line 34, in dlopen
  
      return ffi.dlopen(names[0])  # pragma: no cover
    File "C:\Python34\lib\site-packages\cffi\api.py", line 118, in dlopen
      lib, function_cache = _make_ffi_library(self, name, flags)
    File "C:\Python34\lib\site-packages\cffi\api.py", line 411, in _make_ffi_libra
  ry
      backendlib = _load_backend_lib(backend, libname, flags)
    File "C:\Python34\lib\site-packages\cffi\api.py", line 400, in _load_backend_l
  ib
      return backend.load_library(name, flags)
  OSError: cannot load library libcairo.so.2: error 0x7e
  </code></pre>
  
  <p>What I've already done is the following:</p>
  
  <ul>
  <li>Added the PATH to GTK/bin in the environmental variable</li>
  <li>I check the folder GTK/bin and found "libcairo-2.dll" so I renamed it to libcairo.so</li>
  </ul>
  
  <p>I don't know what other information could be useful in solving this but please let me know and I'll try to add it.</p>