And*_*ndy 4 python python-poetry
我需要将我的版本降级poetry到 version 1.2.1。
目前,它是1.2.2.
>>> poetry --version
Poetry (version 1.2.2)
Run Code Online (Sandbox Code Playgroud)
我使用以下命令:
>>> curl -sSL https://install.python-poetry.org | POETRY_VERSION=1.2.1 python3 -
Retrieving Poetry metadata
The latest version (1.2.1) is already installed.
Run Code Online (Sandbox Code Playgroud)
但我听说1.2.1已经安装了。但诗版仍停留在原著之上。
>>> poetry --version
Poetry (version 1.2.2)
Run Code Online (Sandbox Code Playgroud)
这里给出的答案不起作用 ( poetry self update@1.2.1) =>The command "self" does not exist.
我在这里做错了什么?
小智 23
人们可以通过命令降级(或升级)诗歌poetry self update。
1.2.1因此,您可以通过运行降级到:
poetry self update 1.2.1
Run Code Online (Sandbox Code Playgroud)