Traceback (most recent call last):


 "translate.py", line 22, in <module>

import torch


 "/opt/conda/lib/python3.7/site-packages/torch/__init__.py", line 280, in <module>

from .functional import *


 "/opt/conda/lib/python3.7/site-packages/torch/functional.py", line 2, in <module>

import torch.nn.functional as F


 "/opt/conda/lib/python3.7/site-packages/torch/nn/__init__.py", line 1, in <module>

from .modules import *
# noqa: F401


 "/opt/conda/lib/python3.7/site-packages/torch/nn/modules/__init__.py", line 2, in <module>

from .linear import Identity, Linear, Bilinear


 "/opt/conda/lib/python3.7/site-packages/torch/nn/modules/linear.py", line 5, in <module>

from .. import functional as F


 "/opt/conda/lib/python3.7/site-packages/torch/nn/functional.py", line 15, in <module>

from .._jit_internal import boolean_dispatch, List


 "/opt/conda/lib/python3.7/site-packages/torch/_jit_internal.py", line 257, in <module>

import typing


 "/home/jovyan/lib/python3/site-packages/typing.py", line 1359, in <module>

class Callable(extra=collections_abc.Callable, metaclass=CallableMeta):


 "/home/jovyan/lib/python3/site-packages/typing.py", line 1007, in __new__

self._abc_registry = extra._abc_registry
AttributeError: type object 'Callable' has no attribute '_abc_registry'

Traceback (most recent call last):


 "<stdin>", line 1, in <module>


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

from .api import load_image_file, face_locations, face_landmarks, face_encodings, compare_faces


 "/usr/local/lib/python2.7/dist-packages/face_recognition/api.py", line 21, in <module>

face_encoder = dlib.face_recognition_model_v1(face_recognition_model)
AttributeError: 'module' object has no attribute 'face_recognition_model_v1'
