Skip to content

Commit

Permalink
update prerequisite note to mention python 3.13 issue
Browse files Browse the repository at this point in the history
  • Loading branch information
samy-FERGUI committed Oct 17, 2024
1 parent 86fdd93 commit 640c36c
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ It just takes a few lines of Python to create your own demo, so let's get starte

### Installation

**Prerequisite**: Gradio 5 requires [Python 3.10 or higher](https://www.python.org/downloads/)
**Prerequisite**: Gradio 5 supports [Python 3.10 - 3.12](https://www.python.org/downloads/).


We recommend installing Gradio using `pip`, which is included by default in Python. Run this in your terminal or command prompt:
Expand Down
2 changes: 1 addition & 1 deletion client/python/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ The Gradio client works with any Gradio Space, whether it be an image generator,

If you already have a recent version of `gradio`, then the `gradio_client` is included as a dependency.

Otherwise, the lightweight `gradio_client` package can be installed from pip (or pip3) and works with Python versions 3.10 or higher:
Otherwise, the lightweight `gradio_client` package can be installed from pip (or pip3) and works with [Python 3.10 - 3.12]:

```bash
$ pip install gradio_client
Expand Down
2 changes: 1 addition & 1 deletion guides/01_getting-started/01_quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ It just takes a few lines of Python to create a demo like the one above, so let'

## Installation

**Prerequisite**: Gradio requires [Python 3.10 or higher](https://www.python.org/downloads/).
**Prerequisite**: Gradio 5 supports [Python 3.10 - 3.12](https://www.python.org/downloads/).


We recommend installing Gradio using `pip`, which is included by default in Python. Run this in your terminal or command prompt:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ The Gradio client works with any hosted Gradio app! Although the Client is mostl

If you already have a recent version of `gradio`, then the `gradio_client` is included as a dependency. But note that this documentation reflects the latest version of the `gradio_client`, so upgrade if you're not sure!

The lightweight `gradio_client` package can be installed from pip (or pip3) and is tested to work with **Python versions 3.9 or higher**:
The lightweight `gradio_client` package can be installed from pip (or pip3) and is tested to work with [**Python 3.10 - 3.12**]:

```bash
$ pip install --upgrade gradio_client
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Using virtual environments ensures that you can work on multiple Python projects

To install Gradio on a Windows system in a virtual environment, follow these steps:

1. **Install Python**: Ensure you have Python 3.10 or higher installed. You can download it from [python.org](https://www.python.org/). You can verify the installation by running `python --version` or `python3 --version` in Command Prompt.
1. **Install Python**: Ensure you have [Python 3.10 - 3.12] installed. You can download it from [python.org](https://www.python.org/). You can verify the installation by running `python --version` or `python3 --version` in Command Prompt.


2. **Create a Virtual Environment**:
Expand Down Expand Up @@ -62,7 +62,7 @@ The installation steps on MacOS and Linux are similar to Windows but with some d
1. **Install Python**:
Python usually comes pre-installed on MacOS and most Linux distributions. You can verify the installation by running `python --version` in the terminal (note that depending on how Python is installed, you might have to use `python3` instead of `python` throughout these steps).

Ensure you have Python 3.10 or higher installed. If you do not have it installed, you can download it from [python.org](https://www.python.org/).
Ensure you have [Python 3.10 - 3.12] installed. If you do not have it installed, you can download it from [python.org](https://www.python.org/).

2. **Create a Virtual Environment**:
Open Terminal and navigate to your project directory. Then create a virtual environment using:
Expand Down

0 comments on commit 640c36c

Please sign in to comment.