mirror of
https://github.com/gradio-app/gradio.git
synced 2024-11-27 01:40:20 +08:00
update prerequisite note to mention python 3.13 issue (#9710)
This commit is contained in:
parent
2932e067d5
commit
2735e89cd8
@ -46,7 +46,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:
|
||||
|
@ -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
|
||||
|
@ -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:
|
||||
|
@ -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
|
||||
|
@ -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**:
|
||||
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user