SQl Server, No module named 'revoscalepy.computecontext'

248 Views Asked by At

I followed the steps here to install Python and configure Python runtime with SQL Server. When I ran this script

EXEC sp_execute_external_script @script=N'import sys;print(sys.version)',@language=N'Python'
GO

this error popped up:

Msg 39012, Level 16, State 14, Line 0
Unable to communicate with the runtime for 'Python' script for request id: A38DC621-AD74-4408- 
856E-70CBAFDD699F. Please check the requirements of 'Python' runtime.
STDERR message(s) from external script: 
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ModuleNotFoundError: No module named 'revoscalepy.computecontext'

But computercontext does exist in the revoscalepy folder, C:\Program Files\Python310\Lib\site-packages\revoscalepy\computecontext. What causes the above error?

0

There are 0 best solutions below