diff --git a/torchvision/io/__init__.py b/torchvision/io/__init__.py index 382e06fb4f2..8ee832f43d7 100644 --- a/torchvision/io/__init__.py +++ b/torchvision/io/__init__.py @@ -110,7 +110,7 @@ def __init__(self, path: str, stream: str = "video", num_threads: int = 0) -> No raise RuntimeError( "Not compiled with video_reader support, " + "to enable video_reader support, please install " - + "ffmpeg (version 4.2 is currently supported) and" + + "ffmpeg (version 4.2 is currently supported) and " + "build torchvision from source." ) self._c = torch.classes.torchvision.Video(path, stream, num_threads)