MycroftOS: Remove pip logic patch for now as it causes skill loading issues at first run.
This commit is contained in:
parent
77f2b53653
commit
81d0c5948b
|
@ -1,32 +0,0 @@
|
||||||
From 89782d56ed0fa1b63fef350520abea59c79bf283 Mon Sep 17 00:00:00 2001
|
|
||||||
From: j1nx <p.steenbergen@j1nx.nl>
|
|
||||||
Date: Mon, 14 Sep 2020 16:38:58 +0200
|
|
||||||
Subject: [PATCH 1/1] Remove "sudo" pip logic and change to --user by default
|
|
||||||
|
|
||||||
---
|
|
||||||
msm/skill_entry.py | 6 +-----
|
|
||||||
1 file changed, 1 insertion(+), 5 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/msm/skill_entry.py b/msm/skill_entry.py
|
|
||||||
index 3170656..ec78609 100644
|
|
||||||
--- a/msm/skill_entry.py
|
|
||||||
+++ b/msm/skill_entry.py
|
|
||||||
@@ -295,14 +295,10 @@ class SkillEntry(object):
|
|
||||||
constraints = DEFAULT_CONSTRAINTS
|
|
||||||
|
|
||||||
LOG.info('Installing requirements.txt for ' + self.name)
|
|
||||||
- can_pip = os.access(dirname(sys.executable), os.W_OK | os.X_OK)
|
|
||||||
- pip_args = [sys.executable, '-m', 'pip', 'install']
|
|
||||||
+ pip_args = [sys.executable, '-m', 'pip', 'install', '--user']
|
|
||||||
if constraints:
|
|
||||||
pip_args += ['-c', constraints]
|
|
||||||
|
|
||||||
- if not can_pip:
|
|
||||||
- pip_args = ['sudo', '-n'] + pip_args
|
|
||||||
-
|
|
||||||
with self.pip_lock:
|
|
||||||
"""
|
|
||||||
Iterate over the individual Python packages and
|
|
||||||
--
|
|
||||||
2.20.1
|
|
||||||
|
|
Loading…
Reference in New Issue