Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Did you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now

Reply
Syndicate_Admin
Administrator
Administrator

Script de Python con pandas - numpy-problem

Hola

Tengo un script de python con los pandas de módulo. Este script funciona bien en Anaconda Spyder. Cuando uso esto en Power BI, obtengo este error:

C:\Users\xxxx\Anaconda3\lib\site-packages\numpy\__init__.py:143: UserWarning: mkl-service package failed to import, therefore Intel(R) MKL initialization ensuring its correct out-of-the box operation under condition when Gnu OpenMP had already been loaded by Python process is not assured. Please install mkl-service package, see http://github.com/IntelPython/mkl-service
  from . import _distributor_init
Traceback (most recent call last):
  File "PythonScriptWrapper.PY", line 2, in <module>
    import os, pandas, matplotlib
  File "C:\Users\xxxx\Anaconda3\lib\site-packages\pandas\__init__.py", line 16, in <module>
    raise ImportError(
ImportError: Unable to import required dependencies:
numpy: 

IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE!

Importing the numpy C-extensions failed. This error can happen for
many reasons, often due to issues with your setup or how NumPy was
installed.

We have compiled some common reasons and troubleshooting tips at:

    https://numpy.org/devdocs/user/troubleshooting-importerror.html
Please note and check the following:

  * The Python version is: Python3.8 from "C:\Users\xxxx\Anaconda3\python.exe"
  * The NumPy version is: "1.20.1"
and make sure that they are the versions you expect.
Please carefully study the documentation linked above for further help.

La versión de Python y Numpy son:

- 1.20.1 1Numpy

- 3.8.8 Pitón

¿Qué puedo hacer aquí???

Thx

Torsten

1 ACCEPTED SOLUTION
Syndicate_Admin
Administrator
Administrator

@torsten_FO , Por favor refiérase a esta descripción del video, donde he desusado estos problemas

https://www.youtube.com/watch?v=5D0BkNsu5CM

View solution in original post

1 REPLY 1
Syndicate_Admin
Administrator
Administrator

@torsten_FO , Por favor refiérase a esta descripción del video, donde he desusado estos problemas

https://www.youtube.com/watch?v=5D0BkNsu5CM

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.