get-started-python
get-started-python copied to clipboard
running sample with python3
Hi I encounter the following error when run python3 hello.py
return jsonify(list(map(lambda doc: doc['name'], db)))
RuntimeError: generator raised StopIteration
How can I work arround this ? Thank you for your help
You need to add python version in the runtime.txt file in the root of your application:
For example:
python-3.7.1