Poetry中与pip install 'python-lsp-server[all]'等效的命令是什么
Python LSP Server 对应Poetry安装命令
你给出的两条pip安装命令,对应的Poetry操作命令如下:
- 安装全量可选依赖(等效
pip install 'python-lsp-server[all]'):poetry add python-lsp-server[all] - 仅安装yapf格式化相关依赖(等效
pip install 'python-lsp-server[yapf]'):poetry add python-lsp-server[yapf]
如果你使用Windows PowerShell执行命令,方括号会被识别为系统特殊字符,需要给包名包裹双引号,示例:poetry add "python-lsp-server[all]"
内容的提问来源于stack exchange,提问作者user1632812
相关产品推荐
相关产品推荐

