Mac.zsh- no matches found- httpx[http2]

场景:pip3 install httpx[http2] 当在Mac中执行此命令时出现 zsh: no matches found: httpx[http2]

注意:此问题适用于所有相关场景 zsh: no matches found: xxx

解决办法:

1.编辑 zprofile 文件

vim ~/.zprofile
2.在文件中添加 setopt no_nomatch,然后按ESC保存文件 :wq

setopt no_nomatch
3.重新执行文件

source ~/.zprofile

posted @ 2023-04-23 20:55  程序员小艺  阅读(532)  评论(0)    收藏  举报