From 01df962d6a6f35cea25efefd7b51d7dcfe104407 Mon Sep 17 00:00:00 2001 From: David Schulz Date: Thu, 24 Oct 2019 10:57:17 +0200 Subject: Python: install python language server with --user Change-Id: Ifd8e19ea7d52d85ec0c497e5cbfe24300571398e Reviewed-by: Christian Stenger --- src/plugins/python/pythonutils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/plugins/python/pythonutils.cpp') diff --git a/src/plugins/python/pythonutils.cpp b/src/plugins/python/pythonutils.cpp index 82fa67d93a..03096ee96e 100644 --- a/src/plugins/python/pythonutils.cpp +++ b/src/plugins/python/pythonutils.cpp @@ -248,7 +248,7 @@ public: ? QString{"python-language-server[pyflakes]"} : QString{"python-language-server[all]"}; - m_process.start(m_python.toString(), {"-m", "pip", "install", pylsVersion}); + m_process.start(m_python.toString(), {"-m", "pip", "install", "--user", pylsVersion}); Core::MessageManager::write(tr("Running '%1 %2' to install python language server") .arg(m_process.program(), m_process.arguments().join(' '))); -- cgit v1.2.1