命令:
pip3 install fastapi[all]
错误:
zsh: no matches found: fastapi[all]
我使用的是配备 Python 3.8 的 MacBook Air 2020。
Mim*_*ime 15
您需要转义括号,因此命令如下所示
pip3 install fastapi\[all\]
Run Code Online (Sandbox Code Playgroud)
或者作为替代方案,您引用包名称
pip3 install 'fastapi[all]'
Run Code Online (Sandbox Code Playgroud)
第三种选择是使用noglob
noglob pip3 install fastapi[all]
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
3755 次 |
| 最近记录: |