0

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 Answers1

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