zsh: command not found: mulate

MacOS 执行 poetry shell后报错如下:

*[main][~/coding/ensure_import]$ poetry shell
Spawning shell within /Users/mac10.12/Library/Caches/pypoetry/virtualenvs/ensure-import-3q-JXftD-py3.11
[oh-my-zsh] Would you like to update? [Y/n]
[oh-my-zsh] You can update manually by running `omz update`
*[main][~/coding/ensure_import]$ mulate bash -c '. /Users/mac10.12/Library/Caches/pypoetry/virtualenvs/ensure-
import-3q-JXftD-py3.11/bin/activate'
zsh: command not found: mulate

原因:未知

解决:升级ohmyzsh就好了:

omz update

你可能感兴趣的:(macos)