Valueerror: the solution of invalid PI name ‘B’ XML ‘ You need to update PyGal pip uninstall pygal pip install pygal