Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by watching the DP-600 session on-demand now through April 28th.
Learn moreJoin the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now
Hola
Al intentar usar código python en Power BI y ejecutar el script, recibo el siguiente mensaje de error. Ya he comprobado que matplotlib está instalado (en archivos de programa) y he comprobado mi versión de python (3.8.5), así que no estoy seguro de cómo solucionarlo. ¡Cualquier ayuda apreciada!
Tipo de retroalimentación:
Fruncir el ceño (error)
Mensaje de error:
Error de script de Python.
Archivo "PythonScriptWrapper.PY", línea 2, en
Importar OS, UUID, MATPLOTLIB
Archivo "C:\PROGRAM FILES\ANACONDA\lib\site-packages\matplotlib\__init__.py", línea 174, en
_check_versions()
Archivo "C:\PROGRAM FILES\ANACONDA\lib\site-packages\matplotlib\__init__.py", línea 159, en _check_versions
De. Importar ft2font
ImportError: Error en la carga de la DLL al importar ft2font: No se pudo encontrar el módulo especificado.
Seguimiento de pila:
Host:Microsoft.PowerBI.Scripting.Python.Exceptions.PythonScriptRuntimeException
Rastreo (última llamada más reciente):
Archivo "PythonScriptWrapper.PY", línea 2, en
Importar OS, UUID, MATPLOTLIB
Archivo "C:\PROGRAM FILES\ANACONDA\lib\site-packages\matplotlib\__init__.py", línea 174, en
_check_versions()
Archivo "C:\PROGRAM FILES\ANACONDA\lib\site-packages\matplotlib\__init__.py", línea 159, en _check_versions
De. Importar ft2font
ImportError: Error en la carga de la DLL al importar ft2font: No se pudo encontrar el módulo especificado.
¿Ha reinstalado el módulo ft2font?
Check out the April 2026 Power BI update to learn about new features.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.