Forum Discussion
Can't run any Python script
- Anonymous7 years ago
Hi Dale,
I've found out what the problem is and there is a work-around. I have a Dutch version of Windows. Comma-decimal is standard on my system. In the settings i've chaged it to point-decimal. But it would be nice if the python-visual works the same as the R-visual. When I use the R-visual I don't have the problem with comma- or point decima.
The error that I have is in row 6 of the script. And that is a row that python automatically generates when I open the python-visual.
I use the latest version of anaconda.
Regards,
Paul
I work on a dutch version of Windows 7. We use comma decimals in stead of point decimals. This gives me the following error when I run a very simple python script in the PBI Python visual:
I also posted this issue on the desktop forum (see Forum-topic).
I think it's a bug, because when I use the R-visual in power bi I don't have the issue with comma decimals, because the R-visual uses standard the point decimal.
I hope this is the correct place to address this kind of issues/bugs.
regards,
Paul
had the same issue. a temporary fix is to change the windows settings to . (dot) as a decimal-symbol and , (comma) as a thousand separator