I'm trying to configure PyCharm in order to run a Lambda Function.
First of all in AWS Toolkit I select the SAM CLI executable, and it goes well:

Anyway, when I want to add a Lambda run configuration pycharm says: Invalid sam executable: "The system couldn't find the specific route."

My system PATH variable:

Someone could help me here please, I really don't know what else to do.
Many thanks! Xevi
Actually, I encountered same problem and solved as following;
I assume that you use mac and write in terminal this;
which sam
This gives you the path where sam installed.
Then copy this and paste into sam cli executable path like below;

This means that SAM is not installed on your system or path is not configured in pycharm. Kindly follow the instructions for installing SAM as per the AWS documentation.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With