![](/img/trans.png)
[英]What's the difference between "pip install" and "python -m pip install"?
[英]what's the poetry equivalent of pip install 'python-lsp-server[all]'?
在关于 python lsp 服务器的页面中,有关于如何在基于 pip 的环境中安装它的示例; 喜欢
pip install 'python-lsp-server[all]'
或者
pip install 'python-lsp-server[yapf]'
我如何获得与诗歌相同的效果?
使用--extras
参数:
poetry install python-lsp-server --extras "yapf", "flake8"
作为替代使用-E
参数:
poetry install python-lsp-server -E yapf -E flake8
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.