Traceback (most recent call last):


 "video_to_slomo.py", line 9, in <module>

import torchvision.transforms as transforms


 "/root/miniconda3/lib/python3.7/site-packages/torchvision/__init__.py", line 4, in <module>

from torchvision import datasets


 "/root/miniconda3/lib/python3.7/site-packages/torchvision/datasets/__init__.py", line 9, in <module>

from .fakedata import FakeData


 "/root/miniconda3/lib/python3.7/site-packages/torchvision/datasets/fakedata.py", line 3, in <module>

from .. import transforms


 "/root/miniconda3/lib/python3.7/site-packages/torchvision/transforms/__init__.py", line 1, in <module>

from .transforms import *


 "/root/miniconda3/lib/python3.7/site-packages/torchvision/transforms/transforms.py", line 17, in <module>

from . import functional as F


 "/root/miniconda3/lib/python3.7/site-packages/torchvision/transforms/functional.py", line 5, in <module>

from PIL import Image, ImageOps, ImageEnhance, PILLOW_VERSION
ImportError: cannot import name 'PILLOW_VERSION' from 'PIL' (/root/miniconda3/lib/python3.7/site-packages/PIL/__init__.py)

Traceback (most recent call last):


 "/usr/local/lib/python2.7/dist-packages/samcli/cli/command.py", line 103, in get_command

mod = importlib.import_module(pkg_name)


 "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module

__import__(name)


 "/usr/local/lib/python2.7/dist-packages/samcli/commands/build/__init__.py", line 6, in <module>

from .command import cli
# noqa


 "/usr/local/lib/python2.7/dist-packages/samcli/commands/build/command.py", line 13, in <module>

from samcli.commands.build.build_context import BuildContext


 "/usr/local/lib/python2.7/dist-packages/samcli/commands/build/build_context.py", line 14, in <module>

from samcli.local.docker.manager import ContainerManager


 "/usr/local/lib/python2.7/dist-packages/samcli/local/docker/manager.py", line 8, in <module>

import docker


 "/usr/local/lib/python2.7/dist-packages/docker/__init__.py", line 2, in <module>

from .api import APIClient


 "/usr/local/lib/python2.7/dist-packages/docker/api/__init__.py", line 2, in <module>

from .client import APIClient


 "/usr/local/lib/python2.7/dist-packages/docker/api/client.py", line 10, in <module>

from .build import BuildApiMixin


 "/usr/local/lib/python2.7/dist-packages/docker/api/build.py", line 6, in <module>

from .. import auth


 "/usr/local/lib/python2.7/dist-packages/docker/auth.py", line 9, in <module>

from .utils import config


 "/usr/local/lib/python2.7/dist-packages/docker/utils/__init__.py", line 3, in <module>

from .decorators import check_resource, minimum_version, update_headers


 "/usr/local/lib/python2.7/dist-packages/docker/utils/decorators.py", line 4, in <module>

from . import utils


 "/usr/local/lib/python2.7/dist-packages/docker/utils/utils.py", line 13, in <module>

from .. import tls


 "/usr/local/lib/python2.7/dist-packages/docker/tls.py", line 5, in <module>

from .transport import SSLHTTPAdapter


 "/usr/local/lib/python2.7/dist-packages/docker/transport/__init__.py", line 3, in <module>

from .ssladapter import SSLHTTPAdapter


 "/usr/local/lib/python2.7/dist-packages/docker/transport/ssladapter.py", line 23, in <module>

from backports.ssl_match_hostname import match_hostname
ImportError: No module named ssl_match_hostname
