Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

running sample with python3 #23

Open
XAV-01 opened this issue Jun 6, 2019 · 1 comment
Open

running sample with python3 #23

XAV-01 opened this issue Jun 6, 2019 · 1 comment

Comments

@XAV-01
Copy link

XAV-01 commented Jun 6, 2019

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

@MartykQ
Copy link

MartykQ commented Sep 24, 2019

You need to add python version in the runtime.txt file in the root of your application:

For example:

python-3.7.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants