How to install pymysql and pymongo on Ubuntu
kodingwindow@kw:~$ su
Password:
root@kw:/home/kodingwindow# apt install python3-pymysql
...
Unpacking python3-pymysql (1.0.2-1ubuntu1) ...
Setting up python3-pymysql (1.0.2-1ubuntu1) ...
root@kw:/home/kodingwindow# apt install python3-pymongo
...
Unpacking python3-pymongo-ext (3.11.0-1build6) ...
Setting up python3-bson (3.11.0-1build6) ...
Setting up python3-bson-ext (3.11.0-1build6) ...
Setting up python3-pymongo (3.11.0-1build6) ...
Setting up python3-pymongo-ext (3.11.0-1build6) ...
Setting up python3-gridfs (3.11.0-1build6) ...
root@kw:/home/kodingwindow# apt install python3-mysql.connector
...
Unpacking python3-mysql.connector (8.0.15-3) ...
Setting up python3-protobuf (3.21.12-1ubuntu7) ...
Setting up python3-mysql.connector (8.0.15-3) ...
root@kw:/home/kodingwindow# 
Advertisement