aws-samples / easy-amazon-sagemaker-deployments

SageMaker custom deployments made easy
https://pypi.org/project/ezsmdeploy/
57 stars 16 forks source link

sudo: a password is required #8

Open Knorra416 opened 3 years ago

Knorra416 commented 3 years ago

sudo: a terminal is required to read the password; either use the -S option to read from standard input or configure an askpass helper

Can anyone assist with this error? Im trying to deploy my endpoint locally to test using:

ez = ezsmdeploy.Deploy(model=['model.pkl'], script='modelscript_sklearn.py', requirements=['scikit-learn==0.24.2','numpy', 'nltk'], instance_type='local', autoscale=True,

framework='sklearn', # not required if you provide requirements

                   wait=True)
sharabhshukla commented 3 years ago

I am facing the same issue, whats the fix for this ?