From f5ce4d40b71e55936aac295797b4bc7e5238504f Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Fri, 24 Mar 2017 15:02:40 -0400 Subject: [PATCH] lang/python: fix pip bootstrap --- modules/lang/python/packages.el | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/modules/lang/python/packages.el b/modules/lang/python/packages.el index 6602246c9..f29b5666c 100644 --- a/modules/lang/python/packages.el +++ b/modules/lang/python/packages.el @@ -20,7 +20,5 @@ (when-let (pkgs (cl-remove-if (lambda (pkg) (zerop (shell-command (format "pip show %s" pkg)))) '("jedi" "setuptools"))) - (funcall (if (file-writable-p (executable-find "pip")) 'sh 'sudo) - "pip install %s" - (string-join pkgs " ")) + (sh "pip install %s" (string-join pkgs " ")) t))