Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more
So I'm trying to run a basic python script via PowerBi and I am using Anaconda in the background.
I get the error:
"We encountered an error while trying to connect. Details: "ADO.NET: Python script error.
<pi> File "PythonScriptWrapper.PY", line 13
import pandas as pd\u200b
^
SyntaxError: invalid character in identifier
</pi>"
Solved! Go to Solution.
Hi @Anonymous
Did you follow the script requirements below ?
Best Regards
Community Support Team _ Ailsa Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous
Did you follow the script requirements below ?
Best Regards
Community Support Team _ Ailsa Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@Anonymous Hey,
You can use this method to fullfill your requirement .
Python in Power BI: Enabling Python Scripts with Anaconda — Continuus Technologies (continuus-techno...
If this post helps, then please consider accept it as the solution to help other members find it faster, and give a big thumbs up.
Best regards,
Harish Mishra
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!
Check out the July 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 26 | |
| 24 | |
| 23 | |
| 19 | |
| 17 |
| User | Count |
|---|---|
| 30 | |
| 28 | |
| 21 | |
| 19 | |
| 17 |