Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

function 'FT_New_Face' not found #22

Open
ApplePie420 opened this issue Apr 26, 2021 · 0 comments
Open

function 'FT_New_Face' not found #22

ApplePie420 opened this issue Apr 26, 2021 · 0 comments

Comments

@ApplePie420
Copy link

Source of issue

After installing via pip install pyforms-gui (installation was succesfull, no errors across all dependencies) and running example project, I have error:

Traceback (most recent call last):
  File "main.py", line 3, in <module>
    from   pyforms.controls import ControlText
  File "C:\Python38\lib\site-packages\pyforms\controls.py", line 7, in <module>
    from pyforms_gui.allcontrols import *
  File "C:\Python38\lib\site-packages\pyforms_gui\allcontrols.py", line 44, in <module>
    from .controls.control_visvis import ControlVisVis
  File "C:\Python38\lib\site-packages\pyforms_gui\controls\control_visvis.py", line 12, in <module>
    import visvis as vv, numpy as np
  File "C:\Python38\lib\site-packages\visvis\__init__.py", line 55, in <module>
    from visvis.core import *
  File "C:\Python38\lib\site-packages\visvis\core\__init__.py", line 46, in <module>
    from visvis.core.axes import AxesContainer, Axes, Legend
  File "C:\Python38\lib\site-packages\visvis\core\axes.py", line 27, in <module>
    from visvis.text import Label
  File "C:\Python38\lib\site-packages\visvis\text\__init__.py", line 88, in <module>
    from visvis.text.text_freetype import FreeTypeFontManager
  File "C:\Python38\lib\site-packages\visvis\text\text_freetype.py", line 34, in <module>
    from visvis.text.freetype import (Face, Vector, Matrix, FT_KERNING_UNFITTED,
  File "C:\Python38\lib\site-packages\visvis\text\freetype\__init__.py", line 162, in <module>
    FT_New_Face            = FT._dll.FT_New_Face
  File "C:\Python38\lib\ctypes\__init__.py", line 386, in __getattr__
    func = self.__getitem__(name)
  File "C:\Python38\lib\ctypes\__init__.py", line 391, in __getitem__
    func = self._FuncPtr((name_or_ordinal, self))
AttributeError: function 'FT_New_Face' not found

This seems like some low-level dll stuff that I don't understrand, and was unable to find solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant