How To Install Python PyMySQL Client Library In Ubuntu Linux

Pubblicato il: 08 dicembre 2018
sul canale di: DevTech Solutions
4,722
67

Python Import Error : No Module Name pymysql

In order to install pymysql which is pure python mysql client library. it Implements the python database db api v2.0 and it is an interface for connecting to Mysql DB database.

In order to install pymysql, first install python3 by
sudo apt-get install python3

then install pip3 by
sudo apt-get install python3-pip

and then install pymysql by
pip3 install pymysql

to check , open python interpreter mode, by
python3

and then run
import pymysql

if it successfully runs and does not throw any error.
You have successfully installed pymysql python3 library in ubuntu linux.


In questa pagina del sito puoi guardare il video online How To Install Python PyMySQL Client Library In Ubuntu Linux della durata di ore minuti seconda in buona qualità , che l'utente ha caricato DevTech Solutions 08 dicembre 2018, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 4,722 volte e gli è piaciuto 67 spettatori. Buona visione!