[Python] Issues with pip install pyodbc SyntaxError: invalid syntax

Discussão em 'Python' iniciado por Stack, Janeiro 15, 2025.

  1. Stack

    Stack Membro Participativo

    I am trying to run pip install pyodbc using Visual Studio Code Terminal and it says syntax error. I am doing exactly as Microsoft documentation here:

    https://learn.microsoft.com/en-us/s...evelopment?view=sql-server-ver16&tabs=windows

    I am running it as:

    [​IMG]

    But its failing with the following error:

    File "c:\Users\Documents\DBA_Projects\pip_install_pyodbc.py", line 1
    pip install pyodbc
    ^^^^^^^
    SyntaxError: invalid syntax
    PS C:\Users\>


    My machine is has windows 11. What could be the problem? Or how how I run it successfully?

    Continue reading...

Compartilhe esta Página