[Python] ADO.NET error trying to run Python Script in PowerBI

Discussão em 'Python' iniciado por Stack, Abril 11, 2025.

  1. Stack

    Stack Membro Participativo

    I have Anaconda which runs this simple script fine:

    import pandas as pd
    data = [['Alex',10],['Bob',12],['Clarke',13]]
    df = pd.DataFrame(data,columns=['Name','Age'],dtype=float)
    print (df)


    It runs from both Anaconda promprt and normal command prompt, as the path is set to include the Anaconda3 folder.

    Trying to use PowerBI, following the Microsoft example, I get:


    Details: "ADO.NET: Python script error. Traceback (most recent call last): File "PythonScriptWrapper.PY", line 2, in import os, pandas, matplotlib File "C:\ProgramData\Anaconda3\lib\site-packages\pandas__init__.py", line 19, in "Missing required dependencies {0}".format(missing_dependencies)) ImportError: Missing required dependencies ['numpy']
    ​

    Continue reading...

Compartilhe esta Página