Implemented --break-system-packages for pip install
This commit is contained in:
@@ -108,7 +108,7 @@ def install_repos(selected_repos, repositories_base_dir, bin_dir, all_repos, no_
|
||||
req_txt_file = os.path.join(repo_dir, "requirements.txt")
|
||||
if os.path.exists(req_txt_file):
|
||||
print(f"requirements.txt found in {repo_identifier}, installing Python dependencies...")
|
||||
cmd = "python3 -m pip install -r requirements.txt"
|
||||
cmd = "python3 -m pip install -r requirements.txt --break-system-packages"
|
||||
run_command(cmd, cwd=repo_dir, preview=preview)
|
||||
|
||||
# Check if a Makefile exists and run make.
|
||||
|
||||
Reference in New Issue
Block a user