首页 > 解决方案 > 诗歌:找不到命令

问题描述

我安装了Poetry,并且poetry.lock在同一个 cwd 中有一个。

我要表演poetry update/install


为什么我不能安装诗歌依赖项?

终端:

me@PF2DCSXD:/mnt/c/Users/user/Documents/GitHub/workers-python/workers/composite_key/compositekey/tests$ pip3 install poetry
Requirement already satisfied: ...
me@PF2DCSXD:/mnt/c/Users/user/Documents/GitHub/workers-python/workers/composite_key$ ls
Dockerfile  azure-pipeline-composite_key.yaml  compositekey  docs  poetry.lock  pyproject.toml
me@PF2DCSXD:/mnt/c/Users/user/Documents/GitHub/workers-python/workers/composite_key$ poetry update
poetry: command not found
me@PF2DCSXD:/mnt/c/Users/user/Documents/GitHub/workers-python/workers/composite_key$ poetry install
poetry: command not found


如果还有什么我可以添加到帖子中,请告诉我。

标签: pythonbashpython-poetry

解决方案


推荐阅读