Hello,
I am using Psychopy 3.2.4 & Python 3.7, and I have issues using visual.TextBox.
I search it with google, and find a similar problem
https://discourse.psychopy.org/t/using-textbox-instead-of-textstim/4818
I find that I have a similar problem with him
Traceback (most recent call last):
File "C:/Users/Administrator/PycharmProjects/beta1/testmod/4.py", line 18, in <module>
interpolate=False, name=None)
File "C:\Users\Administrator\untitled\lib\site-packages\psychopy\contrib\lazy_import.py", line 119, in __call__
obj = object.__getattribute__(self, '_resolve')()
File "C:\Users\Administrator\untitled\lib\site-packages\psychopy\contrib\lazy_import.py", line 88, in _resolve
obj = factory(self, scope, name)
File "C:\Users\Administrator\untitled\lib\site-packages\psychopy\contrib\lazy_import.py", line 203, in _import
module = __import__(module_python_path, scope, scope, [member], level=0)
File "C:\Users\Administrator\untitled\lib\site-packages\psychopy\visual\textbox\__init__.py", line 59, in <module>
fm = getFontManager()
File "C:\Users\Administrator\untitled\lib\site-packages\psychopy\visual\textbox\__init__.py", line 56, in getFontManager
_system_font_manager = FontManager(mono_only)
File "C:\Users\Administrator\untitled\lib\site-packages\psychopy\visual\textbox\fontmanager.py", line 79, in __init__
self.updateFontInfo(monospace_only)
File "C:\Users\Administrator\untitled\lib\site-packages\psychopy\visual\textbox\fontmanager.py", line 246, in updateFontInfo
self.addFontFiles(fonts_found, monospace_only)
File "C:\Users\Administrator\untitled\lib\site-packages\psychopy\visual\textbox\fontmanager.py", line 153, in addFontFiles
face = Face(fp)
File "C:\Users\Administrator\untitled\lib\site-packages\freetype\__init__.py", line 991, in __init__
raise FT_Exception(error)
freetype.ft_errors.FT_Exception: FT_Exception: (cannot open resource)
I want use TextBox because it can redraw quickly, however I meet this problem.
Any help much, much appreciated!