anomalyinnovations / serverless-python-starter Goto Github PK
View Code? Open in Web Editor NEWPython starter project for Serverless Framework
Python starter project for Serverless Framework
I am having an error while running serverless deploy after following the starter instructions.
The error states:
Unable to link dependency 'bin' because a file by the same name exists in this service
This is the serverless.yml content:
service: py-server
plugins:
custom:
pythonRequirements:
dockerizePip: false
pythonBin: C:\Python27\python
provider:
name: aws
runtime: python2.7
stage: dev
region: us-east-1
functions:
query_forest:
handler: handler.query_forest
events:
- http:
path: /
method: get
Hi, I'm following the README and encountered the following error while trying to deploy the API.
My Python is installed at C:\Program Files\Python36. Not sure if that's related.
Serverless: Installing required Python packages with python3.6...
Error --------------------------------------------------
python3.6 not found! Try the pythonBin option.
For debugging logs, run again after setting the "SLS_DEBUG=*" environment variable.
Get Support --------------------------------------------
Docs: docs.serverless.com
Bugs: github.com/serverless/serverless/issues
Issues: forum.serverless.com
Your Environment Information -----------------------------
OS: win32
Node Version: 8.11.2
Serverless Version: 1.30.1
Thanks
Hello, at the beginning I'd like to thank you guys for awesome job on starters and serverless stack project.
I have a small suggestion for this template regarding test setup. While unittest is a part of standard library, pytest is becoming the go-to testing framework in Python.
What do you think about replacing unittest with pytest in this starter?
Regards
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.