How to install latest python version for SQL Server2019 Community Moderator ElectionAdd a column with a default value to an existing table in SQL ServerHow to return only the Date from a SQL Server DateTime datatypeHow to check if a column exists in a SQL Server table?How to concatenate text from multiple rows into a single text string in SQL server?How can I safely create a nested directory in Python?How to get the current time in PythonHow can I make a time delay in Python?How to concatenate two lists in Python?How do I UPDATE from a SELECT in SQL Server?How do I install pip on Windows?
Having the player face themselves after the mid-game
Proving a function is always nonnegative
Create lookup field that can relate to two types of objects
Movie: boy escapes the real world and goes to a fantasy world with big furry trolls
Do black holes violate the conservation of mass?
What does ' you have heart' mean or imply in this sentence?
Why is a very small peak with larger m/z not considered to be the molecular ion?
Trouble making an executable as a service
What is the purpose of a disclaimer like "this is not legal advice"?
I can't die. Who am I?
Can I negotiate a patent idea for a raise, under French law?
Under what conditions can the right to remain silent be revoked in the USA?
limit about factorial and exponential.
Earliest source for question on timing of birth control?
What would be the most expensive material to an intergalactic society?
Is divide-by-zero a security vulnerability?
Solving Linear Matrix Recurrences
Are all players supposed to be able to see each others' character sheets?
Does the US political system, in principle, allow for a no-party system?
Why isn't Javascript async function immediately returning?
Vocabulary for giving just numbers, not a full answer
Why do we say 'Pairwise Disjoint', rather than 'Disjoint'?
Will expression retain the same definition if particle is changed?
Can one live in the U.S. and not use a credit card?
How to install latest python version for SQL Server
2019 Community Moderator ElectionAdd a column with a default value to an existing table in SQL ServerHow to return only the Date from a SQL Server DateTime datatypeHow to check if a column exists in a SQL Server table?How to concatenate text from multiple rows into a single text string in SQL server?How can I safely create a nested directory in Python?How to get the current time in PythonHow can I make a time delay in Python?How to concatenate two lists in Python?How do I UPDATE from a SELECT in SQL Server?How do I install pip on Windows?
I have installed SQL Server 2017 with Python but it came with Python 3.5.2 and Anaconda 4.2.0. Is there a way to upgrade the Python to 3.7?
This is the only official document I found and tried
https://docs.microsoft.com/en-us/sql/advanced-analytics/r/use-sqlbindr-exe-to-upgrade-an-instance-of-sql-server?view=sql-server-2017 but even this installed 3.5
Please help.
Thanks,
Avinash
python

add a comment |
I have installed SQL Server 2017 with Python but it came with Python 3.5.2 and Anaconda 4.2.0. Is there a way to upgrade the Python to 3.7?
This is the only official document I found and tried
https://docs.microsoft.com/en-us/sql/advanced-analytics/r/use-sqlbindr-exe-to-upgrade-an-instance-of-sql-server?view=sql-server-2017 but even this installed 3.5
Please help.
Thanks,
Avinash
python

have you try using docker? That way both versions are independent of each other
– Jose Angel Sanchez
Mar 7 at 2:42
@JoseAngelSanchez I am sorry but how is docker related to SQL Server? I am trying to run Python scripts from SQL Server (from SSMS).
– Avinash
Mar 7 at 4:06
Hoy can run SQL un Docker, it Is always a good option, but it Is just a sugestion
– Jose Angel Sanchez
Mar 7 at 5:18
add a comment |
I have installed SQL Server 2017 with Python but it came with Python 3.5.2 and Anaconda 4.2.0. Is there a way to upgrade the Python to 3.7?
This is the only official document I found and tried
https://docs.microsoft.com/en-us/sql/advanced-analytics/r/use-sqlbindr-exe-to-upgrade-an-instance-of-sql-server?view=sql-server-2017 but even this installed 3.5
Please help.
Thanks,
Avinash
python

I have installed SQL Server 2017 with Python but it came with Python 3.5.2 and Anaconda 4.2.0. Is there a way to upgrade the Python to 3.7?
This is the only official document I found and tried
https://docs.microsoft.com/en-us/sql/advanced-analytics/r/use-sqlbindr-exe-to-upgrade-an-instance-of-sql-server?view=sql-server-2017 but even this installed 3.5
Please help.
Thanks,
Avinash
python

python

asked Mar 7 at 1:44
AvinashAvinash
2314
2314
have you try using docker? That way both versions are independent of each other
– Jose Angel Sanchez
Mar 7 at 2:42
@JoseAngelSanchez I am sorry but how is docker related to SQL Server? I am trying to run Python scripts from SQL Server (from SSMS).
– Avinash
Mar 7 at 4:06
Hoy can run SQL un Docker, it Is always a good option, but it Is just a sugestion
– Jose Angel Sanchez
Mar 7 at 5:18
add a comment |
have you try using docker? That way both versions are independent of each other
– Jose Angel Sanchez
Mar 7 at 2:42
@JoseAngelSanchez I am sorry but how is docker related to SQL Server? I am trying to run Python scripts from SQL Server (from SSMS).
– Avinash
Mar 7 at 4:06
Hoy can run SQL un Docker, it Is always a good option, but it Is just a sugestion
– Jose Angel Sanchez
Mar 7 at 5:18
have you try using docker? That way both versions are independent of each other
– Jose Angel Sanchez
Mar 7 at 2:42
have you try using docker? That way both versions are independent of each other
– Jose Angel Sanchez
Mar 7 at 2:42
@JoseAngelSanchez I am sorry but how is docker related to SQL Server? I am trying to run Python scripts from SQL Server (from SSMS).
– Avinash
Mar 7 at 4:06
@JoseAngelSanchez I am sorry but how is docker related to SQL Server? I am trying to run Python scripts from SQL Server (from SSMS).
– Avinash
Mar 7 at 4:06
Hoy can run SQL un Docker, it Is always a good option, but it Is just a sugestion
– Jose Angel Sanchez
Mar 7 at 5:18
Hoy can run SQL un Docker, it Is always a good option, but it Is just a sugestion
– Jose Angel Sanchez
Mar 7 at 5:18
add a comment |
1 Answer
1
active
oldest
votes
I am using pyodbc with Python 3.7. I am running an older version of SQL-Server, but it should work on your version too.
So just install Python 3.7, import pyodbc, set the "driver" specifically to a SQL Server client and you are good to go.
add a comment |
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55034811%2fhow-to-install-latest-python-version-for-sql-server%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
I am using pyodbc with Python 3.7. I am running an older version of SQL-Server, but it should work on your version too.
So just install Python 3.7, import pyodbc, set the "driver" specifically to a SQL Server client and you are good to go.
add a comment |
I am using pyodbc with Python 3.7. I am running an older version of SQL-Server, but it should work on your version too.
So just install Python 3.7, import pyodbc, set the "driver" specifically to a SQL Server client and you are good to go.
add a comment |
I am using pyodbc with Python 3.7. I am running an older version of SQL-Server, but it should work on your version too.
So just install Python 3.7, import pyodbc, set the "driver" specifically to a SQL Server client and you are good to go.
I am using pyodbc with Python 3.7. I am running an older version of SQL-Server, but it should work on your version too.
So just install Python 3.7, import pyodbc, set the "driver" specifically to a SQL Server client and you are good to go.
answered Mar 7 at 12:12
Gert-JanGert-Jan
446
446
add a comment |
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55034811%2fhow-to-install-latest-python-version-for-sql-server%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
have you try using docker? That way both versions are independent of each other
– Jose Angel Sanchez
Mar 7 at 2:42
@JoseAngelSanchez I am sorry but how is docker related to SQL Server? I am trying to run Python scripts from SQL Server (from SSMS).
– Avinash
Mar 7 at 4:06
Hoy can run SQL un Docker, it Is always a good option, but it Is just a sugestion
– Jose Angel Sanchez
Mar 7 at 5:18