Page 1 of 1

Probleme mit pip install pyodbc SyntaxError: ungültige Syntax

Posted: 15 Jan 2025, 18:03
by Guest
Ich versuche, pip install pyodbc mit Visual Studio Code Terminal auszuführen, und es wird ein Syntaxfehler angezeigt. Ich mache genau die Microsoft-Dokumentation hier:
https://learn.microsoft.com/en-us/sql/c ... velopment- Environment-for-pyodbc-python-development?view=sql-server-ver16&tabs=windows
Ich führe es aus als:
Image

Aber es schlägt fehl mit dem Folgender Fehler:

Code: Select all

 File "c:\Users\Documents\DBA_Projects\pip_install_pyodbc.py", line 1
pip install pyodbc
^^^^^^^
SyntaxError: invalid syntax
PS C:\Users\>
Mein Computer hat Windows 11. Was könnte das Problem sein? Oder wie führe ich es erfolgreich aus?