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