This message was deleted.
# announcements
s
This message was deleted.
b
BentoML will use your default AWS account that is configured on your system. Make sure configure your AWS account on your system, you can find the link to the instruction in the deployment guide,
p
Yup...I have my AWS account set up already. Do I need to install BentoML CLI to run the commands now...If yes, where would I find the Bento CLI?
b
bentoml cli is installed when you installed bentoml python package using pip
👍 1
p
It is throwing an error related to SAM CLI...I have installed it, still getting this error With Sage Maker, it is also throwing some error...can you please have a look at it?
Hi @Bo @Chaoyu can you please help me with this
b
hey Piyush, can you post the error please?
p
Error: lambda deploy failed: INTERNAL:aws-sam-cli package requires version 0.33.1 Install the package with
pip install -U aws-sam-cli==0.33.1
When I am trying to install the package using
*pip install -U aws-sam-cli==0.33.1*
, it is throwing an error-> ERROR: Could not install packages due to an EnvironmentError: [WinError 5] Access is denied: 'C:\\Users\\Owner\\anaconda3\\Lib\\site-packages\\pywin32_system32\\pywintypes38.dll' Consider using the
--user
option or check the permissions.
b
it seems like your issue is related to your env setup. and not related to bentoml. Can you make sure you have the right env setup?
p
I have installed all the prerequisites but it is throwing an error -> ERROR - URPC ERROR ApplyDeployment: [WinError 2] The system cannot find the file specified Error: lambda deploy failed: INTERNAL:[WinError 2] The system cannot find the file specified
Not sure why I am getting this error...I have run the command -> bentoml lambda deploy bento-service-uk-data -b UKDataPredict:20201117184908_40FAB4 and I am sure that UKDataPredict:20201117184908_40FAB4 is present in my local machine
@Bo
s
@PIYUSH AGGARWAL Did u get ur issue resolved?
p
Not for Lambda
s
hey @PIYUSH AGGARWAL I hope this might help. I'm also required to deploy the service to lambda.
Copy code
sudo aws configure set default.region <region>
Run this and AWS lambda deployment will be successful. Provided you are running this on the machine that has right IAM role attached.