Traceback (most recent call last):


 "/usr/local/bin/pip", line 7, in <module>

from pip import main
ImportError: cannot import name main

Traceback (most recent call last):


 "./tools/train.py", line 7, in <module>

from mmdet.datasets import get_dataset


 "/home/alexander/Code/Projects/mmdetection/mmdet/datasets/__init__.py", line 1, in <module>

from .custom import CustomDataset


 "/home/alexander/Code/Projects/mmdetection/mmdet/datasets/custom.py", line 11, in <module>

from .extra_aug import ExtraAugmentation


 "/home/alexander/Code/Projects/mmdetection/mmdet/datasets/extra_aug.py", line 5, in <module>

from mmdet.core.evaluation.bbox_overlaps import bbox_overlaps


 "/home/alexander/Code/Projects/mmdetection/mmdet/core/__init__.py", line 6, in <module>

from .post_processing import *
# noqa: F401, F403


 "/home/alexander/Code/Projects/mmdetection/mmdet/core/post_processing/__init__.py", line 1, in <module>

from .bbox_nms import multiclass_nms


 "/home/alexander/Code/Projects/mmdetection/mmdet/core/post_processing/bbox_nms.py", line 3, in <module>

from mmdet.ops.nms import nms_wrapper


 "/home/alexander/Code/Projects/mmdetection/mmdet/ops/__init__.py", line 5, in <module>

from .nms import nms, soft_nms


 "/home/alexander/Code/Projects/mmdetection/mmdet/ops/nms/__init__.py", line 1, in <module>

from .nms_wrapper import nms, soft_nms


 "/home/alexander/Code/Projects/mmdetection/mmdet/ops/nms/nms_wrapper.py", line 4, in <module>

from .gpu_nms import gpu_nms
ImportError: /home/alexander/Code/Projects/mmdetection/mmdet/ops/nms/gpu_nms.cpython-36m-x86_64-linux-gnu.so: undefined symbol: __cudaRegisterFatBinaryEnd
