What's wrong with pymysql import?

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    1.test.pypymysqlpython test.py python3 test.pyImportError: No module named "pymysql"
                                                                           2.pymysqlpythonsudo pip3 install pymysql pymysql
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  
    ![][1]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                

Why is this?

Mar.06,2021

there should be two versions of python on your computer.
1 is the default python
2 is another python3
when you install it with pip, it is installed in the default python,

it is recommended that you go to the python3 installation directory, find the pip command, execute the installation again, and it will be installed under python3.

Menu