Debian Buster: ModuleNotFoundError: No module named 'mysql'

황병희 soyeomul at doraji.xyz
Sun Jan 19 05:39:49 EST 2020


^Bart <gabriele1NOSPAM at hotmail.com> writes:

>> pip is probably defaulting to Python 2.7. Try using pip3, or this more
>> explicit syntax:
>
> Now it works!
>
> Python 3.7.3 (default, Apr  3 2019, 05:39:12)
> [GCC 8.3.0] on linux
> Type "help", "copyright", "credits" or "license()" for more information.
>>>>
> ========== RESTART: /home/gabriele/Corso_4.0/Python/Test_MySQL2.py
> ==========
> <mysql.connector.connection.MySQLConnection object at 0x7f20f16799e8>
>>>>

Wow, what a beautiful Debian-Python ^^^

Sincerely, Linux fan Byung-Hee

-- 
^고맙습니다 _地平天成_ 감사합니다_^))//


More information about the Python-list mailing list