René's URL Explorer Experiment


Title: Install mssql-python - Python driver for SQL Server | Microsoft Learn

Open Graph Title: Install mssql-python - Python driver for SQL Server

Description: Learn how to install the mssql-python driver on Windows, Linux, and macOS. No external ODBC driver is required.

Open Graph Description: Learn how to install the mssql-python driver on Windows, Linux, and macOS. No external ODBC driver is required.

Opengraph URL: https://learn.microsoft.com/en-us/sql/connect/python/mssql-python/installation?view=sql-server-ver17

X: @MicrosoftLearn

direct link

Domain: learn.microsoft.com

color-schemelight dark
twitter:cardsummary_large_image
og:typewebsite
og:image:altMicrosoft Learn
og:imagehttps://learn.microsoft.com/en-us/media/open-graph-image.png
platform_id57cd5672-1954-47aa-2e68-33a4cb1fd157
scopesql
localeen-us
uhfHeaderIdMSDocsHeader-DocsSQL
page_typeconceptual
toc_previewtrue
feedback_systemStandard
feedback_product_urlhttps://feedback.azure.com/d365community/forum/04fe6ee0-3b25-ec11-b6e6-000d3a4f0da0
feedback_help_link_urlhttps://learn.microsoft.com/answers/tags/191/sql-server
feedback_help_link_typeget-help-at-qna
recommendationstrue
breadcrumb_path../../../breadcrumb/toc.json
monikerRange>=sql-server-2017 || >=sql-server-linux-2017 || =azuresqldb-current || =azuresqldb-mi-current || =azure-sqldw-latest || =fabric
ms.update-cycle1825-days
authordlevy-msft-sql
ms.authordlevy
ms.reviewervanto
ms.date2026-11-02T00:00:00Z
ms.servicesql
ms.subserviceconnectivity
ms.topichow-to
ai-usageai-assisted
document_id94135db2-d1db-8d2f-cfe1-f37906895db3
document_version_independent_id94135db2-d1db-8d2f-cfe1-f37906895db3
updated_at2026-11-05T18:38:00Z
original_content_git_urlhttps://github.com/MicrosoftDocs/sql-docs-pr/blob/live/docs/connect/python/mssql-python/installation.md
gitcommithttps://github.com/MicrosoftDocs/sql-docs-pr/blob/f61ebb1b49145d7c6f06b3116a6de300d93c4e15/docs/connect/python/mssql-python/installation.md
git_commit_idf61ebb1b49145d7c6f06b3116a6de300d93c4e15
monikerssql-server-ver17
default_monikersql-server-ver17
site_nameDocs
depot_nameSQL.sql-content
schemaConceptual
toc_rel../../toc.json
pdf_url_templatehttps://learn.microsoft.com/pdfstore/en-us/SQL.sql-content/{branchName}{pdfName}
word_count749
config_moniker_range=azuresqldb-current || =azuresqldb-mi-current || =azure-sqldw-latest || >=sql-server-2017 || >=sql-server-linux-2017 || =fabric || =fabric-sqldb
asset_idconnect/python/mssql-python/installation
moniker_range_namea113cbee0bc4eaf354988097828ae950
item_typeContent
source_pathdocs/connect/python/mssql-python/installation.md
previous_tlsh_hashD7E3E691C71DBA06A985DD263C81DE50F6F5400B27B00B881E2952A1C7FB7FF71B6E9C96DB05DB505332BAA3429AB4AF01857315D13A327704AA84FF8094436767A4373FF3
github_feedback_content_git_urlhttps://github.com/MicrosoftDocs/sql-docs/blob/live/docs/connect/python/mssql-python/installation.md
markdown_urlhttps://learn.microsoft.com/en-us/sql/connect/python/mssql-python/installation?view=sql-server-ver17&accept=text/markdown
cmProductshttps://authoring-docs-microsoft.poolparty.biz/devrel/6ab7faaf-d791-4a26-96a2-3b11738538e7
spProductshttps://authoring-docs-microsoft.poolparty.biz/devrel/302e28b0-1f09-4811-9a9b-2a72e0770581

Links:

Skip to main content https://learn.microsoft.com/sql/connect/python/mssql-python/installation#main
Skip to Ask Learn chat experience https://learn.microsoft.com/sql/connect/python/mssql-python/installation
Download Microsoft Edge https://go.microsoft.com/fwlink/p/?LinkID=2092881
More info about Internet Explorer and Microsoft Edge https://learn.microsoft.com/en-us/lifecycle/faq/internet-explorer-microsoft-edge
Read in English https://learn.microsoft.com/sql/connect/python/mssql-python/installation
Edit https://github.com/MicrosoftDocs/sql-docs/blob/live/docs/connect/python/mssql-python/installation.md
signing inhttps://learn.microsoft.com/sql/connect/python/mssql-python/installation
Dependency requirementshttps://learn.microsoft.com/sql/connect/python/mssql-python/support-lifecycle?view=sql-server-ver17#dependency-requirements
Anaconda.orghttps://anaconda.org/microsoft/mssql-python
macOShttps://learn.microsoft.com/sql/connect/python/mssql-python/installation#macos
Quickstart: Connect with the mssql-python driver for Pythonhttps://learn.microsoft.com/sql/connect/python/mssql-python/python-sql-driver-mssql-python-quickstart?view=sql-server-ver17
Connection strings for mssql-pythonhttps://learn.microsoft.com/sql/connect/python/mssql-python/connection-strings?view=sql-server-ver17
mssql-python GitHub repositoryhttps://github.com/microsoft/mssql-python
en-ushttps://learn.microsoft.com/sql/connect/python/mssql-python/installation
Your Privacy Choiceshttps://aka.ms/yourcaliforniaprivacychoices
AI Disclaimerhttps://learn.microsoft.com/en-us/principles-for-ai-generated-content
Previous Versionshttps://learn.microsoft.com/en-us/previous-versions/
Bloghttps://techcommunity.microsoft.com/t5/microsoft-learn-blog/bg-p/MicrosoftLearnBlog
Contributehttps://learn.microsoft.com/en-us/contribute
Privacyhttps://go.microsoft.com/fwlink/?LinkId=521839
Consumer Health Privacyhttps://go.microsoft.com/fwlink/?linkid=2259814
Terms of Usehttps://learn.microsoft.com/en-us/legal/termsofuse
Trademarkshttps://www.microsoft.com/legal/intellectualproperty/Trademarks/

Viewport: width=device-width, initial-scale=1.0


URLs of crawlers that visited me.