How do I resolve this python runtime error in Azure SQL Managed Instances?
3
votes
2
answers
556
views
We recently setup a new managed instance through the program that allows you to try it for free . When trying to run the following code from Microsoft's documentation :
EXECUTE sp_execute_external_script
@language =N'Python',
@script=N'import sys; print("\n".join(sys.path))'
The code fails after 300 seconds with the following error:
> Msg 39012, Level 16, State 14, Line 0
>
> Unable to communicate with the runtime for 'Python' script for request id: A1D8A9DA-DBB1-4EDE-B589-3AAFD4241D18. Please check the requirements of 'Python' runtime.
>
> STDERR message(s) from external script:
>
> SQLSatellite Run() failed. Error code:0x8007271d.
>
> SqlSatelliteCall error: SQLSatellite Run() failed. Error code:0x8007271d.
>
> STDOUT message(s) from external script:
>
> SqlSatelliteCall function failed. Please see the console output for more information.
>
> Traceback (most recent call last):
>
> File "D:\WFRoot\Ext\Python.9.4.8.3\lib\site-packages\revoscalepy\computecontext\RxInSqlServer.py", line 605, in rx_sql_satellite_call
>
> rx_native_call("SqlSatelliteCall", params)
>
> File "D:\WFRoot\Ext\Python.9.4.8.3\lib\site-packages\revoscalepy\RxSerializable.py", line 375, in rx_native_call
>
> ret = px_call(functionname, params)
>
> RuntimeError: revoscalepy function failed.
How do I resolve this error?
Asked by Joe Obbish
(32986 rep)
Jan 2, 2024, 07:12 PM
Last activity: Jan 17, 2024, 02:17 AM
Last activity: Jan 17, 2024, 02:17 AM