diff --git a/utils/general.py b/utils/general.py index eb1125e4ebfa..3789f0519661 100755 --- a/utils/general.py +++ b/utils/general.py @@ -355,7 +355,7 @@ def check_requirements(requirements=ROOT / 'requirements.txt', exclude=(), insta LOGGER.info(f"{s}, attempting auto-update...") try: assert check_online(), f"'pip install {r}' skipped (offline)" - LOGGER.info(check_output(f"pip install '{r}' {cmds[i] if cmds else ''}", shell=True).decode()) + LOGGER.info(check_output(f"pip install {r} {cmds[i] if cmds else ''}", shell=True).decode()) n += 1 except Exception as e: LOGGER.warning(f'{prefix} {e}')