Hello everyone,
I’m using the standalone version of Psychopy 1.90.3 with Python 3 on Win10 and when I run the demo textstim_vs_textbox.py, I get the error which I appended at the bottom of this post.
The issue has already been raised by @Sam_Leak for an earlier version of Psychopy (Using TextBox instead of TextStim), but there were no suggestions on how to fix it.
FreeType import Failed: Freetype library not found
Traceback (most recent call last):
File "C:\Program Files (x86)\PsychoPy2_PY3\lib\site-packages\psychopy\demos\coder\stimuli\textBoxStim\textstim_vs_textbox.py", line 25, in <module>
from psychopy.visual import textbox
File "C:\Program Files (x86)\PsychoPy2_PY3\lib\site-packages\psychopy\visual\textbox\__init__.py", line 59, in <module>
fm = getFontManager()
File "C:\Program Files (x86)\PsychoPy2_PY3\lib\site-packages\psychopy\visual\textbox\__init__.py", line 56, in getFontManager
_system_font_manager = FontManager(mono_only)
File "C:\Program Files (x86)\PsychoPy2_PY3\lib\site-packages\psychopy\visual\textbox\fontmanager.py", line 77, in __init__
self.updateFontInfo(monospace_only)
File "C:\Program Files (x86)\PsychoPy2_PY3\lib\site-packages\psychopy\visual\textbox\fontmanager.py", line 244, in updateFontInfo
self.addFontFiles(fonts_found, monospace_only)
File "C:\Program Files (x86)\PsychoPy2_PY3\lib\site-packages\psychopy\visual\textbox\fontmanager.py", line 151, in addFontFiles
face = Face(fp)
NameError: name 'Face' is not defined