Python installation Pymysql

Source: Internet
Author: User
Tags tar xz git clone

The previous article indicated the installation of the Pippymysql, as well as the use of TERMINAL commands:

Pymysql

When you use this command, you may be prompted for administrator privileges to install, just add sudo to the front;

If your system does not support the PIP command, you can install it in the following ways:

1. Download the installation package installation using the GIT command (you can also download it manually):

$ git clone https://github.com/pymysql/pymysqlpymysql/$ python3 setup.  PY Install

2. If you need to make a version number, you can use the Curl command to install:
# x.x to pymysql version number  -L https://github.com/pymysql/pymysql/tarball/pymysql-x.x | tar xzpymysql *$ python3 setup.  # Now you can delete the pymysql* directory        

Attention:
The "Importerror:no module named setuptools" error message may appear during installation, meaning you do not have Setuptools installed and you can access https://pypi.python.org/pypi/ Setuptools find the installation method for each system.

Python installation Pymysql

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.