1. Anuncie Aqui ! Entre em contato fdantas@4each.com.br

[Python] Python doesn't recognize mysql library after installing it correctly

Discussão em 'Python' iniciado por Stack, Setembro 12, 2024.

  1. Stack

    Stack Membro Participativo

    I have installed mysql apparently well, this is what I wrote in the terminal:

    pip install mysql


    and this was the result:

    Collecting mysql
    Using cached mysql-0.0.3-py3-none-any.whl.metadata (746 bytes)
    Requirement already satisfied: mysqlclient in c:\python312\lib\site-packages (from mysql) (2.2.4)
    Using cached mysql-0.0.3-py3-none-any.whl (1.2 kB)
    Installing collected packages: mysql
    Successfully installed mysql-0.0.3


    but after that, when I import the library i have the error: Import "mysql" could not be resolved. I don't know how to fix it. I had a lot of problems with vscode. Pleasee help mee!

    Continue reading...

Compartilhe esta Página