Forum Discussion
Anonymous
7 years agoNot applicable
Power BI Python with Anaconda missing dependency
Hi, I'm trying to use my Python script in Power BI, however I'm faced with this error message when trying to run it: Details: "ADO.NET: Python script error.
Traceback (most recent call last)...
- Anonymous7 years ago
The Python environment I'm referring to already has the required dependencies installed. I was suspecting the error to be caused by the activate.bat file not activating the Python environment in Anaconda, prior to running the script. However, I managed to resolve my problem simply by updating Python in Anaconda Prompt i.e.
conda upgrade python
mjeh
6 years agoFrequent Visitor
Step by step procedure:
- Download last version of Winpython from : https://winpython.github.io/
- Install Winpython on C: \
- In Power BI Desktop, select File > Options and settings > Options > Python scripting. The Python script options page appears.
- Specify the local Python installation path with the Winpython folder defined at step 2
- Restart Power BI
stephank
6 years agoFrequent Visitor
wow, that really worked. thank you so much
Stephan