Restoring a MS SQL Server database on Linux
Try to edit the script (/opt/mssql/lib/mssql-conf/mssql-conf.py) using text editor, It is line 1: #!/usr/bin/python22, which may be wrong.

I changed it #!/usr/bin/python2 
Plz try this