Windows installation module Mysqlclient error handling

Source: Internet
Author: User

Install the Python module using the PIP command in the Windows environment mysqlclient
Pip Install Mysqlclient
Error during installation [ERROR] Microsoft Visual C + + 14.0 is required

Then replace the other method to install, to this site download Mysqlclient installation package
https://www.lfd.uci.edu/~gohlke/pythonlibs/#numpy

Since the python3.6 version is installed locally, download MYSQLCLIENT-1.3.13-CP36-CP36M-WIN_AMD64.WHL
Download Link:
Https://download.lfd.uci.edu/pythonlibs/t5ulg2xd/mysqlclient-1.3.13-cp36-cp36m-win_amd64.whl
Copy the downloaded package to the scripts directory in the Python installation directory
For example, mine is D:\Program files\python3\scripts.
Then the command line Terminal CD to the directory
Finally install with PIP
Pip Install "MYSQLCLIENT-1.3.13-CP36-CP36M-WIN_AMD64.WHL"
However, this error will indicate that the platform does not support


according to the method provided by netizens
Enter the Python terminal
>>> import pip
>>> Print (pip.pep425tags.get_supported ()) #列出pip支持的文件名格式
[(' Cp36 ', ' cp36m ', ' win_amd64 '),
(' cp36 ', ' none ', ' win_amd64 '),
(' Py3 ', ' none ', ' win_amd64 '),
(' cp36 ', ' none ', ' any '),
(' CP3 ', ' none ', ' any '),
(' py36 ', ' none ', ' any '),
(' Py3 ', ' none ', ' any '),
(' py35 ', ' none ', ' any '),
(' py34 ', ' none ', ' any '),
(' py33 ', ' none ', ' any '),
(' py32 ', ' none ', ' any '),
(' py31 ', ' none ', ' any '),
(' py30 ', ' none ', ' any ')]

Then change the MYSQLCLIENT-1.3.13-CP36-CP36M-WIN_AMD64.WHL file name before installing
Try the previous few or prompt not supported
Finally the installation is complete after changing to MYSQLCLIENT-1.3.13-PY36-NONE-ANY.WHL

Check if the installation is successful

Windows installation module Mysqlclient error handling

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.