1. Version
PC version: win10+python3.6
2. Installation
2.1 Installed Versions
1. First install the pygal1.7 with PIP (refer to "Python from Getting Started to practice")
python-m pip Install--user pygal==1.7
Result: cannot be displayed,
2. Personal version of the issue, has uninstalled the 1.7 version, installed 2.4 version (the latest version)
python-m pip Install--user pygal
Result: The shape data cannot be displayed, only the axis data can be displayed.
2.2 Solutions
Check the installation on the website manual: Visit http://www.pygal.org/, click Installing,
You can see the following:
So, I guess, the reason: Maybe the pip installed version doesn't work with the python3.6 version ,
So click on the red arrow to switch to https://pypi.python.org/pypi/pygal/, then download the installation,
My win10 is in the Download PYGAL-2.4.0-PY2.PY3-NONE-ANY.WHL project folder,
Open a command window, switch to the project folder, and install using PIP:
python-m pip Install--user PYGAL-2.4.0-PY2.PY3-NONE-ANY.WHL
The final:
python3.6 using Pygal module is not interactive, picture cannot display data