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 moreDid you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now
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 | |
| 25 | |
| 23 | |
| 16 |
| User | Count |
|---|---|
| 65 | |
| 50 | |
| 30 | |
| 23 | |
| 23 |