diff --git a/installation_and_upgrade/ibex_install_utils/tasks/system_tasks.py b/installation_and_upgrade/ibex_install_utils/tasks/system_tasks.py index 8c23c05..2695223 100644 --- a/installation_and_upgrade/ibex_install_utils/tasks/system_tasks.py +++ b/installation_and_upgrade/ibex_install_utils/tasks/system_tasks.py @@ -165,10 +165,12 @@ def create_virtual_envs(self) -> None: expected_return_codes=0, ).run() + activate_script = os.path.join(venv, "Scripts", "activate") + RunProcess( working_dir=os.path.join(directory), - executable_file=UV, - prog_args=["pip", "sync", "requirements-frozen.txt"], + executable_file=os.environ["COMSPEC"], + prog_args=["/c", f"{activate_script} && {UV} pip sync requirements-frozen.txt"], env={}, expected_return_codes=0, ).run()