Update invalid pip install flag (#18146)

This commit is contained in:
Joel Challis 2022-08-24 20:25:16 +01:00 committed by GitHub
parent 7fab889696
commit 3d8c624698
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -91,7 +91,7 @@ def _install_deps(requirements):
elif not os.access(sys.prefix, os.W_OK):
# We can't write to sys.prefix, attempt to install locally
command.append('--local')
command.append('--user')
return _run_cmd(*command, '-r', requirements)