From 2cfdbf79f2708fd6bf57423a77a1c4995c846999 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ciro=20Santilli=20=E5=85=AD=E5=9B=9B=E4=BA=8B=E4=BB=B6=20?= =?UTF-8?q?=E6=B3=95=E8=BD=AE=E5=8A=9F?= Date: Mon, 12 Oct 2020 01:00:00 +0000 Subject: [PATCH] Add --user to pip install -r requirements.txt Fix https://github.com/cirosantilli/linux-kernel-module-cheat/issues/132 --- build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build b/build index 6e1a193..555e790 100755 --- a/build +++ b/build @@ -577,7 +577,7 @@ Which components to build. Default: qemu-buildroot ['python3', '-m', 'pip', 'install', '--user', LF] + self.sh.add_newlines(sorted(python3_pkgs)) ) - self.sh.run_cmd(['python3', '-m', 'pip', 'install', '-r', 'requirements.txt', LF]) + self.sh.run_cmd(['python3', '-m', 'pip', 'install', '-r', 'requirements.txt', '--user', LF]) if ruby_pkgs: # The right thing to do would be to use RVM and avoid sudo, # but we felt it was too much boilerplate for now.