summaryrefslogtreecommitdiff
path: root/src/plugins/python/pythonutils.cpp
diff options
context:
space:
mode:
authorDavid Schulz <david.schulz@qt.io>2019-10-24 10:57:17 +0200
committerDavid Schulz <david.schulz@qt.io>2019-10-25 12:50:35 +0000
commit01df962d6a6f35cea25efefd7b51d7dcfe104407 (patch)
tree679c040f0148544b1a1217112916078b35fd941b /src/plugins/python/pythonutils.cpp
parent10c94994db84c920ebf1ff43b6b5fe5224ee8afa (diff)
downloadqt-creator-01df962d6a6f35cea25efefd7b51d7dcfe104407.tar.gz
Python: install python language server with --user
Change-Id: Ifd8e19ea7d52d85ec0c497e5cbfe24300571398e Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Diffstat (limited to 'src/plugins/python/pythonutils.cpp')
-rw-r--r--src/plugins/python/pythonutils.cpp2
1 files changed, 1 insertions, 1 deletions
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(' ')));