Forum Discussion
Anonymous
7 years agoNot applicable
Error when connecting python to PBI
Hi, Despite the fact that I do have Python installed when I'm trying to connect it to PBI I get an error message: Unable to connect:
Details: "ADO.NET: Python script error.
Traceback (most ...
- Anonymous7 years ago
As I found out yestreday the issue was due to Power Bi not supporting Python 3.7. i had to created new env for py36 and it worked form there!
Thank you
Greg_Deckler
7 years agoCommunity Champion
From what I am seeing in your error message, it looks like you are missing a Python package "numpy".
Anonymous
7 years agoNot applicable
Which doesn't make sense as I have it installed :
- Minseven7 years agoHelper I
is you PATH environment match what you have in your options?
to check your environement:
1) Open the Python Shell and
2) type:
import sys
print(sys.exec_prefix)- Anonymous7 years agoNot applicable
Yes it is the same :
- v-jiascu-msft7 years agoMicrosoft Employee
Hi Anonymous,
Since you have two different release of Python, I'm afraid the Numpy is in Python37 rather than in the Anaconda. Please check out. You can do it like below.
pip list -v
Best Regards,
Dale