On 29/11/2016 12:49, Lawrence D'Oliveiro wrote:
On Tue, 29 Nov 2016 10:49:17 +0000, Olumide wrote:

I'd like to run your python scripts but I can't import freetype2 from
python.

My Python binding is this one <https://github.com/ldo/python_freetype>.


The bindings seem to be looking for shared objects on Windows. BTW, I installed on Cygwin.

Traceback (most recent call last):
  File "FreeTypeIssue.py", line 2, in <module>
    import freetype2 as ft
File "/usr/lib/python3.4/site-packages/freetype2.py", line 47, in <module>
    ft = ct.cdll.LoadLibrary("libfreetype.so.6")
  File "/usr/lib/python3.4/ctypes/__init__.py", line 429, in LoadLibrary
    return self._dlltype(name)
  File "/usr/lib/python3.4/ctypes/__init__.py", line 351, in __init__
    self._handle = _dlopen(self._name, mode)
OSError: No such file or directory

- Olumide



_______________________________________________
Freetype mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/freetype

Reply via email to