Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
I used Python to do some visuals. I was was working/showing perfectly. Then a couple days later, I wanted to revisit these visuals. But, I got the following message:
"Can't display this visual. The python process ended unexpectedly, so the visual can't be displayed. Please try running it again."
Now it seems that I got this message for every python visual that I want to do, like python was not working anymore. Have experimented that, what causes this? Any advice to fix this?
Many thanks in advance
Hi @naeljb ,
Does this issue have been resolved?Could you please provide more details about it If it still not be resolved? Please don't contain any Confidential Information or Real data in your reply.
Best regards,
Hi,
Actuallly when I publish it in Power Bi service, it works and I can see the vizual. However, when I return to Desktop, I still get the error message.
Can you run the code in your Python IDE?
Yes actually, I did it using Pycharm and I was wondering why it doesn't work with Powerbi
Hi @naeljb ,
Does it also run into error in Power BI Desktop, or only occur in Power BI Service? If it only happen in Power BI Service, please try to restart and re-install the personal gateway, then check the python environment of machine running gateway.
If this error also happen in Power BI Desktop, please consider the limitation of python visual in this document: https://docs.microsoft.com/en-us/power-bi/desktop-python-visuals#known-limitations
Please also check the python environment in the machine running Power BI Destkop, using other IDE to check if the script can work with same environment.
Best regards,
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
110 | |
94 | |
80 | |
67 | |
59 |
User | Count |
---|---|
150 | |
119 | |
104 | |
87 | |
67 |