From ddd7fa13dc87d05e97deaa9fa96cce7f20430062 Mon Sep 17 00:00:00 2001 From: Simon Mo Date: Tue, 7 Jun 2022 12:00:29 -0700 Subject: [PATCH] Lower bound Python version to 3.7 (#1480) * Lower bound Python version to 3.7 * Update doc --- guides/getting_started.md | 2 +- setup.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/guides/getting_started.md b/guides/getting_started.md index 311e715a9e..69eef15c58 100644 --- a/guides/getting_started.md +++ b/guides/getting_started.md @@ -16,7 +16,7 @@ Gradio allows you to **build demos and share them, all in Python.** And usually To get Gradio running with a simple "Hello, World" example, follow these three steps: -1. Install Gradio from pip. +1. Install Gradio from pip. Note, the minimal supported Python version is 3.7. ```bash pip install gradio diff --git a/setup.py b/setup.py index 7c6b9b8b65..31dcdcb620 100644 --- a/setup.py +++ b/setup.py @@ -42,4 +42,5 @@ setup( entry_points={ 'console_scripts': ['gradio=gradio.reload:run_in_reload_mode'] }, + python_requires='>=3.7', )