Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
bowenliang123 committed Nov 12, 2024
1 parent 0584c46 commit bfa9c49
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions api/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,16 +32,16 @@
Dify API services requires Python 3.11 or 3.12, and the [Poetry](https://python-poetry.org/docs/) for dependency
management.
- To install Poetry, please refer to
the [Poetry's installation guide](https://python-poetry.org/docs/#installation).
- Run `poetry env use 3.11` to switch to the Python version for Poetry, please refer the usage of `poetry env use`
the [Poetry's installation guide](https://python-poetry.org/docs/#installation). The simplest way is to run the `pip install poetry` command to install Poetry on pip.
- Run `poetry env use 3.12` to switch to the Python version for Poetry, please refer the usage of `poetry env use`
command in [Poetry docs](https://python-poetry.org/docs/managing-environments/#switching-between-environments).
- Run `poetry shell` to activate the shell environment with Poetry support.
5. Install dependencies
```bash
cd api
poetry env use 3.11
poetry env use 3.12
poetry install
```
Expand Down

0 comments on commit bfa9c49

Please sign in to comment.