Use double quotes for pip install options (#4110)

Co-authored-by: Kayzwer <68285002+Kayzwer@users.noreply.github.com>
This commit is contained in:
Glenn Jocher
2023-08-02 17:32:03 +02:00
committed by GitHub
parent c3c27b019a
commit 6852b76611
12 changed files with 14 additions and 19 deletions

View File

@ -19,7 +19,7 @@ PaddlePaddle | `paddle` | yolov8n_paddle_model/
ncnn | `ncnn` | yolov8n_ncnn_model/
Requirements:
$ pip install ultralytics[export]
$ pip install "ultralytics[export]"
Python:
from ultralytics import YOLO

View File

@ -35,7 +35,7 @@ def run_ray_tune(model,
from ray.air.integrations.wandb import WandbLoggerCallback
from ray.tune.schedulers import ASHAScheduler
except ImportError:
raise ModuleNotFoundError("Tuning hyperparameters requires Ray Tune. Install with: pip install 'ray[tune]'")
raise ModuleNotFoundError('Tuning hyperparameters requires Ray Tune. Install with: pip install "ray[tune]"')
try:
import wandb