python3.6 using Pygal module is not interactive, picture cannot display data

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.