Skip to content

'pip install' missing --user #132

@mpictor

Description

@mpictor

As of the latest rev (b3401b6), one invocation of pip install has the --user arg, the other doesn't. The missing arg caused an issue on Gentoo.

This fixes it:

diff --git a/build b/build
index 6e1a193..b1ab485 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', '--user', '-r', 'requirements.txt', 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.

Related: #121

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions