Forum Discussion
ADO.NET Power BI with Python Anaconda
Hello,
I would like to write Python scripts in Power BI
I'm using a virtual Anaconda environment to connect Power BI with Python.
Unfortunely, I tested different versions of Python (3.6, 3.7) but it doesn't work. I always get the same error... Could you help me?
I tried "import pandas" as a Python script
#####
Détails : « ADO.NET : Ρỳŧĥόņ š¢ѓĭρŧ εŕřŏŕ.
<pi>Traceback (most recent call last):
File "PythonScriptWrapper.PY", line 2, in <module>
import os, pandas, matplotlib
File "C:\Users\Users\Anaconda3\envs\env_pbi_2\lib\site-packages\pandas\__init__.py", line 17, in <module>
"Unable to import required dependencies:\n" + "\n".join(missing_dependencies)
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.7 from "C:\Users\Users\Anaconda3\envs\env_pbi_2\python.exe"
* The NumPy version is: "1.18.4"
and make sure that they are the versions you expect.
Please carefully study the documentation linked above for further help.
Original error was: DLL load failed: Le module spécifié est introuvable.
</pi> »
####
Thanks in advance !
Thomas94401 , I installed anaconda python env. And Used that in power bi.
In the description of the video, I have given the links to the problem and solution, refer if those can help
How to make Python work with Power BI: https://youtu.be/5D0BkNsu5CM
1 Reply
- amitchandakSuper User
Thomas94401 , I installed anaconda python env. And Used that in power bi.
In the description of the video, I have given the links to the problem and solution, refer if those can help
How to make Python work with Power BI: https://youtu.be/5D0BkNsu5CM