Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. 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
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
72 | |
69 | |
57 | |
37 | |
36 |
User | Count |
---|---|
83 | |
67 | |
62 | |
46 | |
45 |