I'm trying to run spcchart on Python 2.7 environment and turn out an error "ValueError: Invalid PI name 'xml'". Error message attached and if anyone can tell where went wrong and how to fix it, thank you!
Asked
Active
Viewed 424 times
0
-
Please *[copy-paste](https://superuser.com/questions/295370/how-to-copy-text-in-the-windows-command-line-cmd)* the error message into the question – Antti Haapala -- Слава Україні Aug 06 '17 at 21:41
-
A screen shot is nice but not *sufficient*. – Antti Haapala -- Слава Україні Aug 06 '17 at 21:41
-
1https://github.com/Kozea/pygal/issues/282 – Antti Haapala -- Слава Україні Aug 06 '17 at 21:45
-
https://stackoverflow.com/questions/45520049/pygal-valueerror-invalid-pi-name-bxml – Antti Haapala -- Слава Україні Aug 06 '17 at 21:46
1 Answers
0
This is a known bug in the package "pygal". The bug has been fixed, so upgrading to the latest version should fix the problem:
pip list --outdated
pip install pygal --upgrade
(source)
Check that the first command lists pygal to confirm that it is installed and out of date. Then use the second command to upgrade it.

tom
- 21,844
- 6
- 43
- 36
-
Hi Tom, thanks for support and it seems the error fixed although some other issue with this spcchart program. – Michael C.H. Wang Aug 07 '17 at 01:13