forked from qt-creator/qt-creator
Python: install python language server with --user
Change-Id: Ifd8e19ea7d52d85ec0c497e5cbfe24300571398e Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -248,7 +248,7 @@ public:
|
|||||||
? QString{"python-language-server[pyflakes]"}
|
? QString{"python-language-server[pyflakes]"}
|
||||||
: QString{"python-language-server[all]"};
|
: 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")
|
Core::MessageManager::write(tr("Running '%1 %2' to install python language server")
|
||||||
.arg(m_process.program(), m_process.arguments().join(' ')));
|
.arg(m_process.program(), m_process.arguments().join(' ')));
|
||||||
|
Reference in New Issue
Block a user