ValueError: Invalid PI name 'xml' when running spcchart

461 Views Asked by At

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!

enter image description here

1

There are 1 best solutions below

1
tom On

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.