Search code examples
pythonsql-serversql-server-ml-services

Accept EULA error when running Python script in SQL Server


I'm getting the error shown below when running Python script from SQL Server. I already installed ML services and reconfigured parameter external scripts enabled to 1.

This is a SQL Server Developer edition installed on Windows 10.

Msg 39111, Level 16, State 1, Procedure sp_execute_external_script, Line 1 [Batch Start Line 28]
The SQL Server Machine Learning Services End-User License Agreement (EULA) has not been accepted.

How can I accept it? Can't find any information. I've found only accepting EULA on docker containers, but it's not the same within this situation.


Solution

  • We can face with this kind of error if we haven't restarted services after installing ML services.

    Actually I've clicked on restart after installation in Configuration Manager several times, but I think due to local account permission it didn't restarted and didn't gave me any error messages. After restart with administrative account error is gone.