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

Posted 程序猿·李

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了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 

之后可以重新尝试执行命令。

以上是关于Mac.zsh- no matches found- httpx[http2]的主要内容,如果未能解决你的问题,请参考以下文章