This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
Hi, i don't understand why python script in powerbi desktop return me this error: "No module named 'tensorflow'", when I've installed tensorflow with "install -m pip tensorflow" sucessfully. any advice? thx![]()
Hey,
does you python script includes the line
import tensorflow
and does you PBI Desktop is linked to your local python installation?
I guess you are aware of this link:
Regards,
Tom
thanks for your answer, but the installation is correct because the others import work (i.e. import pandas), the only one that doesn't works is tensorflow.
@TomMartens wrote:Hey,
does you python script includes the line
import tensorflow
and does you PBI Desktop is linked to your local python installation?
I guess you are aware of this link:
- https://docs.microsoft.com/en-us/power-bi/desktop-python-scripts
- https://docs.microsoft.com/en-us/power-bi/desktop-python-in-query-editor
Regards,
Tom
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 35 | |
| 32 | |
| 26 | |
| 21 | |
| 18 |
| User | Count |
|---|---|
| 68 | |
| 37 | |
| 33 | |
| 23 | |
| 23 |