`Traceback (most recent call last):


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


 "/usr/lib/python3.5/site-packages/telebot/__init__.py", line 23, in <module>

from telebot import apihelper, types, util


 "/usr/lib/python3.5/site-packages/telebot/apihelper.py", line 3, in <module>

import requests


 "/usr/lib/python3.5/site-packages/requests/__init__.py", line 64, in <module>

from . import utils


 "/usr/lib/python3.5/site-packages/requests/utils.py", line 26, in <module>

from .compat import (
ImportError: cannot import name 'integer_types'`

Traceback (most recent call last):


 "webcam.py", line 11, in <module>

from predictor import COCODemo


 "/home/workplace/maskrcnn-benchmark/demo/predictor.py", line 6, in <module>

from maskrcnn_benchmark.modeling.detector import build_detection_model


 "/home/workplace/maskrcnn-benchmark/maskrcnn_benchmark/modeling/detector/__init__.py", line 2, in <module>

from .detectors import build_detection_model


 "/home/workplace/maskrcnn-benchmark/maskrcnn_benchmark/modeling/detector/detectors.py", line 2, in <module>

from .generalized_rcnn import GeneralizedRCNN


 "/home/workplace/maskrcnn-benchmark/maskrcnn_benchmark/modeling/detector/generalized_rcnn.py", line 11, in <module>

from ..backbone import build_backbone


 "/home/workplace/maskrcnn-benchmark/maskrcnn_benchmark/modeling/backbone/__init__.py", line 2, in <module>

from .backbone import build_backbone


 "/home/workplace/maskrcnn-benchmark/maskrcnn_benchmark/modeling/backbone/backbone.py", line 7, in <module>

from maskrcnn_benchmark.modeling.make_layers import conv_with_kaiming_uniform


 "/home/workplace/maskrcnn-benchmark/maskrcnn_benchmark/modeling/make_layers.py", line 10, in <module>

from maskrcnn_benchmark.layers import Conv2d


 "/home/workplace/maskrcnn-benchmark/maskrcnn_benchmark/layers/__init__.py", line 10, in <module>

from .nms import nms


 "/home/workplace/maskrcnn-benchmark/maskrcnn_benchmark/layers/nms.py", line 5, in <module>

from apex import amp


 "build/bdist.linux-x86_64/egg/apex/__init__.py", line 2, in <module>


 "build/bdist.linux-x86_64/egg/apex/amp/__init__.py", line 1, in <module>


 "build/bdist.linux-x86_64/egg/apex/amp/amp.py", line 1, in <module>


 "build/bdist.linux-x86_64/egg/apex/amp/rnn_compat.py", line 1, in <module>


 "build/bdist.linux-x86_64/egg/apex/amp/wrap.py", line 4, in <module>
ImportError: cannot import name rnn_compat