From 6005670bbad801f270f4077f91eff7662b2176d4 Mon Sep 17 00:00:00 2001 From: Glenn Jocher Date: Fri, 16 Apr 2021 13:49:25 +0200 Subject: [PATCH] Update general.py --- utils/general.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/general.py b/utils/general.py index 413eb5b8fa97..ac3a6981b3d4 100755 --- a/utils/general.py +++ b/utils/general.py @@ -111,7 +111,7 @@ def check_requirements(requirements='requirements.txt', exclude=()): except Exception as e: # DistributionNotFound or VersionConflict if requirements not met n += 1 print(f"{prefix} {e.req} not found and is required by YOLOv5, attempting auto-update...") - print(subprocess.check_output(f"pip install '{e.req}'", shell=True).decode()) + print(subprocess.check_output(f"pip install {e.req}", shell=True).decode()) if n: # if packages updated source = file.resolve() if 'file' in locals() else requirements