diff --git a/agent-node/bootstrap_installer.py b/agent-node/bootstrap_installer.py index b14ebeb..e54355c 100644 --- a/agent-node/bootstrap_installer.py +++ b/agent-node/bootstrap_installer.py @@ -100,9 +100,10 @@ if not os.path.exists(req_file): _print("No requirements.txt found — skipping dependency install.") return - _print("Installing Python dependencies ...") + _print("Installing Python dependencies (resilient mode) ...") + # Using --ignore-installed to bypass "no RECORD file found" metadata errors common on Mac/Anaconda subprocess.check_call( - [sys.executable, "-m", "pip", "install", "-r", req_file, "--quiet"], + [sys.executable, "-m", "pip", "install", "-r", req_file, "--quiet", "--ignore-installed"], cwd=install_dir ) _print("Dependencies installed.")