安装目录
C:\Users\***\AppData\Local\Continuum\Miniconda3\Lib\site-packages\freetype
Freetype library not found问题详解,python(编程语言)+freetype(字体引擎)opencv 中文显示
if filename is None:
if platform.system() == 'Windows':
# Check current working directory for dll as ctypes fails to do so
filename = os.path.join(os.path.realpath('.'), 'freetype.dll')
print (filename)
else:
filename = 'libfreetype.so.6'
找到filename
C:\Users\****\AppData\Local\Continuum\Miniconda3\pkgs\freetype-2.7-vc9_1\Library\bin\freetype.dll
把freetype.dll拷贝到那个目录即可