open-mmlab / mmskeleton

A OpenMMLAB toolbox for human pose estimation, skeleton-based action recognition, and action synthesis.
Apache License 2.0
2.95k stars 1.04k forks source link

failed to install mmdet #374

Open wwdok opened 4 years ago

wwdok commented 4 years ago

I am following GETTING_STARTED.md to install mmskeleton, but at the step of python setup.py develop --mmdet, it occurs an error:

(base) weidawang@weidawang-TUF-Gaming-FX506LU-FX506LU:~/Repo/mmskeleton$ python setup.py develop --mmdet
Using pip 20.2.4 from /home/weidawang/miniconda3/lib/python3.7/site-packages/pip (python 3.7)
Non-user install because site-packages writeable
Created temporary directory: /tmp/pip-ephem-wheel-cache-gc09riga
Created temporary directory: /tmp/pip-req-tracker-tnjqjm62
Initialized build tracking at /tmp/pip-req-tracker-tnjqjm62
Created build tracker: /tmp/pip-req-tracker-tnjqjm62
Entered build tracker: /tmp/pip-req-tracker-tnjqjm62
Created temporary directory: /tmp/pip-install-f9cdkufo
Collecting https://github.com/open-mmlab/mmdetection/archive/v1.0rc1.zip
  Created temporary directory: /tmp/pip-req-build-8dj5iaqy
  Created temporary directory: /tmp/pip-unpack-jzpzd8_k
  Looking up "https://github.com/open-mmlab/mmdetection/archive/v1.0rc1.zip" in the cache
  No cache entry available
  Starting new HTTPS connection (1): github.com:443
  https://github.com:443 "GET /open-mmlab/mmdetection/archive/v1.0rc1.zip HTTP/1.1" 302 None
  Status code 302 not in (200, 203, 300, 301)
  Looking up "https://codeload.github.com/open-mmlab/mmdetection/zip/v1.0rc1" in the cache
  Current age based on date: 440
  Starting new HTTPS connection (1): codeload.github.com:443
  https://codeload.github.com:443 "GET /open-mmlab/mmdetection/zip/v1.0rc1 HTTP/1.1" 304 0
  Using cached https://github.com/open-mmlab/mmdetection/archive/v1.0rc1.zip
  Added https://github.com/open-mmlab/mmdetection/archive/v1.0rc1.zip to build tracker '/tmp/pip-req-tracker-tnjqjm62'
    Running setup.py (path:/tmp/pip-req-build-8dj5iaqy/setup.py) egg_info for package from https://github.com/open-mmlab/mmdetection/archive/v1.0rc1.zip
    Created temporary directory: /tmp/pip-pip-egg-info-obi4acmj
    Running command python setup.py egg_info
    Error: mkl-service + Intel(R) MKL: MKL_THREADING_LAYER=INTEL is incompatible with libgomp-7c85b1e2.so.1 library.
        Try to import numpy first or set the threading layer accordingly. Set MKL_SERVICE_FORCE_INTEL to force it.
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Exception information:
Traceback (most recent call last):
  File "/home/weidawang/miniconda3/lib/python3.7/site-packages/pip/_internal/cli/base_command.py", line 228, in _main
    status = self.run(options, args)
  File "/home/weidawang/miniconda3/lib/python3.7/site-packages/pip/_internal/cli/req_command.py", line 182, in wrapper
    return func(self, options, args)
  File "/home/weidawang/miniconda3/lib/python3.7/site-packages/pip/_internal/commands/install.py", line 324, in run
    reqs, check_supported_wheels=not options.target_dir
  File "/home/weidawang/miniconda3/lib/python3.7/site-packages/pip/_internal/resolution/legacy/resolver.py", line 183, in resolve
    discovered_reqs.extend(self._resolve_one(requirement_set, req))
  File "/home/weidawang/miniconda3/lib/python3.7/site-packages/pip/_internal/resolution/legacy/resolver.py", line 388, in _resolve_one
    abstract_dist = self._get_abstract_dist_for(req_to_install)
  File "/home/weidawang/miniconda3/lib/python3.7/site-packages/pip/_internal/resolution/legacy/resolver.py", line 340, in _get_abstract_dist_for
    abstract_dist = self.preparer.prepare_linked_requirement(req)
  File "/home/weidawang/miniconda3/lib/python3.7/site-packages/pip/_internal/operations/prepare.py", line 483, in prepare_linked_requirement
    req, self.req_tracker, self.finder, self.build_isolation,
  File "/home/weidawang/miniconda3/lib/python3.7/site-packages/pip/_internal/operations/prepare.py", line 91, in _get_prepared_distribution
    abstract_dist.prepare_distribution_metadata(finder, build_isolation)
  File "/home/weidawang/miniconda3/lib/python3.7/site-packages/pip/_internal/distributions/sdist.py", line 40, in prepare_distribution_metadata
    self.req.prepare_metadata()
  File "/home/weidawang/miniconda3/lib/python3.7/site-packages/pip/_internal/req/req_install.py", line 555, in prepare_metadata
    self.metadata_directory = self._generate_metadata()
  File "/home/weidawang/miniconda3/lib/python3.7/site-packages/pip/_internal/req/req_install.py", line 535, in _generate_metadata
    details=self.name or "from {}".format(self.link)
  File "/home/weidawang/miniconda3/lib/python3.7/site-packages/pip/_internal/operations/build/metadata_legacy.py", line 73, in generate_metadata
    command_desc='python setup.py egg_info',
  File "/home/weidawang/miniconda3/lib/python3.7/site-packages/pip/_internal/utils/subprocess.py", line 242, in call_subprocess
    raise InstallationError(exc_msg)
pip._internal.exceptions.InstallationError: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Removed https://github.com/open-mmlab/mmdetection/archive/v1.0rc1.zip from build tracker '/tmp/pip-req-tracker-tnjqjm62'
Removed build tracker: '/tmp/pip-req-tracker-tnjqjm62'
Traceback (most recent call last):
  File "setup.py", line 149, in <module>
    subprocess.check_call([sys.executable, "-m", "pip", "install", 'https://github.com/open-mmlab/mmdetection/archive/v1.0rc1.zip', '-v'])
  File "/home/weidawang/miniconda3/lib/python3.7/subprocess.py", line 363, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/home/weidawang/miniconda3/bin/python', '-m', 'pip', 'install', 'https://github.com/open-mmlab/mmdetection/archive/v1.0rc1.zip', '-v']' returned non-zero exit status 1.

Then i go to mmdetection official repo and successfully install mmdetecion-2.6.0 :

git clone https://github.com/open-mmlab/mmdetection.git
cd mmdetection
pip install -r requirements/build.txt
python setup.py develop

I thought it would success, and i move on to next step python mmskl.py pose_demo, it occurs another error:

(base) weidawang@weidawang-TUF-Gaming-FX506LU-FX506LU:~/Repo/mmskeleton$ python mmskl.py pose_demo
/home/weidawang/miniconda3/lib/python3.7/site-packages/Cython/Distutils/old_build_ext.py:41: UserWarning: Cython.Distutils.old_build_ext does not properly handle dependencies and is deprecated.
  "Cython.Distutils.old_build_ext does not properly handle dependencies "
Load configuration information from ./configs/pose_estimation/pose_demo.yaml

Pose estimation:
Traceback (most recent call last):
  File "mmskl.py", line 123, in <module>
    main()
  File "mmskl.py", line 117, in main
    call_obj(**cfg.processor_cfg)
  File "/home/weidawang/Repo/mmskeleton/mmskeleton/utils/importer.py", line 24, in call_obj
    return import_obj(type)(**kwargs)
  File "/home/weidawang/Repo/mmskeleton/mmskeleton/processor/pose_demo.py", line 78, in inference
    model = init_pose_estimator(detection_cfg, estimation_cfg, device=0)
  File "/home/weidawang/Repo/mmskeleton/mmskeleton/apis/estimation.py", line 18, in init_pose_estimator
    detection_model = mmdet.apis.init_detector(detection_model_file,
  File "/home/weidawang/miniconda3/lib/python3.7/site-packages/lazy_import-0.2.2-py3.7.egg/lazy_import/__init__.py", line 156, in __getattribute__
    _load_module(self)
  File "/home/weidawang/miniconda3/lib/python3.7/site-packages/lazy_import-0.2.2-py3.7.egg/lazy_import/__init__.py", line 537, in _load_module
    msg.format(**modclass._lazy_import_error_strings)), None)
  File "<string>", line 3, in raise_from
ImportError: mmskeleton.utils.third_party attempted to use a functionality that requires module mmdet.apis, but it couldn't be loaded. Please install mmdet and retry.

Could anyone tell me how to solve it ? Thanks !

happytianhao commented 4 years ago

have a try to pip uninstall mmcv and then pip install mvcc-full? Actually I have solved this problem but I met another problem...

horizonly commented 4 years ago

The problem is caused by mmcv version, only mmcv==0.4.3 can work, and when you try pip install mmcv==0.4.3, then you must try python setup.py develop and python setup.py develop --mmdet again

wwdok commented 4 years ago

After following your suggestion and rerun the commmand line, there is another error: g++: error: /tmp/pip-req-build-uh6wxn__/build/temp.linux-x86_64-3.7/mmdet/ops/nms/src/soft_nms_cpu.o: 没有那个文件或目录

the full log is :

(base) weidawang@weidawang-TUF-Gaming-FX506LU-FX506LU:~/Repo/mmskeleton$ python setup.py develop --mmdet
Using pip 20.2.4 from /home/weidawang/miniconda3/lib/python3.7/site-packages/pip (python 3.7)
Non-user install because site-packages writeable
Created temporary directory: /tmp/pip-ephem-wheel-cache-m5pznelq
Created temporary directory: /tmp/pip-req-tracker-ngjychll
Initialized build tracking at /tmp/pip-req-tracker-ngjychll
Created build tracker: /tmp/pip-req-tracker-ngjychll
Entered build tracker: /tmp/pip-req-tracker-ngjychll
Created temporary directory: /tmp/pip-install-1m5akifr
Collecting https://github.com/open-mmlab/mmdetection/archive/v1.0rc1.zip
  Created temporary directory: /tmp/pip-req-build-9sgnjekw
  Created temporary directory: /tmp/pip-unpack-70k0r8b9
  Looking up "https://github.com/open-mmlab/mmdetection/archive/v1.0rc1.zip" in the cache
  No cache entry available
  Starting new HTTPS connection (1): github.com:443
  https://github.com:443 "GET /open-mmlab/mmdetection/archive/v1.0rc1.zip HTTP/1.1" 302 128
  Status code 302 not in (200, 203, 300, 301)
  Looking up "https://codeload.github.com/open-mmlab/mmdetection/zip/v1.0rc1" in the cache
  Current age based on date: 725
  Starting new HTTPS connection (1): codeload.github.com:443
  https://codeload.github.com:443 "GET /open-mmlab/mmdetection/zip/v1.0rc1 HTTP/1.1" 304 0
  Using cached https://github.com/open-mmlab/mmdetection/archive/v1.0rc1.zip
  Added https://github.com/open-mmlab/mmdetection/archive/v1.0rc1.zip to build tracker '/tmp/pip-req-tracker-ngjychll'
    Running setup.py (path:/tmp/pip-req-build-9sgnjekw/setup.py) egg_info for package from https://github.com/open-mmlab/mmdetection/archive/v1.0rc1.zip
    Created temporary directory: /tmp/pip-pip-egg-info-w8lfsf3s
    Running command python setup.py egg_info
    Compiling mmdet/ops/nms/src/soft_nms_cpu.pyx because it changed.
    [1/1] Cythonizing mmdet/ops/nms/src/soft_nms_cpu.pyx
    running egg_info
    creating /tmp/pip-pip-egg-info-w8lfsf3s/mmdet.egg-info
    writing /tmp/pip-pip-egg-info-w8lfsf3s/mmdet.egg-info/PKG-INFO
    writing dependency_links to /tmp/pip-pip-egg-info-w8lfsf3s/mmdet.egg-info/dependency_links.txt
    writing requirements to /tmp/pip-pip-egg-info-w8lfsf3s/mmdet.egg-info/requires.txt
    writing top-level names to /tmp/pip-pip-egg-info-w8lfsf3s/mmdet.egg-info/top_level.txt
    writing manifest file '/tmp/pip-pip-egg-info-w8lfsf3s/mmdet.egg-info/SOURCES.txt'
    reading manifest file '/tmp/pip-pip-egg-info-w8lfsf3s/mmdet.egg-info/SOURCES.txt'
    writing manifest file '/tmp/pip-pip-egg-info-w8lfsf3s/mmdet.egg-info/SOURCES.txt'
  Source in /tmp/pip-req-build-9sgnjekw has version 1.0rc1+unknown, which satisfies requirement mmdet==1.0rc1+unknown from https://github.com/open-mmlab/mmdetection/archive/v1.0rc1.zip
  Removed mmdet==1.0rc1+unknown from https://github.com/open-mmlab/mmdetection/archive/v1.0rc1.zip from build tracker '/tmp/pip-req-tracker-ngjychll'
Requirement already satisfied: mmcv>=0.2.10 in /home/weidawang/miniconda3/lib/python3.7/site-packages (from mmdet==1.0rc1+unknown) (0.4.3)
Requirement already satisfied: numpy in /home/weidawang/miniconda3/lib/python3.7/site-packages (from mmdet==1.0rc1+unknown) (1.19.4)
Requirement already satisfied: matplotlib in /home/weidawang/miniconda3/lib/python3.7/site-packages (from mmdet==1.0rc1+unknown) (3.3.2)
Requirement already satisfied: six in /home/weidawang/miniconda3/lib/python3.7/site-packages (from mmdet==1.0rc1+unknown) (1.15.0)
Requirement already satisfied: terminaltables in /home/weidawang/miniconda3/lib/python3.7/site-packages/terminaltables-3.1.0-py3.7.egg (from mmdet==1.0rc1+unknown) (3.1.0)
Requirement already satisfied: pycocotools in /home/weidawang/miniconda3/lib/python3.7/site-packages (from mmdet==1.0rc1+unknown) (2.0.2)
Requirement already satisfied: torch>=1.1 in /home/weidawang/miniconda3/lib/python3.7/site-packages (from mmdet==1.0rc1+unknown) (1.7.0)
Requirement already satisfied: torchvision in /home/weidawang/miniconda3/lib/python3.7/site-packages/torchvision-0.8.1-py3.7-linux-x86_64.egg (from mmdet==1.0rc1+unknown) (0.8.1)
Requirement already satisfied: imagecorruptions in /home/weidawang/miniconda3/lib/python3.7/site-packages (from mmdet==1.0rc1+unknown) (1.1.0)
Requirement already satisfied: albumentations>=0.3.2 in /home/weidawang/miniconda3/lib/python3.7/site-packages (from mmdet==1.0rc1+unknown) (0.5.1)
Requirement already satisfied: pyyaml in /home/weidawang/miniconda3/lib/python3.7/site-packages/PyYAML-5.3.1-py3.7-linux-x86_64.egg (from mmcv>=0.2.10->mmdet==1.0rc1+unknown) (5.3.1)
Requirement already satisfied: addict in /home/weidawang/miniconda3/lib/python3.7/site-packages (from mmcv>=0.2.10->mmdet==1.0rc1+unknown) (2.3.0)
Requirement already satisfied: opencv-python>=3 in /home/weidawang/miniconda3/lib/python3.7/site-packages (from mmcv>=0.2.10->mmdet==1.0rc1+unknown) (4.4.0.44)
Requirement already satisfied: pillow>=6.2.0 in /home/weidawang/miniconda3/lib/python3.7/site-packages (from matplotlib->mmdet==1.0rc1+unknown) (8.0.1)
Requirement already satisfied: cycler>=0.10 in /home/weidawang/miniconda3/lib/python3.7/site-packages (from matplotlib->mmdet==1.0rc1+unknown) (0.10.0)
Requirement already satisfied: kiwisolver>=1.0.1 in /home/weidawang/miniconda3/lib/python3.7/site-packages (from matplotlib->mmdet==1.0rc1+unknown) (1.3.1)
Requirement already satisfied: pyparsing!=2.0.4,!=2.1.2,!=2.1.6,>=2.0.3 in /home/weidawang/miniconda3/lib/python3.7/site-packages (from matplotlib->mmdet==1.0rc1+unknown) (2.4.7)
Requirement already satisfied: certifi>=2020.06.20 in /home/weidawang/miniconda3/lib/python3.7/site-packages (from matplotlib->mmdet==1.0rc1+unknown) (2020.6.20)
Requirement already satisfied: python-dateutil>=2.1 in /home/weidawang/miniconda3/lib/python3.7/site-packages (from matplotlib->mmdet==1.0rc1+unknown) (2.8.1)
Requirement already satisfied: cython>=0.27.3 in /home/weidawang/miniconda3/lib/python3.7/site-packages (from pycocotools->mmdet==1.0rc1+unknown) (0.29.21)
Requirement already satisfied: setuptools>=18.0 in /home/weidawang/miniconda3/lib/python3.7/site-packages (from pycocotools->mmdet==1.0rc1+unknown) (50.3.1.post20201107)
Requirement already satisfied: typing-extensions in /home/weidawang/miniconda3/lib/python3.7/site-packages (from torch>=1.1->mmdet==1.0rc1+unknown) (3.7.4.3)
Requirement already satisfied: dataclasses in /home/weidawang/miniconda3/lib/python3.7/site-packages (from torch>=1.1->mmdet==1.0rc1+unknown) (0.6)
Requirement already satisfied: future in /home/weidawang/miniconda3/lib/python3.7/site-packages (from torch>=1.1->mmdet==1.0rc1+unknown) (0.18.2)
Requirement already satisfied: scipy>=1.2.1 in /home/weidawang/miniconda3/lib/python3.7/site-packages (from imagecorruptions->mmdet==1.0rc1+unknown) (1.5.4)
Requirement already satisfied: scikit-image>=0.15 in /home/weidawang/miniconda3/lib/python3.7/site-packages (from imagecorruptions->mmdet==1.0rc1+unknown) (0.17.2)
Requirement already satisfied: opencv-python-headless>=4.1.1 in /home/weidawang/miniconda3/lib/python3.7/site-packages (from albumentations>=0.3.2->mmdet==1.0rc1+unknown) (4.4.0.46)
Requirement already satisfied: imgaug>=0.4.0 in /home/weidawang/miniconda3/lib/python3.7/site-packages (from albumentations>=0.3.2->mmdet==1.0rc1+unknown) (0.4.0)
Requirement already satisfied: networkx>=2.0 in /home/weidawang/miniconda3/lib/python3.7/site-packages (from scikit-image>=0.15->imagecorruptions->mmdet==1.0rc1+unknown) (2.5)
Requirement already satisfied: tifffile>=2019.7.26 in /home/weidawang/miniconda3/lib/python3.7/site-packages (from scikit-image>=0.15->imagecorruptions->mmdet==1.0rc1+unknown) (2020.10.1)
Requirement already satisfied: imageio>=2.3.0 in /home/weidawang/miniconda3/lib/python3.7/site-packages (from scikit-image>=0.15->imagecorruptions->mmdet==1.0rc1+unknown) (2.9.0)
Requirement already satisfied: PyWavelets>=1.1.1 in /home/weidawang/miniconda3/lib/python3.7/site-packages (from scikit-image>=0.15->imagecorruptions->mmdet==1.0rc1+unknown) (1.1.1)
Requirement already satisfied: Shapely in /home/weidawang/miniconda3/lib/python3.7/site-packages (from imgaug>=0.4.0->albumentations>=0.3.2->mmdet==1.0rc1+unknown) (1.7.1)
Requirement already satisfied: decorator>=4.3.0 in /home/weidawang/miniconda3/lib/python3.7/site-packages (from networkx>=2.0->scikit-image>=0.15->imagecorruptions->mmdet==1.0rc1+unknown) (4.4.2)
Building wheels for collected packages: mmdet
  Created temporary directory: /tmp/pip-wheel-mssv8and
  Building wheel for mmdet (setup.py) ...   Destination directory: /tmp/pip-wheel-mssv8and
  Running command /home/weidawang/miniconda3/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-9sgnjekw/setup.py'"'"'; __file__='"'"'/tmp/pip-req-build-9sgnjekw/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-mssv8and
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build/lib.linux-x86_64-3.7
  creating build/lib.linux-x86_64-3.7/mmdet
  copying mmdet/__init__.py -> build/lib.linux-x86_64-3.7/mmdet
  copying mmdet/version.py -> build/lib.linux-x86_64-3.7/mmdet
  creating build/lib.linux-x86_64-3.7/mmdet/models
  copying mmdet/models/__init__.py -> build/lib.linux-x86_64-3.7/mmdet/models
  copying mmdet/models/builder.py -> build/lib.linux-x86_64-3.7/mmdet/models
  copying mmdet/models/registry.py -> build/lib.linux-x86_64-3.7/mmdet/models
  creating build/lib.linux-x86_64-3.7/mmdet/apis
  copying mmdet/apis/__init__.py -> build/lib.linux-x86_64-3.7/mmdet/apis
  copying mmdet/apis/inference.py -> build/lib.linux-x86_64-3.7/mmdet/apis
  copying mmdet/apis/env.py -> build/lib.linux-x86_64-3.7/mmdet/apis
  copying mmdet/apis/train.py -> build/lib.linux-x86_64-3.7/mmdet/apis
  creating build/lib.linux-x86_64-3.7/mmdet/ops
  copying mmdet/ops/__init__.py -> build/lib.linux-x86_64-3.7/mmdet/ops
  copying mmdet/ops/context_block.py -> build/lib.linux-x86_64-3.7/mmdet/ops
  creating build/lib.linux-x86_64-3.7/mmdet/datasets
  copying mmdet/datasets/__init__.py -> build/lib.linux-x86_64-3.7/mmdet/datasets
  copying mmdet/datasets/voc.py -> build/lib.linux-x86_64-3.7/mmdet/datasets
  copying mmdet/datasets/wider_face.py -> build/lib.linux-x86_64-3.7/mmdet/datasets
  copying mmdet/datasets/xml_style.py -> build/lib.linux-x86_64-3.7/mmdet/datasets
  copying mmdet/datasets/custom.py -> build/lib.linux-x86_64-3.7/mmdet/datasets
  copying mmdet/datasets/builder.py -> build/lib.linux-x86_64-3.7/mmdet/datasets
  copying mmdet/datasets/coco.py -> build/lib.linux-x86_64-3.7/mmdet/datasets
  copying mmdet/datasets/registry.py -> build/lib.linux-x86_64-3.7/mmdet/datasets
  copying mmdet/datasets/dataset_wrappers.py -> build/lib.linux-x86_64-3.7/mmdet/datasets
  copying mmdet/datasets/cityscapes.py -> build/lib.linux-x86_64-3.7/mmdet/datasets
  creating build/lib.linux-x86_64-3.7/mmdet/core
  copying mmdet/core/__init__.py -> build/lib.linux-x86_64-3.7/mmdet/core
  creating build/lib.linux-x86_64-3.7/mmdet/utils
  copying mmdet/utils/__init__.py -> build/lib.linux-x86_64-3.7/mmdet/utils
  copying mmdet/utils/flops_counter.py -> build/lib.linux-x86_64-3.7/mmdet/utils
  copying mmdet/utils/registry.py -> build/lib.linux-x86_64-3.7/mmdet/utils
  creating build/lib.linux-x86_64-3.7/mmdet/models/detectors
  copying mmdet/models/detectors/__init__.py -> build/lib.linux-x86_64-3.7/mmdet/models/detectors
  copying mmdet/models/detectors/reppoints_detector.py -> build/lib.linux-x86_64-3.7/mmdet/models/detectors
  copying mmdet/models/detectors/fcos.py -> build/lib.linux-x86_64-3.7/mmdet/models/detectors
  copying mmdet/models/detectors/mask_scoring_rcnn.py -> build/lib.linux-x86_64-3.7/mmdet/models/detectors
  copying mmdet/models/detectors/cascade_rcnn.py -> build/lib.linux-x86_64-3.7/mmdet/models/detectors
  copying mmdet/models/detectors/rpn.py -> build/lib.linux-x86_64-3.7/mmdet/models/detectors
  copying mmdet/models/detectors/single_stage.py -> build/lib.linux-x86_64-3.7/mmdet/models/detectors
  copying mmdet/models/detectors/base.py -> build/lib.linux-x86_64-3.7/mmdet/models/detectors
  copying mmdet/models/detectors/double_head_rcnn.py -> build/lib.linux-x86_64-3.7/mmdet/models/detectors
  copying mmdet/models/detectors/fast_rcnn.py -> build/lib.linux-x86_64-3.7/mmdet/models/detectors
  copying mmdet/models/detectors/test_mixins.py -> build/lib.linux-x86_64-3.7/mmdet/models/detectors
  copying mmdet/models/detectors/two_stage.py -> build/lib.linux-x86_64-3.7/mmdet/models/detectors
  copying mmdet/models/detectors/fovea.py -> build/lib.linux-x86_64-3.7/mmdet/models/detectors
  copying mmdet/models/detectors/retinanet.py -> build/lib.linux-x86_64-3.7/mmdet/models/detectors
  copying mmdet/models/detectors/mask_rcnn.py -> build/lib.linux-x86_64-3.7/mmdet/models/detectors
  copying mmdet/models/detectors/htc.py -> build/lib.linux-x86_64-3.7/mmdet/models/detectors
  copying mmdet/models/detectors/faster_rcnn.py -> build/lib.linux-x86_64-3.7/mmdet/models/detectors
  copying mmdet/models/detectors/grid_rcnn.py -> build/lib.linux-x86_64-3.7/mmdet/models/detectors
  creating build/lib.linux-x86_64-3.7/mmdet/models/mask_heads
  copying mmdet/models/mask_heads/__init__.py -> build/lib.linux-x86_64-3.7/mmdet/models/mask_heads
  copying mmdet/models/mask_heads/grid_head.py -> build/lib.linux-x86_64-3.7/mmdet/models/mask_heads
  copying mmdet/models/mask_heads/fcn_mask_head.py -> build/lib.linux-x86_64-3.7/mmdet/models/mask_heads
  copying mmdet/models/mask_heads/fused_semantic_head.py -> build/lib.linux-x86_64-3.7/mmdet/models/mask_heads
  copying mmdet/models/mask_heads/maskiou_head.py -> build/lib.linux-x86_64-3.7/mmdet/models/mask_heads
  copying mmdet/models/mask_heads/htc_mask_head.py -> build/lib.linux-x86_64-3.7/mmdet/models/mask_heads
  creating build/lib.linux-x86_64-3.7/mmdet/models/anchor_heads
  copying mmdet/models/anchor_heads/__init__.py -> build/lib.linux-x86_64-3.7/mmdet/models/anchor_heads
  copying mmdet/models/anchor_heads/retina_head.py -> build/lib.linux-x86_64-3.7/mmdet/models/anchor_heads
  copying mmdet/models/anchor_heads/ga_rpn_head.py -> build/lib.linux-x86_64-3.7/mmdet/models/anchor_heads
  copying mmdet/models/anchor_heads/ga_retina_head.py -> build/lib.linux-x86_64-3.7/mmdet/models/anchor_heads
  copying mmdet/models/anchor_heads/rpn_head.py -> build/lib.linux-x86_64-3.7/mmdet/models/anchor_heads
  copying mmdet/models/anchor_heads/guided_anchor_head.py -> build/lib.linux-x86_64-3.7/mmdet/models/anchor_heads
  copying mmdet/models/anchor_heads/free_anchor_retina_head.py -> build/lib.linux-x86_64-3.7/mmdet/models/anchor_heads
  copying mmdet/models/anchor_heads/ssd_head.py -> build/lib.linux-x86_64-3.7/mmdet/models/anchor_heads
  copying mmdet/models/anchor_heads/reppoints_head.py -> build/lib.linux-x86_64-3.7/mmdet/models/anchor_heads
  copying mmdet/models/anchor_heads/fcos_head.py -> build/lib.linux-x86_64-3.7/mmdet/models/anchor_heads
  copying mmdet/models/anchor_heads/fovea_head.py -> build/lib.linux-x86_64-3.7/mmdet/models/anchor_heads
  copying mmdet/models/anchor_heads/anchor_head.py -> build/lib.linux-x86_64-3.7/mmdet/models/anchor_heads
  creating build/lib.linux-x86_64-3.7/mmdet/models/losses
  copying mmdet/models/losses/__init__.py -> build/lib.linux-x86_64-3.7/mmdet/models/losses
  copying mmdet/models/losses/cross_entropy_loss.py -> build/lib.linux-x86_64-3.7/mmdet/models/losses
  copying mmdet/models/losses/smooth_l1_loss.py -> build/lib.linux-x86_64-3.7/mmdet/models/losses
  copying mmdet/models/losses/accuracy.py -> build/lib.linux-x86_64-3.7/mmdet/models/losses
  copying mmdet/models/losses/balanced_l1_loss.py -> build/lib.linux-x86_64-3.7/mmdet/models/losses
  copying mmdet/models/losses/mse_loss.py -> build/lib.linux-x86_64-3.7/mmdet/models/losses
  copying mmdet/models/losses/utils.py -> build/lib.linux-x86_64-3.7/mmdet/models/losses
  copying mmdet/models/losses/focal_loss.py -> build/lib.linux-x86_64-3.7/mmdet/models/losses
  copying mmdet/models/losses/iou_loss.py -> build/lib.linux-x86_64-3.7/mmdet/models/losses
  copying mmdet/models/losses/ghm_loss.py -> build/lib.linux-x86_64-3.7/mmdet/models/losses
  creating build/lib.linux-x86_64-3.7/mmdet/models/bbox_heads
  copying mmdet/models/bbox_heads/__init__.py -> build/lib.linux-x86_64-3.7/mmdet/models/bbox_heads
  copying mmdet/models/bbox_heads/convfc_bbox_head.py -> build/lib.linux-x86_64-3.7/mmdet/models/bbox_heads
  copying mmdet/models/bbox_heads/double_bbox_head.py -> build/lib.linux-x86_64-3.7/mmdet/models/bbox_heads
  copying mmdet/models/bbox_heads/bbox_head.py -> build/lib.linux-x86_64-3.7/mmdet/models/bbox_heads
  creating build/lib.linux-x86_64-3.7/mmdet/models/shared_heads
  copying mmdet/models/shared_heads/__init__.py -> build/lib.linux-x86_64-3.7/mmdet/models/shared_heads
  copying mmdet/models/shared_heads/res_layer.py -> build/lib.linux-x86_64-3.7/mmdet/models/shared_heads
  creating build/lib.linux-x86_64-3.7/mmdet/models/backbones
  copying mmdet/models/backbones/__init__.py -> build/lib.linux-x86_64-3.7/mmdet/models/backbones
  copying mmdet/models/backbones/hrnet.py -> build/lib.linux-x86_64-3.7/mmdet/models/backbones
  copying mmdet/models/backbones/resnext.py -> build/lib.linux-x86_64-3.7/mmdet/models/backbones
  copying mmdet/models/backbones/ssd_vgg.py -> build/lib.linux-x86_64-3.7/mmdet/models/backbones
  copying mmdet/models/backbones/resnet.py -> build/lib.linux-x86_64-3.7/mmdet/models/backbones
  creating build/lib.linux-x86_64-3.7/mmdet/models/utils
  copying mmdet/models/utils/__init__.py -> build/lib.linux-x86_64-3.7/mmdet/models/utils
  copying mmdet/models/utils/conv_ws.py -> build/lib.linux-x86_64-3.7/mmdet/models/utils
  copying mmdet/models/utils/weight_init.py -> build/lib.linux-x86_64-3.7/mmdet/models/utils
  copying mmdet/models/utils/scale.py -> build/lib.linux-x86_64-3.7/mmdet/models/utils
  copying mmdet/models/utils/norm.py -> build/lib.linux-x86_64-3.7/mmdet/models/utils
  copying mmdet/models/utils/conv_module.py -> build/lib.linux-x86_64-3.7/mmdet/models/utils
  creating build/lib.linux-x86_64-3.7/mmdet/models/plugins
  copying mmdet/models/plugins/__init__.py -> build/lib.linux-x86_64-3.7/mmdet/models/plugins
  copying mmdet/models/plugins/generalized_attention.py -> build/lib.linux-x86_64-3.7/mmdet/models/plugins
  copying mmdet/models/plugins/non_local.py -> build/lib.linux-x86_64-3.7/mmdet/models/plugins
  creating build/lib.linux-x86_64-3.7/mmdet/models/roi_extractors
  copying mmdet/models/roi_extractors/__init__.py -> build/lib.linux-x86_64-3.7/mmdet/models/roi_extractors
  copying mmdet/models/roi_extractors/single_level.py -> build/lib.linux-x86_64-3.7/mmdet/models/roi_extractors
  creating build/lib.linux-x86_64-3.7/mmdet/models/necks
  copying mmdet/models/necks/__init__.py -> build/lib.linux-x86_64-3.7/mmdet/models/necks
  copying mmdet/models/necks/hrfpn.py -> build/lib.linux-x86_64-3.7/mmdet/models/necks
  copying mmdet/models/necks/fpn.py -> build/lib.linux-x86_64-3.7/mmdet/models/necks
  copying mmdet/models/necks/bfp.py -> build/lib.linux-x86_64-3.7/mmdet/models/necks
  creating build/lib.linux-x86_64-3.7/mmdet/ops/dcn
  copying mmdet/ops/dcn/__init__.py -> build/lib.linux-x86_64-3.7/mmdet/ops/dcn
  copying mmdet/ops/dcn/deform_pool.py -> build/lib.linux-x86_64-3.7/mmdet/ops/dcn
  copying mmdet/ops/dcn/deform_conv.py -> build/lib.linux-x86_64-3.7/mmdet/ops/dcn
  creating build/lib.linux-x86_64-3.7/mmdet/ops/nms
  copying mmdet/ops/nms/__init__.py -> build/lib.linux-x86_64-3.7/mmdet/ops/nms
  copying mmdet/ops/nms/nms_wrapper.py -> build/lib.linux-x86_64-3.7/mmdet/ops/nms
  creating build/lib.linux-x86_64-3.7/mmdet/ops/roi_align
  copying mmdet/ops/roi_align/__init__.py -> build/lib.linux-x86_64-3.7/mmdet/ops/roi_align
  copying mmdet/ops/roi_align/roi_align.py -> build/lib.linux-x86_64-3.7/mmdet/ops/roi_align
  copying mmdet/ops/roi_align/gradcheck.py -> build/lib.linux-x86_64-3.7/mmdet/ops/roi_align
  creating build/lib.linux-x86_64-3.7/mmdet/ops/roi_pool
  copying mmdet/ops/roi_pool/__init__.py -> build/lib.linux-x86_64-3.7/mmdet/ops/roi_pool
  copying mmdet/ops/roi_pool/roi_pool.py -> build/lib.linux-x86_64-3.7/mmdet/ops/roi_pool
  copying mmdet/ops/roi_pool/gradcheck.py -> build/lib.linux-x86_64-3.7/mmdet/ops/roi_pool
  creating build/lib.linux-x86_64-3.7/mmdet/ops/sigmoid_focal_loss
  copying mmdet/ops/sigmoid_focal_loss/__init__.py -> build/lib.linux-x86_64-3.7/mmdet/ops/sigmoid_focal_loss
  copying mmdet/ops/sigmoid_focal_loss/sigmoid_focal_loss.py -> build/lib.linux-x86_64-3.7/mmdet/ops/sigmoid_focal_loss
  creating build/lib.linux-x86_64-3.7/mmdet/ops/masked_conv
  copying mmdet/ops/masked_conv/__init__.py -> build/lib.linux-x86_64-3.7/mmdet/ops/masked_conv
  copying mmdet/ops/masked_conv/masked_conv.py -> build/lib.linux-x86_64-3.7/mmdet/ops/masked_conv
  creating build/lib.linux-x86_64-3.7/mmdet/datasets/loader
  copying mmdet/datasets/loader/__init__.py -> build/lib.linux-x86_64-3.7/mmdet/datasets/loader
  copying mmdet/datasets/loader/sampler.py -> build/lib.linux-x86_64-3.7/mmdet/datasets/loader
  copying mmdet/datasets/loader/build_loader.py -> build/lib.linux-x86_64-3.7/mmdet/datasets/loader
  creating build/lib.linux-x86_64-3.7/mmdet/datasets/pipelines
  copying mmdet/datasets/pipelines/__init__.py -> build/lib.linux-x86_64-3.7/mmdet/datasets/pipelines
  copying mmdet/datasets/pipelines/test_aug.py -> build/lib.linux-x86_64-3.7/mmdet/datasets/pipelines
  copying mmdet/datasets/pipelines/formating.py -> build/lib.linux-x86_64-3.7/mmdet/datasets/pipelines
  copying mmdet/datasets/pipelines/transforms.py -> build/lib.linux-x86_64-3.7/mmdet/datasets/pipelines
  copying mmdet/datasets/pipelines/loading.py -> build/lib.linux-x86_64-3.7/mmdet/datasets/pipelines
  copying mmdet/datasets/pipelines/compose.py -> build/lib.linux-x86_64-3.7/mmdet/datasets/pipelines
  creating build/lib.linux-x86_64-3.7/mmdet/core/mask
  copying mmdet/core/mask/__init__.py -> build/lib.linux-x86_64-3.7/mmdet/core/mask
  copying mmdet/core/mask/mask_target.py -> build/lib.linux-x86_64-3.7/mmdet/core/mask
  copying mmdet/core/mask/utils.py -> build/lib.linux-x86_64-3.7/mmdet/core/mask
  creating build/lib.linux-x86_64-3.7/mmdet/core/anchor
  copying mmdet/core/anchor/__init__.py -> build/lib.linux-x86_64-3.7/mmdet/core/anchor
  copying mmdet/core/anchor/anchor_generator.py -> build/lib.linux-x86_64-3.7/mmdet/core/anchor
  copying mmdet/core/anchor/anchor_target.py -> build/lib.linux-x86_64-3.7/mmdet/core/anchor
  copying mmdet/core/anchor/guided_anchor_target.py -> build/lib.linux-x86_64-3.7/mmdet/core/anchor
  copying mmdet/core/anchor/point_generator.py -> build/lib.linux-x86_64-3.7/mmdet/core/anchor
  copying mmdet/core/anchor/point_target.py -> build/lib.linux-x86_64-3.7/mmdet/core/anchor
  creating build/lib.linux-x86_64-3.7/mmdet/core/bbox
  copying mmdet/core/bbox/__init__.py -> build/lib.linux-x86_64-3.7/mmdet/core/bbox
  copying mmdet/core/bbox/bbox_target.py -> build/lib.linux-x86_64-3.7/mmdet/core/bbox
  copying mmdet/core/bbox/transforms.py -> build/lib.linux-x86_64-3.7/mmdet/core/bbox
  copying mmdet/core/bbox/geometry.py -> build/lib.linux-x86_64-3.7/mmdet/core/bbox
  copying mmdet/core/bbox/assign_sampling.py -> build/lib.linux-x86_64-3.7/mmdet/core/bbox
  creating build/lib.linux-x86_64-3.7/mmdet/core/evaluation
  copying mmdet/core/evaluation/__init__.py -> build/lib.linux-x86_64-3.7/mmdet/core/evaluation
  copying mmdet/core/evaluation/coco_utils.py -> build/lib.linux-x86_64-3.7/mmdet/core/evaluation
  copying mmdet/core/evaluation/eval_hooks.py -> build/lib.linux-x86_64-3.7/mmdet/core/evaluation
  copying mmdet/core/evaluation/bbox_overlaps.py -> build/lib.linux-x86_64-3.7/mmdet/core/evaluation
  copying mmdet/core/evaluation/class_names.py -> build/lib.linux-x86_64-3.7/mmdet/core/evaluation
  copying mmdet/core/evaluation/recall.py -> build/lib.linux-x86_64-3.7/mmdet/core/evaluation
  copying mmdet/core/evaluation/mean_ap.py -> build/lib.linux-x86_64-3.7/mmdet/core/evaluation
  creating build/lib.linux-x86_64-3.7/mmdet/core/post_processing
  copying mmdet/core/post_processing/__init__.py -> build/lib.linux-x86_64-3.7/mmdet/core/post_processing
  copying mmdet/core/post_processing/merge_augs.py -> build/lib.linux-x86_64-3.7/mmdet/core/post_processing
  copying mmdet/core/post_processing/bbox_nms.py -> build/lib.linux-x86_64-3.7/mmdet/core/post_processing
  creating build/lib.linux-x86_64-3.7/mmdet/core/utils
  copying mmdet/core/utils/__init__.py -> build/lib.linux-x86_64-3.7/mmdet/core/utils
  copying mmdet/core/utils/misc.py -> build/lib.linux-x86_64-3.7/mmdet/core/utils
  copying mmdet/core/utils/dist_utils.py -> build/lib.linux-x86_64-3.7/mmdet/core/utils
  creating build/lib.linux-x86_64-3.7/mmdet/core/fp16
  copying mmdet/core/fp16/__init__.py -> build/lib.linux-x86_64-3.7/mmdet/core/fp16
  copying mmdet/core/fp16/hooks.py -> build/lib.linux-x86_64-3.7/mmdet/core/fp16
  copying mmdet/core/fp16/utils.py -> build/lib.linux-x86_64-3.7/mmdet/core/fp16
  copying mmdet/core/fp16/decorators.py -> build/lib.linux-x86_64-3.7/mmdet/core/fp16
  creating build/lib.linux-x86_64-3.7/mmdet/core/bbox/assigners
  copying mmdet/core/bbox/assigners/__init__.py -> build/lib.linux-x86_64-3.7/mmdet/core/bbox/assigners
  copying mmdet/core/bbox/assigners/max_iou_assigner.py -> build/lib.linux-x86_64-3.7/mmdet/core/bbox/assigners
  copying mmdet/core/bbox/assigners/base_assigner.py -> build/lib.linux-x86_64-3.7/mmdet/core/bbox/assigners
  copying mmdet/core/bbox/assigners/point_assigner.py -> build/lib.linux-x86_64-3.7/mmdet/core/bbox/assigners
  copying mmdet/core/bbox/assigners/approx_max_iou_assigner.py -> build/lib.linux-x86_64-3.7/mmdet/core/bbox/assigners
  copying mmdet/core/bbox/assigners/assign_result.py -> build/lib.linux-x86_64-3.7/mmdet/core/bbox/assigners
  creating build/lib.linux-x86_64-3.7/mmdet/core/bbox/samplers
  copying mmdet/core/bbox/samplers/__init__.py -> build/lib.linux-x86_64-3.7/mmdet/core/bbox/samplers
  copying mmdet/core/bbox/samplers/random_sampler.py -> build/lib.linux-x86_64-3.7/mmdet/core/bbox/samplers
  copying mmdet/core/bbox/samplers/instance_balanced_pos_sampler.py -> build/lib.linux-x86_64-3.7/mmdet/core/bbox/samplers
  copying mmdet/core/bbox/samplers/ohem_sampler.py -> build/lib.linux-x86_64-3.7/mmdet/core/bbox/samplers
  copying mmdet/core/bbox/samplers/sampling_result.py -> build/lib.linux-x86_64-3.7/mmdet/core/bbox/samplers
  copying mmdet/core/bbox/samplers/base_sampler.py -> build/lib.linux-x86_64-3.7/mmdet/core/bbox/samplers
  copying mmdet/core/bbox/samplers/combined_sampler.py -> build/lib.linux-x86_64-3.7/mmdet/core/bbox/samplers
  copying mmdet/core/bbox/samplers/iou_balanced_neg_sampler.py -> build/lib.linux-x86_64-3.7/mmdet/core/bbox/samplers
  copying mmdet/core/bbox/samplers/pseudo_sampler.py -> build/lib.linux-x86_64-3.7/mmdet/core/bbox/samplers
  running build_ext
  building 'mmdet.ops.nms.soft_nms_cpu' extension
  creating /tmp/pip-req-build-9sgnjekw/build/temp.linux-x86_64-3.7
  creating /tmp/pip-req-build-9sgnjekw/build/temp.linux-x86_64-3.7/mmdet
  creating /tmp/pip-req-build-9sgnjekw/build/temp.linux-x86_64-3.7/mmdet/ops
  creating /tmp/pip-req-build-9sgnjekw/build/temp.linux-x86_64-3.7/mmdet/ops/nms
  creating /tmp/pip-req-build-9sgnjekw/build/temp.linux-x86_64-3.7/mmdet/ops/nms/src
  Emitting ninja build file /tmp/pip-req-build-9sgnjekw/build/temp.linux-x86_64-3.7/build.ninja...
  Compiling objects...
  Allowing ninja to set a default number of workers... (overridable by setting the environment variable MAX_JOBS=N)
  1.10.1.git
  g++ -pthread -shared -B /home/weidawang/miniconda3/compiler_compat -L/home/weidawang/miniconda3/lib -Wl,-rpath=/home/weidawang/miniconda3/lib -Wl,--no-as-needed -Wl,--sysroot=/ /tmp/pip-req-build-9sgnjekw/build/temp.linux-x86_64-3.7/mmdet/ops/nms/src/soft_nms_cpu.o -o build/lib.linux-x86_64-3.7/mmdet/ops/nms/soft_nms_cpu.cpython-37m-x86_64-linux-gnu.so
  g++: error: /tmp/pip-req-build-9sgnjekw/build/temp.linux-x86_64-3.7/mmdet/ops/nms/src/soft_nms_cpu.o: 没有那个文件或目录
  error: command 'g++' failed with exit status 1
error
  ERROR: Failed building wheel for mmdet
  Running setup.py clean for mmdet
  Running command /home/weidawang/miniconda3/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-9sgnjekw/setup.py'"'"'; __file__='"'"'/tmp/pip-req-build-9sgnjekw/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' clean --all
  running clean
  removing 'build/temp.linux-x86_64-3.7' (and everything under it)
  removing 'build/lib.linux-x86_64-3.7' (and everything under it)
  'build/bdist.linux-x86_64' does not exist -- can't clean it
  'build/scripts-3.7' does not exist -- can't clean it
  removing 'build'
Failed to build mmdet
Installing collected packages: mmdet
  Attempting uninstall: mmdet
    Found existing installation: mmdet 2.6.0
    Uninstalling mmdet-2.6.0:
      Created temporary directory: /tmp/pip-uninstall-627dd_s1
      Removing file or directory /home/weidawang/miniconda3/lib/python3.7/site-packages/mmdet.egg-link
      Removing pth entries from /home/weidawang/miniconda3/lib/python3.7/site-packages/easy-install.pth:
      Removing entry: /home/weidawang/Repo/mmdetection
      Successfully uninstalled mmdet-2.6.0
  Created temporary directory: /tmp/pip-record-6os2qxx8
    Running command /home/weidawang/miniconda3/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-9sgnjekw/setup.py'"'"'; __file__='"'"'/tmp/pip-req-build-9sgnjekw/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-6os2qxx8/install-record.txt --single-version-externally-managed --compile --install-headers /home/weidawang/miniconda3/include/python3.7m/mmdet
    running install
    running build
    running build_py
    creating build
    creating build/lib.linux-x86_64-3.7
    creating build/lib.linux-x86_64-3.7/mmdet
    copying mmdet/__init__.py -> build/lib.linux-x86_64-3.7/mmdet
    copying mmdet/version.py -> build/lib.linux-x86_64-3.7/mmdet
    creating build/lib.linux-x86_64-3.7/mmdet/models
    copying mmdet/models/__init__.py -> build/lib.linux-x86_64-3.7/mmdet/models
    copying mmdet/models/builder.py -> build/lib.linux-x86_64-3.7/mmdet/models
    copying mmdet/models/registry.py -> build/lib.linux-x86_64-3.7/mmdet/models
    creating build/lib.linux-x86_64-3.7/mmdet/apis
    copying mmdet/apis/__init__.py -> build/lib.linux-x86_64-3.7/mmdet/apis
    copying mmdet/apis/inference.py -> build/lib.linux-x86_64-3.7/mmdet/apis
    copying mmdet/apis/env.py -> build/lib.linux-x86_64-3.7/mmdet/apis
    copying mmdet/apis/train.py -> build/lib.linux-x86_64-3.7/mmdet/apis
    creating build/lib.linux-x86_64-3.7/mmdet/ops
    copying mmdet/ops/__init__.py -> build/lib.linux-x86_64-3.7/mmdet/ops
    copying mmdet/ops/context_block.py -> build/lib.linux-x86_64-3.7/mmdet/ops
    creating build/lib.linux-x86_64-3.7/mmdet/datasets
    copying mmdet/datasets/__init__.py -> build/lib.linux-x86_64-3.7/mmdet/datasets
    copying mmdet/datasets/voc.py -> build/lib.linux-x86_64-3.7/mmdet/datasets
    copying mmdet/datasets/wider_face.py -> build/lib.linux-x86_64-3.7/mmdet/datasets
    copying mmdet/datasets/xml_style.py -> build/lib.linux-x86_64-3.7/mmdet/datasets
    copying mmdet/datasets/custom.py -> build/lib.linux-x86_64-3.7/mmdet/datasets
    copying mmdet/datasets/builder.py -> build/lib.linux-x86_64-3.7/mmdet/datasets
    copying mmdet/datasets/coco.py -> build/lib.linux-x86_64-3.7/mmdet/datasets
    copying mmdet/datasets/registry.py -> build/lib.linux-x86_64-3.7/mmdet/datasets
    copying mmdet/datasets/dataset_wrappers.py -> build/lib.linux-x86_64-3.7/mmdet/datasets
    copying mmdet/datasets/cityscapes.py -> build/lib.linux-x86_64-3.7/mmdet/datasets
    creating build/lib.linux-x86_64-3.7/mmdet/core
    copying mmdet/core/__init__.py -> build/lib.linux-x86_64-3.7/mmdet/core
    creating build/lib.linux-x86_64-3.7/mmdet/utils
    copying mmdet/utils/__init__.py -> build/lib.linux-x86_64-3.7/mmdet/utils
    copying mmdet/utils/flops_counter.py -> build/lib.linux-x86_64-3.7/mmdet/utils
    copying mmdet/utils/registry.py -> build/lib.linux-x86_64-3.7/mmdet/utils
    creating build/lib.linux-x86_64-3.7/mmdet/models/detectors
    copying mmdet/models/detectors/__init__.py -> build/lib.linux-x86_64-3.7/mmdet/models/detectors
    copying mmdet/models/detectors/reppoints_detector.py -> build/lib.linux-x86_64-3.7/mmdet/models/detectors
    copying mmdet/models/detectors/fcos.py -> build/lib.linux-x86_64-3.7/mmdet/models/detectors
    copying mmdet/models/detectors/mask_scoring_rcnn.py -> build/lib.linux-x86_64-3.7/mmdet/models/detectors
    copying mmdet/models/detectors/cascade_rcnn.py -> build/lib.linux-x86_64-3.7/mmdet/models/detectors
    copying mmdet/models/detectors/rpn.py -> build/lib.linux-x86_64-3.7/mmdet/models/detectors
    copying mmdet/models/detectors/single_stage.py -> build/lib.linux-x86_64-3.7/mmdet/models/detectors
    copying mmdet/models/detectors/base.py -> build/lib.linux-x86_64-3.7/mmdet/models/detectors
    copying mmdet/models/detectors/double_head_rcnn.py -> build/lib.linux-x86_64-3.7/mmdet/models/detectors
    copying mmdet/models/detectors/fast_rcnn.py -> build/lib.linux-x86_64-3.7/mmdet/models/detectors
    copying mmdet/models/detectors/test_mixins.py -> build/lib.linux-x86_64-3.7/mmdet/models/detectors
    copying mmdet/models/detectors/two_stage.py -> build/lib.linux-x86_64-3.7/mmdet/models/detectors
    copying mmdet/models/detectors/fovea.py -> build/lib.linux-x86_64-3.7/mmdet/models/detectors
    copying mmdet/models/detectors/retinanet.py -> build/lib.linux-x86_64-3.7/mmdet/models/detectors
    copying mmdet/models/detectors/mask_rcnn.py -> build/lib.linux-x86_64-3.7/mmdet/models/detectors
    copying mmdet/models/detectors/htc.py -> build/lib.linux-x86_64-3.7/mmdet/models/detectors
    copying mmdet/models/detectors/faster_rcnn.py -> build/lib.linux-x86_64-3.7/mmdet/models/detectors
    copying mmdet/models/detectors/grid_rcnn.py -> build/lib.linux-x86_64-3.7/mmdet/models/detectors
    creating build/lib.linux-x86_64-3.7/mmdet/models/mask_heads
    copying mmdet/models/mask_heads/__init__.py -> build/lib.linux-x86_64-3.7/mmdet/models/mask_heads
    copying mmdet/models/mask_heads/grid_head.py -> build/lib.linux-x86_64-3.7/mmdet/models/mask_heads
    copying mmdet/models/mask_heads/fcn_mask_head.py -> build/lib.linux-x86_64-3.7/mmdet/models/mask_heads
    copying mmdet/models/mask_heads/fused_semantic_head.py -> build/lib.linux-x86_64-3.7/mmdet/models/mask_heads
    copying mmdet/models/mask_heads/maskiou_head.py -> build/lib.linux-x86_64-3.7/mmdet/models/mask_heads
    copying mmdet/models/mask_heads/htc_mask_head.py -> build/lib.linux-x86_64-3.7/mmdet/models/mask_heads
    creating build/lib.linux-x86_64-3.7/mmdet/models/anchor_heads
    copying mmdet/models/anchor_heads/__init__.py -> build/lib.linux-x86_64-3.7/mmdet/models/anchor_heads
    copying mmdet/models/anchor_heads/retina_head.py -> build/lib.linux-x86_64-3.7/mmdet/models/anchor_heads
    copying mmdet/models/anchor_heads/ga_rpn_head.py -> build/lib.linux-x86_64-3.7/mmdet/models/anchor_heads
    copying mmdet/models/anchor_heads/ga_retina_head.py -> build/lib.linux-x86_64-3.7/mmdet/models/anchor_heads
    copying mmdet/models/anchor_heads/rpn_head.py -> build/lib.linux-x86_64-3.7/mmdet/models/anchor_heads
    copying mmdet/models/anchor_heads/guided_anchor_head.py -> build/lib.linux-x86_64-3.7/mmdet/models/anchor_heads
    copying mmdet/models/anchor_heads/free_anchor_retina_head.py -> build/lib.linux-x86_64-3.7/mmdet/models/anchor_heads
    copying mmdet/models/anchor_heads/ssd_head.py -> build/lib.linux-x86_64-3.7/mmdet/models/anchor_heads
    copying mmdet/models/anchor_heads/reppoints_head.py -> build/lib.linux-x86_64-3.7/mmdet/models/anchor_heads
    copying mmdet/models/anchor_heads/fcos_head.py -> build/lib.linux-x86_64-3.7/mmdet/models/anchor_heads
    copying mmdet/models/anchor_heads/fovea_head.py -> build/lib.linux-x86_64-3.7/mmdet/models/anchor_heads
    copying mmdet/models/anchor_heads/anchor_head.py -> build/lib.linux-x86_64-3.7/mmdet/models/anchor_heads
    creating build/lib.linux-x86_64-3.7/mmdet/models/losses
    copying mmdet/models/losses/__init__.py -> build/lib.linux-x86_64-3.7/mmdet/models/losses
    copying mmdet/models/losses/cross_entropy_loss.py -> build/lib.linux-x86_64-3.7/mmdet/models/losses
    copying mmdet/models/losses/smooth_l1_loss.py -> build/lib.linux-x86_64-3.7/mmdet/models/losses
    copying mmdet/models/losses/accuracy.py -> build/lib.linux-x86_64-3.7/mmdet/models/losses
    copying mmdet/models/losses/balanced_l1_loss.py -> build/lib.linux-x86_64-3.7/mmdet/models/losses
    copying mmdet/models/losses/mse_loss.py -> build/lib.linux-x86_64-3.7/mmdet/models/losses
    copying mmdet/models/losses/utils.py -> build/lib.linux-x86_64-3.7/mmdet/models/losses
    copying mmdet/models/losses/focal_loss.py -> build/lib.linux-x86_64-3.7/mmdet/models/losses
    copying mmdet/models/losses/iou_loss.py -> build/lib.linux-x86_64-3.7/mmdet/models/losses
    copying mmdet/models/losses/ghm_loss.py -> build/lib.linux-x86_64-3.7/mmdet/models/losses
    creating build/lib.linux-x86_64-3.7/mmdet/models/bbox_heads
    copying mmdet/models/bbox_heads/__init__.py -> build/lib.linux-x86_64-3.7/mmdet/models/bbox_heads
    copying mmdet/models/bbox_heads/convfc_bbox_head.py -> build/lib.linux-x86_64-3.7/mmdet/models/bbox_heads
    copying mmdet/models/bbox_heads/double_bbox_head.py -> build/lib.linux-x86_64-3.7/mmdet/models/bbox_heads
    copying mmdet/models/bbox_heads/bbox_head.py -> build/lib.linux-x86_64-3.7/mmdet/models/bbox_heads
    creating build/lib.linux-x86_64-3.7/mmdet/models/shared_heads
    copying mmdet/models/shared_heads/__init__.py -> build/lib.linux-x86_64-3.7/mmdet/models/shared_heads
    copying mmdet/models/shared_heads/res_layer.py -> build/lib.linux-x86_64-3.7/mmdet/models/shared_heads
    creating build/lib.linux-x86_64-3.7/mmdet/models/backbones
    copying mmdet/models/backbones/__init__.py -> build/lib.linux-x86_64-3.7/mmdet/models/backbones
    copying mmdet/models/backbones/hrnet.py -> build/lib.linux-x86_64-3.7/mmdet/models/backbones
    copying mmdet/models/backbones/resnext.py -> build/lib.linux-x86_64-3.7/mmdet/models/backbones
    copying mmdet/models/backbones/ssd_vgg.py -> build/lib.linux-x86_64-3.7/mmdet/models/backbones
    copying mmdet/models/backbones/resnet.py -> build/lib.linux-x86_64-3.7/mmdet/models/backbones
    creating build/lib.linux-x86_64-3.7/mmdet/models/utils
    copying mmdet/models/utils/__init__.py -> build/lib.linux-x86_64-3.7/mmdet/models/utils
    copying mmdet/models/utils/conv_ws.py -> build/lib.linux-x86_64-3.7/mmdet/models/utils
    copying mmdet/models/utils/weight_init.py -> build/lib.linux-x86_64-3.7/mmdet/models/utils
    copying mmdet/models/utils/scale.py -> build/lib.linux-x86_64-3.7/mmdet/models/utils
    copying mmdet/models/utils/norm.py -> build/lib.linux-x86_64-3.7/mmdet/models/utils
    copying mmdet/models/utils/conv_module.py -> build/lib.linux-x86_64-3.7/mmdet/models/utils
    creating build/lib.linux-x86_64-3.7/mmdet/models/plugins
    copying mmdet/models/plugins/__init__.py -> build/lib.linux-x86_64-3.7/mmdet/models/plugins
    copying mmdet/models/plugins/generalized_attention.py -> build/lib.linux-x86_64-3.7/mmdet/models/plugins
    copying mmdet/models/plugins/non_local.py -> build/lib.linux-x86_64-3.7/mmdet/models/plugins
    creating build/lib.linux-x86_64-3.7/mmdet/models/roi_extractors
    copying mmdet/models/roi_extractors/__init__.py -> build/lib.linux-x86_64-3.7/mmdet/models/roi_extractors
    copying mmdet/models/roi_extractors/single_level.py -> build/lib.linux-x86_64-3.7/mmdet/models/roi_extractors
    creating build/lib.linux-x86_64-3.7/mmdet/models/necks
    copying mmdet/models/necks/__init__.py -> build/lib.linux-x86_64-3.7/mmdet/models/necks
    copying mmdet/models/necks/hrfpn.py -> build/lib.linux-x86_64-3.7/mmdet/models/necks
    copying mmdet/models/necks/fpn.py -> build/lib.linux-x86_64-3.7/mmdet/models/necks
    copying mmdet/models/necks/bfp.py -> build/lib.linux-x86_64-3.7/mmdet/models/necks
    creating build/lib.linux-x86_64-3.7/mmdet/ops/dcn
    copying mmdet/ops/dcn/__init__.py -> build/lib.linux-x86_64-3.7/mmdet/ops/dcn
    copying mmdet/ops/dcn/deform_pool.py -> build/lib.linux-x86_64-3.7/mmdet/ops/dcn
    copying mmdet/ops/dcn/deform_conv.py -> build/lib.linux-x86_64-3.7/mmdet/ops/dcn
    creating build/lib.linux-x86_64-3.7/mmdet/ops/nms
    copying mmdet/ops/nms/__init__.py -> build/lib.linux-x86_64-3.7/mmdet/ops/nms
    copying mmdet/ops/nms/nms_wrapper.py -> build/lib.linux-x86_64-3.7/mmdet/ops/nms
    creating build/lib.linux-x86_64-3.7/mmdet/ops/roi_align
    copying mmdet/ops/roi_align/__init__.py -> build/lib.linux-x86_64-3.7/mmdet/ops/roi_align
    copying mmdet/ops/roi_align/roi_align.py -> build/lib.linux-x86_64-3.7/mmdet/ops/roi_align
    copying mmdet/ops/roi_align/gradcheck.py -> build/lib.linux-x86_64-3.7/mmdet/ops/roi_align
    creating build/lib.linux-x86_64-3.7/mmdet/ops/roi_pool
    copying mmdet/ops/roi_pool/__init__.py -> build/lib.linux-x86_64-3.7/mmdet/ops/roi_pool
    copying mmdet/ops/roi_pool/roi_pool.py -> build/lib.linux-x86_64-3.7/mmdet/ops/roi_pool
    copying mmdet/ops/roi_pool/gradcheck.py -> build/lib.linux-x86_64-3.7/mmdet/ops/roi_pool
    creating build/lib.linux-x86_64-3.7/mmdet/ops/sigmoid_focal_loss
    copying mmdet/ops/sigmoid_focal_loss/__init__.py -> build/lib.linux-x86_64-3.7/mmdet/ops/sigmoid_focal_loss
    copying mmdet/ops/sigmoid_focal_loss/sigmoid_focal_loss.py -> build/lib.linux-x86_64-3.7/mmdet/ops/sigmoid_focal_loss
    creating build/lib.linux-x86_64-3.7/mmdet/ops/masked_conv
    copying mmdet/ops/masked_conv/__init__.py -> build/lib.linux-x86_64-3.7/mmdet/ops/masked_conv
    copying mmdet/ops/masked_conv/masked_conv.py -> build/lib.linux-x86_64-3.7/mmdet/ops/masked_conv
    creating build/lib.linux-x86_64-3.7/mmdet/datasets/loader
    copying mmdet/datasets/loader/__init__.py -> build/lib.linux-x86_64-3.7/mmdet/datasets/loader
    copying mmdet/datasets/loader/sampler.py -> build/lib.linux-x86_64-3.7/mmdet/datasets/loader
    copying mmdet/datasets/loader/build_loader.py -> build/lib.linux-x86_64-3.7/mmdet/datasets/loader
    creating build/lib.linux-x86_64-3.7/mmdet/datasets/pipelines
    copying mmdet/datasets/pipelines/__init__.py -> build/lib.linux-x86_64-3.7/mmdet/datasets/pipelines
    copying mmdet/datasets/pipelines/test_aug.py -> build/lib.linux-x86_64-3.7/mmdet/datasets/pipelines
    copying mmdet/datasets/pipelines/formating.py -> build/lib.linux-x86_64-3.7/mmdet/datasets/pipelines
    copying mmdet/datasets/pipelines/transforms.py -> build/lib.linux-x86_64-3.7/mmdet/datasets/pipelines
    copying mmdet/datasets/pipelines/loading.py -> build/lib.linux-x86_64-3.7/mmdet/datasets/pipelines
    copying mmdet/datasets/pipelines/compose.py -> build/lib.linux-x86_64-3.7/mmdet/datasets/pipelines
    creating build/lib.linux-x86_64-3.7/mmdet/core/mask
    copying mmdet/core/mask/__init__.py -> build/lib.linux-x86_64-3.7/mmdet/core/mask
    copying mmdet/core/mask/mask_target.py -> build/lib.linux-x86_64-3.7/mmdet/core/mask
    copying mmdet/core/mask/utils.py -> build/lib.linux-x86_64-3.7/mmdet/core/mask
    creating build/lib.linux-x86_64-3.7/mmdet/core/anchor
    copying mmdet/core/anchor/__init__.py -> build/lib.linux-x86_64-3.7/mmdet/core/anchor
    copying mmdet/core/anchor/anchor_generator.py -> build/lib.linux-x86_64-3.7/mmdet/core/anchor
    copying mmdet/core/anchor/anchor_target.py -> build/lib.linux-x86_64-3.7/mmdet/core/anchor
    copying mmdet/core/anchor/guided_anchor_target.py -> build/lib.linux-x86_64-3.7/mmdet/core/anchor
    copying mmdet/core/anchor/point_generator.py -> build/lib.linux-x86_64-3.7/mmdet/core/anchor
    copying mmdet/core/anchor/point_target.py -> build/lib.linux-x86_64-3.7/mmdet/core/anchor
    creating build/lib.linux-x86_64-3.7/mmdet/core/bbox
    copying mmdet/core/bbox/__init__.py -> build/lib.linux-x86_64-3.7/mmdet/core/bbox
    copying mmdet/core/bbox/bbox_target.py -> build/lib.linux-x86_64-3.7/mmdet/core/bbox
    copying mmdet/core/bbox/transforms.py -> build/lib.linux-x86_64-3.7/mmdet/core/bbox
    copying mmdet/core/bbox/geometry.py -> build/lib.linux-x86_64-3.7/mmdet/core/bbox
    copying mmdet/core/bbox/assign_sampling.py -> build/lib.linux-x86_64-3.7/mmdet/core/bbox
    creating build/lib.linux-x86_64-3.7/mmdet/core/evaluation
    copying mmdet/core/evaluation/__init__.py -> build/lib.linux-x86_64-3.7/mmdet/core/evaluation
    copying mmdet/core/evaluation/coco_utils.py -> build/lib.linux-x86_64-3.7/mmdet/core/evaluation
    copying mmdet/core/evaluation/eval_hooks.py -> build/lib.linux-x86_64-3.7/mmdet/core/evaluation
    copying mmdet/core/evaluation/bbox_overlaps.py -> build/lib.linux-x86_64-3.7/mmdet/core/evaluation
    copying mmdet/core/evaluation/class_names.py -> build/lib.linux-x86_64-3.7/mmdet/core/evaluation
    copying mmdet/core/evaluation/recall.py -> build/lib.linux-x86_64-3.7/mmdet/core/evaluation
    copying mmdet/core/evaluation/mean_ap.py -> build/lib.linux-x86_64-3.7/mmdet/core/evaluation
    creating build/lib.linux-x86_64-3.7/mmdet/core/post_processing
    copying mmdet/core/post_processing/__init__.py -> build/lib.linux-x86_64-3.7/mmdet/core/post_processing
    copying mmdet/core/post_processing/merge_augs.py -> build/lib.linux-x86_64-3.7/mmdet/core/post_processing
    copying mmdet/core/post_processing/bbox_nms.py -> build/lib.linux-x86_64-3.7/mmdet/core/post_processing
    creating build/lib.linux-x86_64-3.7/mmdet/core/utils
    copying mmdet/core/utils/__init__.py -> build/lib.linux-x86_64-3.7/mmdet/core/utils
    copying mmdet/core/utils/misc.py -> build/lib.linux-x86_64-3.7/mmdet/core/utils
    copying mmdet/core/utils/dist_utils.py -> build/lib.linux-x86_64-3.7/mmdet/core/utils
    creating build/lib.linux-x86_64-3.7/mmdet/core/fp16
    copying mmdet/core/fp16/__init__.py -> build/lib.linux-x86_64-3.7/mmdet/core/fp16
    copying mmdet/core/fp16/hooks.py -> build/lib.linux-x86_64-3.7/mmdet/core/fp16
    copying mmdet/core/fp16/utils.py -> build/lib.linux-x86_64-3.7/mmdet/core/fp16
    copying mmdet/core/fp16/decorators.py -> build/lib.linux-x86_64-3.7/mmdet/core/fp16
    creating build/lib.linux-x86_64-3.7/mmdet/core/bbox/assigners
    copying mmdet/core/bbox/assigners/__init__.py -> build/lib.linux-x86_64-3.7/mmdet/core/bbox/assigners
    copying mmdet/core/bbox/assigners/max_iou_assigner.py -> build/lib.linux-x86_64-3.7/mmdet/core/bbox/assigners
    copying mmdet/core/bbox/assigners/base_assigner.py -> build/lib.linux-x86_64-3.7/mmdet/core/bbox/assigners
    copying mmdet/core/bbox/assigners/point_assigner.py -> build/lib.linux-x86_64-3.7/mmdet/core/bbox/assigners
    copying mmdet/core/bbox/assigners/approx_max_iou_assigner.py -> build/lib.linux-x86_64-3.7/mmdet/core/bbox/assigners
    copying mmdet/core/bbox/assigners/assign_result.py -> build/lib.linux-x86_64-3.7/mmdet/core/bbox/assigners
    creating build/lib.linux-x86_64-3.7/mmdet/core/bbox/samplers
    copying mmdet/core/bbox/samplers/__init__.py -> build/lib.linux-x86_64-3.7/mmdet/core/bbox/samplers
    copying mmdet/core/bbox/samplers/random_sampler.py -> build/lib.linux-x86_64-3.7/mmdet/core/bbox/samplers
    copying mmdet/core/bbox/samplers/instance_balanced_pos_sampler.py -> build/lib.linux-x86_64-3.7/mmdet/core/bbox/samplers
    copying mmdet/core/bbox/samplers/ohem_sampler.py -> build/lib.linux-x86_64-3.7/mmdet/core/bbox/samplers
    copying mmdet/core/bbox/samplers/sampling_result.py -> build/lib.linux-x86_64-3.7/mmdet/core/bbox/samplers
    copying mmdet/core/bbox/samplers/base_sampler.py -> build/lib.linux-x86_64-3.7/mmdet/core/bbox/samplers
    copying mmdet/core/bbox/samplers/combined_sampler.py -> build/lib.linux-x86_64-3.7/mmdet/core/bbox/samplers
    copying mmdet/core/bbox/samplers/iou_balanced_neg_sampler.py -> build/lib.linux-x86_64-3.7/mmdet/core/bbox/samplers
    copying mmdet/core/bbox/samplers/pseudo_sampler.py -> build/lib.linux-x86_64-3.7/mmdet/core/bbox/samplers
    running build_ext
    building 'mmdet.ops.nms.soft_nms_cpu' extension
    creating /tmp/pip-req-build-9sgnjekw/build/temp.linux-x86_64-3.7
    creating /tmp/pip-req-build-9sgnjekw/build/temp.linux-x86_64-3.7/mmdet
    creating /tmp/pip-req-build-9sgnjekw/build/temp.linux-x86_64-3.7/mmdet/ops
    creating /tmp/pip-req-build-9sgnjekw/build/temp.linux-x86_64-3.7/mmdet/ops/nms
    creating /tmp/pip-req-build-9sgnjekw/build/temp.linux-x86_64-3.7/mmdet/ops/nms/src
    Emitting ninja build file /tmp/pip-req-build-9sgnjekw/build/temp.linux-x86_64-3.7/build.ninja...
    Compiling objects...
    Allowing ninja to set a default number of workers... (overridable by setting the environment variable MAX_JOBS=N)
    1.10.1.git
    g++ -pthread -shared -B /home/weidawang/miniconda3/compiler_compat -L/home/weidawang/miniconda3/lib -Wl,-rpath=/home/weidawang/miniconda3/lib -Wl,--no-as-needed -Wl,--sysroot=/ /tmp/pip-req-build-9sgnjekw/build/temp.linux-x86_64-3.7/mmdet/ops/nms/src/soft_nms_cpu.o -o build/lib.linux-x86_64-3.7/mmdet/ops/nms/soft_nms_cpu.cpython-37m-x86_64-linux-gnu.so
    g++: error: /tmp/pip-req-build-9sgnjekw/build/temp.linux-x86_64-3.7/mmdet/ops/nms/src/soft_nms_cpu.o: 没有那个文件或目录
    error: command 'g++' failed with exit status 1
    Running setup.py install for mmdet ... error
  Rolling back uninstall of mmdet
  Moving to /home/weidawang/miniconda3/lib/python3.7/site-packages/mmdet.egg-link
   from /tmp/pip-uninstall-627dd_s1/mmdet.egg-link
  Replacing /home/weidawang/miniconda3/lib/python3.7/site-packages/mmdet.egg-link from /tmp/pip-uninstall-627dd_s1/mmdet.egg-link
  Rolling /home/weidawang/miniconda3/lib/python3.7/site-packages/easy-install.pth back to previous state
ERROR: Command errored out with exit status 1: /home/weidawang/miniconda3/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-9sgnjekw/setup.py'"'"'; __file__='"'"'/tmp/pip-req-build-9sgnjekw/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-6os2qxx8/install-record.txt --single-version-externally-managed --compile --install-headers /home/weidawang/miniconda3/include/python3.7m/mmdet Check the logs for full command output.
Exception information:
Traceback (most recent call last):
  File "/home/weidawang/miniconda3/lib/python3.7/site-packages/pip/_internal/req/req_install.py", line 852, in install
    req_description=str(self.req),
  File "/home/weidawang/miniconda3/lib/python3.7/site-packages/pip/_internal/operations/install/legacy.py", line 86, in install
    raise LegacyInstallFailure
pip._internal.operations.install.legacy.LegacyInstallFailure

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/weidawang/miniconda3/lib/python3.7/site-packages/pip/_internal/cli/base_command.py", line 228, in _main
    status = self.run(options, args)
  File "/home/weidawang/miniconda3/lib/python3.7/site-packages/pip/_internal/cli/req_command.py", line 182, in wrapper
    return func(self, options, args)
  File "/home/weidawang/miniconda3/lib/python3.7/site-packages/pip/_internal/commands/install.py", line 406, in run
    pycompile=options.compile,
  File "/home/weidawang/miniconda3/lib/python3.7/site-packages/pip/_internal/req/__init__.py", line 90, in install_given_reqs
    pycompile=pycompile,
  File "/home/weidawang/miniconda3/lib/python3.7/site-packages/pip/_internal/req/req_install.py", line 856, in install
    six.reraise(*exc.parent)
  File "/home/weidawang/miniconda3/lib/python3.7/site-packages/pip/_vendor/six.py", line 703, in reraise
    raise value
  File "/home/weidawang/miniconda3/lib/python3.7/site-packages/pip/_internal/operations/install/legacy.py", line 76, in install
    cwd=unpacked_source_directory,
  File "/home/weidawang/miniconda3/lib/python3.7/site-packages/pip/_internal/utils/subprocess.py", line 277, in runner
    spinner=spinner,
  File "/home/weidawang/miniconda3/lib/python3.7/site-packages/pip/_internal/utils/subprocess.py", line 242, in call_subprocess
    raise InstallationError(exc_msg)
pip._internal.exceptions.InstallationError: Command errored out with exit status 1: /home/weidawang/miniconda3/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-9sgnjekw/setup.py'"'"'; __file__='"'"'/tmp/pip-req-build-9sgnjekw/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-6os2qxx8/install-record.txt --single-version-externally-managed --compile --install-headers /home/weidawang/miniconda3/include/python3.7m/mmdet Check the logs for full command output.
Removed build tracker: '/tmp/pip-req-tracker-ngjychll'
Traceback (most recent call last):
  File "setup.py", line 149, in <module>
    subprocess.check_call([sys.executable, "-m", "pip", "install", 'https://github.com/open-mmlab/mmdetection/archive/v1.0rc1.zip', '-v'])
  File "/home/weidawang/miniconda3/lib/python3.7/subprocess.py", line 363, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/home/weidawang/miniconda3/bin/python', '-m', 'pip', 'install', 'https://github.com/open-mmlab/mmdetection/archive/v1.0rc1.zip', '-v']' returned non-zero exit status 1.
Radleye commented 4 years ago

The problem is caused by mmcv version, only mmcv==0.4.3 can work, and when you try pip install mmcv==0.4.3, then you must try python setup.py develop and python setup.py develop --mmdet again

兄弟,按你的方法试了,怎么还是报这个错啊

XiaoYuhao commented 3 years ago

Has anyone solved this problem?

jermycc commented 2 years ago

The problem is caused by mmcv version, only mmcv==0.4.3 can work, and when you try pip install mmcv==0.4.3, then you must try python setup.py develop and python setup.py develop --mmdet again

兄弟,按你的方法试了,怎么还是报这个错啊

so am I. could you find the solution?