我安装了 poetry,但是在尝试调用 poetry 时出现以下错误
zsh: command not found: poetry
我知道我已经安装了它,因为我在尝试运行以下安装脚本时得到以下输出
$ curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python
Retrieving Poetry metadata
Latest version already installed.
原文由 arshbot 发布,翻译遵循 CC BY-SA 4.0 许可协议
默认安装位置是
~/.poetry/bin/poetry
我将以下内容添加到我的
.zshrc