Forum Discussion
PowerBI Won't Open IDE for Python (Visual Studio)
- 5 years ago
Hi, Anonymous
You can try the following steps.
1 Select Python visual from Visualizations Pane to enable scripts visual
2 Drag a field into Python visual as values and then click the arrow to enable script in external IDE
Best Regards,
Caiyun Zheng
Is that the answer you're looking for? If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Python scripts do run but IDE doesn't launch. I'm pointing it to VS Code executable as it doesn't appear on the detected IDE drop-down.
Hi, Anonymous
Your configuration in Options is correct. Then you need click the arrow to enable VS Code. Have you operated like this?
Best Regards,
Caiyun Zheng
- Anonymous5 years agoNot applicable
I don't see the arrow or syntax highlighting. Tried both in get data and Query Editor windows.
- v-cazheng-msft5 years agoCommunity Support
Hi, Anonymous
You can try the following steps.
1 Select Python visual from Visualizations Pane to enable scripts visual
2 Drag a field into Python visual as values and then click the arrow to enable script in external IDE
Best Regards,
Caiyun Zheng
Is that the answer you're looking for? If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- Syndicate_Admin4 years agoAdministrator
I have the same problem, but the solution provided is not valid.
It seems that PowerBI is simply not able to accept the vs code installation path (which by the way is in the default path): after indicating the VS Code path and OK, if I reopen the Options it is again set to "Default OS program for files". PY", and of course it opens the other editor instead of Code.exe when I add a visual python.
Any ideas? Thanks in advance.