open-mmlab / mmcv

OpenMMLab Computer Vision Foundation
https://mmcv.readthedocs.io/en/latest/
Apache License 2.0
5.9k stars 1.65k forks source link

cuda:10.2 pytorch:1.7.0 i need mmcv>=1.1.5 <=1.3; Error compiling objects for extension #2287

Closed sonder00 closed 2 years ago

sonder00 commented 2 years ago

(pytorch) PS C:\Users\14419> pip install mmcv-full==1.1.6 -f https://download.openmmlab.com/mmcv/dist/cu102/torch1.7.0/index.html Looking in links: https://download.openmmlab.com/mmcv/dist/cu102/torch1.7.0/index.html Collecting mmcv-full==1.1.6 Using cached mmcv-full-1.1.6.tar.gz (240 kB) Preparing metadata (setup.py) ... done Requirement already satisfied: addict in e:\program files (x86)\anaconda3\envs\pytorch\lib\site-packages (from mmcv-full==1.1.6) (2.4.0) Requirement already satisfied: numpy in e:\program files (x86)\anaconda3\envs\pytorch\lib\site-packages (from mmcv-full==1.1.6) (1.21.5) Requirement already satisfied: pyyaml in e:\program files (x86)\anaconda3\envs\pytorch\lib\site-packages (from mmcv-full==1.1.6) (6.0) Requirement already satisfied: yapf in e:\program files (x86)\anaconda3\envs\pytorch\lib\site-packages (from mmcv-full==1.1.6) (0.31.0) Requirement already satisfied: regex in e:\program files (x86)\anaconda3\envs\pytorch\lib\site-packages (from mmcv-full==1.1.6) (2022.9.13) Building wheels for collected packages: mmcv-full Building wheel for mmcv-full (setup.py) ... error error: subprocess-exited-with-error

× python setup.py bdist_wheel did not run successfully. │ exit code: 1

zhouzaida commented 2 years ago

Hi, we have not provided pre-built packages for mmcv=1.1.5 in torch1.7-cuda10.2 but mmcv>=1.2.0 are provided. You can install it with the following commands:

pip install mmcv-full==1.2.7 -f https://download.openmmlab.com/mmcv/dist/cu102/torch1.7.0/index.html
sonder00 commented 2 years ago

(pytorch) PS C:\Users\14419> pip install mmcv-full==1.2.7 -f https://download.openmmlab.com/mmcv/dist/cu102/torch1.7.0/index.html Looking in links: https://download.openmmlab.com/mmcv/dist/cu102/torch1.7.0/index.html Collecting mmcv-full==1.2.7 Using cached mmcv-full-1.2.7.tar.gz (231 kB) Preparing metadata (setup.py) ... done Requirement already satisfied: addict in e:\program files (x86)\anaconda3\envs\pytorch\lib\site-packages (from mmcv-full==1.2.7) (2.4.0) Requirement already satisfied: numpy in e:\program files (x86)\anaconda3\envs\pytorch\lib\site-packages (from mmcv-full==1.2.7) (1.21.5) Requirement already satisfied: Pillow in e:\program files (x86)\anaconda3\envs\pytorch\lib\site-packages (from mmcv-full==1.2.7) (9.2.0) Requirement already satisfied: pyyaml in e:\program files (x86)\anaconda3\envs\pytorch\lib\site-packages (from mmcv-full==1.2.7) (6.0) Requirement already satisfied: yapf in e:\program files (x86)\anaconda3\envs\pytorch\lib\site-packages (from mmcv-full==1.2.7) (0.31.0) Requirement already satisfied: regex in e:\program files (x86)\anaconda3\envs\pytorch\lib\site-packages (from mmcv-full==1.2.7) (2022.9.13) Building wheels for collected packages: mmcv-full Building wheel for mmcv-full (setup.py) ... error error: subprocess-exited-with-error

× python setup.py bdist_wheel did not run successfully. │ exit code: 1 ╰─> [461 lines of output] E:\Program Files (x86)\Anaconda3\envs\pytorch\lib\site-packages\setuptools\installer.py:30: SetuptoolsDeprecationWarning: setuptools.installer is deprecated. Requirements should be satisfied by a PEP 517 installer. SetuptoolsDeprecationWarning, running bdist_wheel running build running build_py creating build creating build\lib.win-amd64-cpython-37 creating build\lib.win-amd64-cpython-37\mmcv copying mmcv\version.py -> build\lib.win-amd64-cpython-37\mmcv copying mmcv__init.py -> build\lib.win-amd64-cpython-37\mmcv creating build\lib.win-amd64-cpython-37\mmcv\arraymisc copying mmcv\arraymisc\quantization.py -> build\lib.win-amd64-cpython-37\mmcv\arraymisc copying mmcv\arraymisc__init.py -> build\lib.win-amd64-cpython-37\mmcv\arraymisc creating build\lib.win-amd64-cpython-37\mmcv\cnn copying mmcv\cnn\alexnet.py -> build\lib.win-amd64-cpython-37\mmcv\cnn copying mmcv\cnn\resnet.py -> build\lib.win-amd64-cpython-37\mmcv\cnn copying mmcv\cnn\vgg.py -> build\lib.win-amd64-cpython-37\mmcv\cnn copying mmcv\cnn__init.py -> build\lib.win-amd64-cpython-37\mmcv\cnn creating build\lib.win-amd64-cpython-37\mmcv\fileio copying mmcv\fileio\file_client.py -> build\lib.win-amd64-cpython-37\mmcv\fileio copying mmcv\fileio\io.py -> build\lib.win-amd64-cpython-37\mmcv\fileio copying mmcv\fileio\parse.py -> build\lib.win-amd64-cpython-37\mmcv\fileio copying mmcv\fileio__init.py -> build\lib.win-amd64-cpython-37\mmcv\fileio creating build\lib.win-amd64-cpython-37\mmcv\image copying mmcv\image\colorspace.py -> build\lib.win-amd64-cpython-37\mmcv\image copying mmcv\image\geometric.py -> build\lib.win-amd64-cpython-37\mmcv\image copying mmcv\image\io.py -> build\lib.win-amd64-cpython-37\mmcv\image copying mmcv\image\misc.py -> build\lib.win-amd64-cpython-37\mmcv\image copying mmcv\image\photometric.py -> build\lib.win-amd64-cpython-37\mmcv\image copying mmcv\image__init.py -> build\lib.win-amd64-cpython-37\mmcv\image creating build\lib.win-amd64-cpython-37\mmcv\onnx copying mmcv\onnx\info.py -> build\lib.win-amd64-cpython-37\mmcv\onnx copying mmcv\onnx\symbolic.py -> build\lib.win-amd64-cpython-37\mmcv\onnx copying mmcv\onnx__init.py -> build\lib.win-amd64-cpython-37\mmcv\onnx creating build\lib.win-amd64-cpython-37\mmcv\ops copying mmcv\ops\bbox.py -> build\lib.win-amd64-cpython-37\mmcv\ops copying mmcv\ops\box_iou_rotated.py -> build\lib.win-amd64-cpython-37\mmcv\ops copying mmcv\ops\carafe.py -> build\lib.win-amd64-cpython-37\mmcv\ops copying mmcv\ops\cc_attention.py -> build\lib.win-amd64-cpython-37\mmcv\ops copying mmcv\ops\corner_pool.py -> build\lib.win-amd64-cpython-37\mmcv\ops copying mmcv\ops\deform_conv.py -> build\lib.win-amd64-cpython-37\mmcv\ops copying mmcv\ops\deform_roi_pool.py -> build\lib.win-amd64-cpython-37\mmcv\ops copying mmcv\ops\deprecated_wrappers.py -> build\lib.win-amd64-cpython-37\mmcv\ops copying mmcv\ops\focal_loss.py -> build\lib.win-amd64-cpython-37\mmcv\ops copying mmcv\ops\info.py -> build\lib.win-amd64-cpython-37\mmcv\ops copying mmcv\ops\masked_conv.py -> build\lib.win-amd64-cpython-37\mmcv\ops copying mmcv\ops\merge_cells.py -> build\lib.win-amd64-cpython-37\mmcv\ops copying mmcv\ops\modulated_deform_conv.py -> build\lib.win-amd64-cpython-37\mmcv\ops copying mmcv\ops\nms.py -> build\lib.win-amd64-cpython-37\mmcv\ops copying mmcv\ops\point_sample.py -> build\lib.win-amd64-cpython-37\mmcv\ops copying mmcv\ops\psa_mask.py -> build\lib.win-amd64-cpython-37\mmcv\ops copying mmcv\ops\roi_align.py -> build\lib.win-amd64-cpython-37\mmcv\ops copying mmcv\ops\roi_pool.py -> build\lib.win-amd64-cpython-37\mmcv\ops copying mmcv\ops\saconv.py -> build\lib.win-amd64-cpython-37\mmcv\ops copying mmcv\ops\sync_bn.py -> build\lib.win-amd64-cpython-37\mmcv\ops copying mmcv\ops\tin_shift.py -> build\lib.win-amd64-cpython-37\mmcv\ops copying mmcv\ops__init.py -> build\lib.win-amd64-cpython-37\mmcv\ops creating build\lib.win-amd64-cpython-37\mmcv\parallel copying mmcv\parallel\collate.py -> build\lib.win-amd64-cpython-37\mmcv\parallel copying mmcv\parallel\data_container.py -> build\lib.win-amd64-cpython-37\mmcv\parallel copying mmcv\parallel\data_parallel.py -> build\lib.win-amd64-cpython-37\mmcv\parallel copying mmcv\parallel\distributed.py -> build\lib.win-amd64-cpython-37\mmcv\parallel copying mmcv\parallel\distributed_deprecated.py -> build\lib.win-amd64-cpython-37\mmcv\parallel copying mmcv\parallel\registry.py -> build\lib.win-amd64-cpython-37\mmcv\parallel copying mmcv\parallel\scatter_gather.py -> build\lib.win-amd64-cpython-37\mmcv\parallel copying mmcv\parallel\utils.py -> build\lib.win-amd64-cpython-37\mmcv\parallel copying mmcv\parallel_functions.py -> build\lib.win-amd64-cpython-37\mmcv\parallel copying mmcv\parallel\init__.py -> build\lib.win-amd64-cpython-37\mmcv\parallel creating build\lib.win-amd64-cpython-37\mmcv\runner copying mmcv\runner\base_module.py -> build\lib.win-amd64-cpython-37\mmcv\runner copying mmcv\runner\base_runner.py -> build\lib.win-amd64-cpython-37\mmcv\runner copying mmcv\runner\builder.py -> build\lib.win-amd64-cpython-37\mmcv\runner copying mmcv\runner\checkpoint.py -> build\lib.win-amd64-cpython-37\mmcv\runner copying mmcv\runner\dist_utils.py -> build\lib.win-amd64-cpython-37\mmcv\runner copying mmcv\runner\epoch_based_runner.py -> build\lib.win-amd64-cpython-37\mmcv\runner copying mmcv\runner\fp16_utils.py -> build\lib.win-amd64-cpython-37\mmcv\runner copying mmcv\runner\iter_based_runner.py -> build\lib.win-amd64-cpython-37\mmcv\runner copying mmcv\runner\log_buffer.py -> build\lib.win-amd64-cpython-37\mmcv\runner copying mmcv\runner\priority.py -> build\lib.win-amd64-cpython-37\mmcv\runner copying mmcv\runner\utils.py -> build\lib.win-amd64-cpython-37\mmcv\runner copying mmcv\runner\init.py -> build\lib.win-amd64-cpython-37\mmcv\runner creating build\lib.win-amd64-cpython-37\mmcv\tensorrt copying mmcv\tensorrt\init_plugins.py -> build\lib.win-amd64-cpython-37\mmcv\tensorrt copying mmcv\tensorrt\tensorrt_utils.py -> build\lib.win-amd64-cpython-37\mmcv\tensorrt copying mmcv\tensorrt\init.py -> build\lib.win-amd64-cpython-37\mmcv\tensorrt creating build\lib.win-amd64-cpython-37\mmcv\utils copying mmcv\utils\config.py -> build\lib.win-amd64-cpython-37\mmcv\utils copying mmcv\utils\env.py -> build\lib.win-amd64-cpython-37\mmcv\utils copying mmcv\utils\ext_loader.py -> build\lib.win-amd64-cpython-37\mmcv\utils copying mmcv\utils\logging.py -> build\lib.win-amd64-cpython-37\mmcv\utils copying mmcv\utils\misc.py -> build\lib.win-amd64-cpython-37\mmcv\utils copying mmcv\utils\parrots_jit.py -> build\lib.win-amd64-cpython-37\mmcv\utils copying mmcv\utils\parrots_wrapper.py -> build\lib.win-amd64-cpython-37\mmcv\utils copying mmcv\utils\path.py -> build\lib.win-amd64-cpython-37\mmcv\utils copying mmcv\utils\progressbar.py -> build\lib.win-amd64-cpython-37\mmcv\utils copying mmcv\utils\registry.py -> build\lib.win-amd64-cpython-37\mmcv\utils copying mmcv\utils\testing.py -> build\lib.win-amd64-cpython-37\mmcv\utils copying mmcv\utils\timer.py -> build\lib.win-amd64-cpython-37\mmcv\utils copying mmcv\utils\version_utils.py -> build\lib.win-amd64-cpython-37\mmcv\utils copying mmcv\utils\init.py -> build\lib.win-amd64-cpython-37\mmcv\utils creating build\lib.win-amd64-cpython-37\mmcv\video copying mmcv\video\io.py -> build\lib.win-amd64-cpython-37\mmcv\video copying mmcv\video\optflow.py -> build\lib.win-amd64-cpython-37\mmcv\video copying mmcv\video\processing.py -> build\lib.win-amd64-cpython-37\mmcv\video copying mmcv\video\init.py -> build\lib.win-amd64-cpython-37\mmcv\video creating build\lib.win-amd64-cpython-37\mmcv\visualization copying mmcv\visualization\color.py -> build\lib.win-amd64-cpython-37\mmcv\visualization copying mmcv\visualization\image.py -> build\lib.win-amd64-cpython-37\mmcv\visualization copying mmcv\visualization\optflow.py -> build\lib.win-amd64-cpython-37\mmcv\visualization copying mmcv\visualization\init.py -> build\lib.win-amd64-cpython-37\mmcv\visualization creating build\lib.win-amd64-cpython-37\mmcv\cnn\bricks copying mmcv\cnn\bricks\activation.py -> build\lib.win-amd64-cpython-37\mmcv\cnn\bricks copying mmcv\cnn\bricks\context_block.py -> build\lib.win-amd64-cpython-37\mmcv\cnn\bricks copying mmcv\cnn\bricks\conv.py -> build\lib.win-amd64-cpython-37\mmcv\cnn\bricks copying mmcv\cnn\bricks\conv2d_adaptive_padding.py -> build\lib.win-amd64-cpython-37\mmcv\cnn\bricks copying mmcv\cnn\bricks\conv_module.py -> build\lib.win-amd64-cpython-37\mmcv\cnn\bricks copying mmcv\cnn\bricks\conv_ws.py -> build\lib.win-amd64-cpython-37\mmcv\cnn\bricks copying mmcv\cnn\bricks\depthwise_separable_conv_module.py -> build\lib.win-amd64-cpython-37\mmcv\cnn\bricks copying mmcv\cnn\bricks\generalized_attention.py -> build\lib.win-amd64-cpython-37\mmcv\cnn\bricks copying mmcv\cnn\bricks\hsigmoid.py -> build\lib.win-amd64-cpython-37\mmcv\cnn\bricks copying mmcv\cnn\bricks\hswish.py -> build\lib.win-amd64-cpython-37\mmcv\cnn\bricks copying mmcv\cnn\bricks\non_local.py -> build\lib.win-amd64-cpython-37\mmcv\cnn\bricks copying mmcv\cnn\bricks\norm.py -> build\lib.win-amd64-cpython-37\mmcv\cnn\bricks copying mmcv\cnn\bricks\padding.py -> build\lib.win-amd64-cpython-37\mmcv\cnn\bricks copying mmcv\cnn\bricks\plugin.py -> build\lib.win-amd64-cpython-37\mmcv\cnn\bricks copying mmcv\cnn\bricks\registry.py -> build\lib.win-amd64-cpython-37\mmcv\cnn\bricks copying mmcv\cnn\bricks\scale.py -> build\lib.win-amd64-cpython-37\mmcv\cnn\bricks copying mmcv\cnn\bricks\swish.py -> build\lib.win-amd64-cpython-37\mmcv\cnn\bricks copying mmcv\cnn\bricks\upsample.py -> build\lib.win-amd64-cpython-37\mmcv\cnn\bricks copying mmcv\cnn\bricks\wrappers.py -> build\lib.win-amd64-cpython-37\mmcv\cnn\bricks copying mmcv\cnn\bricks\init.py -> build\lib.win-amd64-cpython-37\mmcv\cnn\bricks creating build\lib.win-amd64-cpython-37\mmcv\cnn\utils copying mmcv\cnn\utils\flops_counter.py -> build\lib.win-amd64-cpython-37\mmcv\cnn\utils copying mmcv\cnn\utils\fuse_conv_bn.py -> build\lib.win-amd64-cpython-37\mmcv\cnn\utils copying mmcv\cnn\utils\weight_init.py -> build\lib.win-amd64-cpython-37\mmcv\cnn\utils copying mmcv\cnn\utils\init__.py -> build\lib.win-amd64-cpython-37\mmcv\cnn\utils creating build\lib.win-amd64-cpython-37\mmcv\fileio\handlers copying mmcv\fileio\handlers\base.py -> build\lib.win-amd64-cpython-37\mmcv\fileio\handlers copying mmcv\fileio\handlers\json_handler.py -> build\lib.win-amd64-cpython-37\mmcv\fileio\handlers copying mmcv\fileio\handlers\pickle_handler.py -> build\lib.win-amd64-cpython-37\mmcv\fileio\handlers copying mmcv\fileio\handlers\yaml_handler.py -> build\lib.win-amd64-cpython-37\mmcv\fileio\handlers copying mmcv\fileio\handlers\init__.py -> build\lib.win-amd64-cpython-37\mmcv\fileio\handlers creating build\lib.win-amd64-cpython-37\mmcv\onnx\onnx_utils copying mmcv\onnx\onnx_utils\symbolic_helper.py -> build\lib.win-amd64-cpython-37\mmcv\onnx\onnx_utils copying mmcv\onnx\onnx_utils\init__.py -> build\lib.win-amd64-cpython-37\mmcv\onnx\onnx_utils creating build\lib.win-amd64-cpython-37\mmcv\onnx\simplify copying mmcv\onnx\simplify\common.py -> build\lib.win-amd64-cpython-37\mmcv\onnx\simplify copying mmcv\onnx\simplify\core.py -> build\lib.win-amd64-cpython-37\mmcv\onnx\simplify copying mmcv\onnx\simplify\init__.py -> build\lib.win-amd64-cpython-37\mmcv\onnx\simplify creating build\lib.win-amd64-cpython-37\mmcv\runner\hooks copying mmcv\runner\hooks\checkpoint.py -> build\lib.win-amd64-cpython-37\mmcv\runner\hooks copying mmcv\runner\hooks\closure.py -> build\lib.win-amd64-cpython-37\mmcv\runner\hooks copying mmcv\runner\hooks\ema.py -> build\lib.win-amd64-cpython-37\mmcv\runner\hooks copying mmcv\runner\hooks\hook.py -> build\lib.win-amd64-cpython-37\mmcv\runner\hooks copying mmcv\runner\hooks\iter_timer.py -> build\lib.win-amd64-cpython-37\mmcv\runner\hooks copying mmcv\runner\hooks\lr_updater.py -> build\lib.win-amd64-cpython-37\mmcv\runner\hooks copying mmcv\runner\hooks\memory.py -> build\lib.win-amd64-cpython-37\mmcv\runner\hooks copying mmcv\runner\hooks\momentum_updater.py -> build\lib.win-amd64-cpython-37\mmcv\runner\hooks copying mmcv\runner\hooks\optimizer.py -> build\lib.win-amd64-cpython-37\mmcv\runner\hooks copying mmcv\runner\hooks\sampler_seed.py -> build\lib.win-amd64-cpython-37\mmcv\runner\hooks copying mmcv\runner\hooks\sync_buffer.py -> build\lib.win-amd64-cpython-37\mmcv\runner\hooks copying mmcv\runner\hooks\init__.py -> build\lib.win-amd64-cpython-37\mmcv\runner\hooks creating build\lib.win-amd64-cpython-37\mmcv\runner\optimizer copying mmcv\runner\optimizer\builder.py -> build\lib.win-amd64-cpython-37\mmcv\runner\optimizer copying mmcv\runner\optimizer\default_constructor.py -> build\lib.win-amd64-cpython-37\mmcv\runner\optimizer copying mmcv\runner\optimizer\init.py -> build\lib.win-amd64-cpython-37\mmcv\runner\optimizer creating build\lib.win-amd64-cpython-37\mmcv\runner\hooks\logger copying mmcv\runner\hooks\logger\base.py -> build\lib.win-amd64-cpython-37\mmcv\runner\hooks\logger copying mmcv\runner\hooks\logger\mlflow.py -> build\lib.win-amd64-cpython-37\mmcv\runner\hooks\logger copying mmcv\runner\hooks\logger\pavi.py -> build\lib.win-amd64-cpython-37\mmcv\runner\hooks\logger copying mmcv\runner\hooks\logger\tensorboard.py -> build\lib.win-amd64-cpython-37\mmcv\runner\hooks\logger copying mmcv\runner\hooks\logger\text.py -> build\lib.win-amd64-cpython-37\mmcv\runner\hooks\logger copying mmcv\runner\hooks\logger\wandb.py -> build\lib.win-amd64-cpython-37\mmcv\runner\hooks\logger copying mmcv\runner\hooks\logger\init__.py -> build\lib.win-amd64-cpython-37\mmcv\runner\hooks\logger running egg_info writing mmcv_full.egg-info\PKG-INFO writing dependency_links to mmcv_full.egg-info\dependency_links.txt writing requirements to mmcv_full.egg-info\requires.txt writing top-level names to mmcv_full.egg-info\top_level.txt reading manifest file 'mmcv_full.egg-info\SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'mmcv_full.egg-info\SOURCES.txt' E:\Program Files (x86)\Anaconda3\envs\pytorch\lib\site-packages\setuptools\command\build_py.py:202: SetuptoolsDeprecationWarning: Installing 'mmcv.model_zoo' as data is deprecated, please list it in packages. !!

      ############################
      # Package would be ignored #
      ############################
      Python recognizes 'mmcv.model_zoo' as an importable package,
      but it is not listed in the `packages` configuration of setuptools.

      'mmcv.model_zoo' has been automatically added to the distribution only
      because it may contain data files, but this behavior is likely to change
      in future versions of setuptools (and therefore is considered deprecated).

      Please make sure that 'mmcv.model_zoo' is included as a package by using
      the `packages` configuration field or the proper discovery methods
      (for example by using `find_namespace_packages(...)`/`find_namespace:`
      instead of `find_packages(...)`/`find:`).

      You can read more about "package discovery" and "data files" on setuptools
      documentation page.

  !!

    check.warn(importable)
  E:\Program Files (x86)\Anaconda3\envs\pytorch\lib\site-packages\setuptools\command\build_py.py:202: SetuptoolsDeprecationWarning:     Installing 'mmcv.ops.csrc' as data is deprecated, please list it in `packages`.
      !!

      ############################
      # Package would be ignored #
      ############################
      Python recognizes 'mmcv.ops.csrc' as an importable package,
      but it is not listed in the `packages` configuration of setuptools.

      'mmcv.ops.csrc' has been automatically added to the distribution only
      because it may contain data files, but this behavior is likely to change
      in future versions of setuptools (and therefore is considered deprecated).

      Please make sure that 'mmcv.ops.csrc' is included as a package by using
      the `packages` configuration field or the proper discovery methods
      (for example by using `find_namespace_packages(...)`/`find_namespace:`
      instead of `find_packages(...)`/`find:`).

      You can read more about "package discovery" and "data files" on setuptools
      documentation page.

  !!

    check.warn(importable)
  E:\Program Files (x86)\Anaconda3\envs\pytorch\lib\site-packages\setuptools\command\build_py.py:202: SetuptoolsDeprecationWarning:     Installing 'mmcv.ops.csrc.parrots' as data is deprecated, please list it in `packages`.
      !!

      ############################
      # Package would be ignored #
      ############################
      Python recognizes 'mmcv.ops.csrc.parrots' as an importable package,
      but it is not listed in the `packages` configuration of setuptools.

      'mmcv.ops.csrc.parrots' has been automatically added to the distribution only
      because it may contain data files, but this behavior is likely to change
      in future versions of setuptools (and therefore is considered deprecated).

      Please make sure that 'mmcv.ops.csrc.parrots' is included as a package by using
      the `packages` configuration field or the proper discovery methods
      (for example by using `find_namespace_packages(...)`/`find_namespace:`
      instead of `find_packages(...)`/`find:`).

      You can read more about "package discovery" and "data files" on setuptools
      documentation page.

  !!

    check.warn(importable)
  E:\Program Files (x86)\Anaconda3\envs\pytorch\lib\site-packages\setuptools\command\build_py.py:202: SetuptoolsDeprecationWarning:     Installing 'mmcv.ops.csrc.pytorch' as data is deprecated, please list it in `packages`.
      !!

      ############################
      # Package would be ignored #
      ############################
      Python recognizes 'mmcv.ops.csrc.pytorch' as an importable package,
      but it is not listed in the `packages` configuration of setuptools.

      'mmcv.ops.csrc.pytorch' has been automatically added to the distribution only
      because it may contain data files, but this behavior is likely to change
      in future versions of setuptools (and therefore is considered deprecated).

      Please make sure that 'mmcv.ops.csrc.pytorch' is included as a package by using
      the `packages` configuration field or the proper discovery methods
      (for example by using `find_namespace_packages(...)`/`find_namespace:`
      instead of `find_packages(...)`/`find:`).

      You can read more about "package discovery" and "data files" on setuptools
      documentation page.

  !!

    check.warn(importable)
  creating build\lib.win-amd64-cpython-37\mmcv\model_zoo
  copying mmcv\model_zoo\deprecated.json -> build\lib.win-amd64-cpython-37\mmcv\model_zoo
  copying mmcv\model_zoo\mmcls.json -> build\lib.win-amd64-cpython-37\mmcv\model_zoo
  copying mmcv\model_zoo\open_mmlab.json -> build\lib.win-amd64-cpython-37\mmcv\model_zoo
  creating build\lib.win-amd64-cpython-37\mmcv\ops\csrc
  copying mmcv\ops\csrc\bbox_overlaps_cuda_kernel.cuh -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc
  copying mmcv\ops\csrc\box_iou_rotated_cuda.cuh -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc
  copying mmcv\ops\csrc\box_iou_rotated_utils.hpp -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc
  copying mmcv\ops\csrc\carafe_cuda_kernel.cuh -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc
  copying mmcv\ops\csrc\carafe_naive_cuda_kernel.cuh -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc
  copying mmcv\ops\csrc\cc_attention_cuda_kernel.cuh -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc
  copying mmcv\ops\csrc\common_cuda_helper.hpp -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc
  copying mmcv\ops\csrc\deform_conv_cuda_kernel.cuh -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc
  copying mmcv\ops\csrc\deform_roi_pool_cuda_kernel.cuh -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc
  copying mmcv\ops\csrc\masked_conv2d_cuda_kernel.cuh -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc
  copying mmcv\ops\csrc\modulated_deform_conv_cuda_kernel.cuh -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc
  copying mmcv\ops\csrc\nms_cuda_kernel.cuh -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc
  copying mmcv\ops\csrc\nms_rotated_cuda.cuh -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc
  copying mmcv\ops\csrc\parrots_cpp_helper.hpp -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc
  copying mmcv\ops\csrc\parrots_cuda_helper.hpp -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc
  copying mmcv\ops\csrc\parrots_cudawarpfunction.cuh -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc
  copying mmcv\ops\csrc\psamask_cuda_kernel.cuh -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc
  copying mmcv\ops\csrc\pytorch_cpp_helper.hpp -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc
  copying mmcv\ops\csrc\pytorch_cuda_helper.hpp -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc
  copying mmcv\ops\csrc\roi_align_cuda_kernel.cuh -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc
  copying mmcv\ops\csrc\roi_pool_cuda_kernel.cuh -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc
  copying mmcv\ops\csrc\sigmoid_focal_loss_cuda_kernel.cuh -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc
  copying mmcv\ops\csrc\softmax_focal_loss_cuda_kernel.cuh -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc
  copying mmcv\ops\csrc\sync_bn_cuda_kernel.cuh -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc
  copying mmcv\ops\csrc\tin_shift_cuda_kernel.cuh -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc
  creating build\lib.win-amd64-cpython-37\mmcv\ops\csrc\parrots
  copying mmcv\ops\csrc\parrots\bbox_overlaps.cpp -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\parrots
  copying mmcv\ops\csrc\parrots\bbox_overlaps_cuda.cu -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\parrots
  copying mmcv\ops\csrc\parrots\box_iou_rotated.cpp -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\parrots
  copying mmcv\ops\csrc\parrots\box_iou_rotated_cpu.cpp -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\parrots
  copying mmcv\ops\csrc\parrots\box_iou_rotated_cuda.cu -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\parrots
  copying mmcv\ops\csrc\parrots\carafe.cpp -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\parrots
  copying mmcv\ops\csrc\parrots\carafe_cuda.cu -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\parrots
  copying mmcv\ops\csrc\parrots\carafe_naive.cpp -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\parrots
  copying mmcv\ops\csrc\parrots\carafe_naive_cuda.cu -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\parrots
  copying mmcv\ops\csrc\parrots\cc_attention.cpp -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\parrots
  copying mmcv\ops\csrc\parrots\cc_attention_cuda_kernel.cu -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\parrots
  copying mmcv\ops\csrc\parrots\corner_pool.cpp -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\parrots
  copying mmcv\ops\csrc\parrots\deform_conv.cpp -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\parrots
  copying mmcv\ops\csrc\parrots\deform_conv_cuda.cu -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\parrots
  copying mmcv\ops\csrc\parrots\deform_roi_pool.cpp -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\parrots
  copying mmcv\ops\csrc\parrots\deform_roi_pool_cuda.cu -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\parrots
  copying mmcv\ops\csrc\parrots\focal_loss.cpp -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\parrots
  copying mmcv\ops\csrc\parrots\focal_loss_cuda.cu -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\parrots
  copying mmcv\ops\csrc\parrots\masked_conv2d.cpp -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\parrots
  copying mmcv\ops\csrc\parrots\masked_conv2d_cuda.cu -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\parrots
  copying mmcv\ops\csrc\parrots\modulated_deform_conv.cpp -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\parrots
  copying mmcv\ops\csrc\parrots\modulated_deform_conv_cuda.cu -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\parrots
  copying mmcv\ops\csrc\parrots\nms.cpp -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\parrots
  copying mmcv\ops\csrc\parrots\nms_cuda.cu -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\parrots
  copying mmcv\ops\csrc\parrots\nms_rotated.cpp -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\parrots
  copying mmcv\ops\csrc\parrots\nms_rotated_cuda.cu -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\parrots
  copying mmcv\ops\csrc\parrots\parrots_cpp_helper.cpp -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\parrots
  copying mmcv\ops\csrc\parrots\parrots_cuda_helper.cu -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\parrots
  copying mmcv\ops\csrc\parrots\psamask.cpp -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\parrots
  copying mmcv\ops\csrc\parrots\psamask_cuda.cu -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\parrots
  copying mmcv\ops\csrc\parrots\roi_align.cpp -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\parrots
  copying mmcv\ops\csrc\parrots\roi_align_cpu.cpp -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\parrots
  copying mmcv\ops\csrc\parrots\roi_align_cuda.cu -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\parrots
  copying mmcv\ops\csrc\parrots\roi_pool.cpp -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\parrots
  copying mmcv\ops\csrc\parrots\roi_pool_cuda.cu -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\parrots
  copying mmcv\ops\csrc\parrots\sync_bn.cpp -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\parrots
  copying mmcv\ops\csrc\parrots\sync_bn_cuda.cu -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\parrots
  copying mmcv\ops\csrc\parrots\tin_shift.cpp -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\parrots
  copying mmcv\ops\csrc\parrots\tin_shift_cuda.cu -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\parrots
  creating build\lib.win-amd64-cpython-37\mmcv\ops\csrc\pytorch
  copying mmcv\ops\csrc\pytorch\bbox_overlaps.cpp -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\pytorch
  copying mmcv\ops\csrc\pytorch\bbox_overlaps_cuda.cu -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\pytorch
  copying mmcv\ops\csrc\pytorch\box_iou_rotated.cpp -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\pytorch
  copying mmcv\ops\csrc\pytorch\box_iou_rotated_cpu.cpp -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\pytorch
  copying mmcv\ops\csrc\pytorch\box_iou_rotated_cuda.cu -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\pytorch
  copying mmcv\ops\csrc\pytorch\carafe.cpp -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\pytorch
  copying mmcv\ops\csrc\pytorch\carafe_cuda.cu -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\pytorch
  copying mmcv\ops\csrc\pytorch\carafe_naive.cpp -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\pytorch
  copying mmcv\ops\csrc\pytorch\carafe_naive_cuda.cu -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\pytorch
  copying mmcv\ops\csrc\pytorch\cc_attention.cpp -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\pytorch
  copying mmcv\ops\csrc\pytorch\cc_attention_cuda.cu -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\pytorch
  copying mmcv\ops\csrc\pytorch\corner_pool.cpp -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\pytorch
  copying mmcv\ops\csrc\pytorch\deform_conv.cpp -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\pytorch
  copying mmcv\ops\csrc\pytorch\deform_conv_cuda.cu -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\pytorch
  copying mmcv\ops\csrc\pytorch\deform_roi_pool.cpp -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\pytorch
  copying mmcv\ops\csrc\pytorch\deform_roi_pool_cuda.cu -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\pytorch
  copying mmcv\ops\csrc\pytorch\focal_loss.cpp -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\pytorch
  copying mmcv\ops\csrc\pytorch\focal_loss_cuda.cu -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\pytorch
  copying mmcv\ops\csrc\pytorch\info.cpp -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\pytorch
  copying mmcv\ops\csrc\pytorch\masked_conv2d.cpp -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\pytorch
  copying mmcv\ops\csrc\pytorch\masked_conv2d_cuda.cu -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\pytorch
  copying mmcv\ops\csrc\pytorch\modulated_deform_conv.cpp -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\pytorch
  copying mmcv\ops\csrc\pytorch\modulated_deform_conv_cuda.cu -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\pytorch
  copying mmcv\ops\csrc\pytorch\nms.cpp -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\pytorch
  copying mmcv\ops\csrc\pytorch\nms_cuda.cu -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\pytorch
  copying mmcv\ops\csrc\pytorch\nms_rotated.cpp -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\pytorch
  copying mmcv\ops\csrc\pytorch\nms_rotated_cpu.cpp -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\pytorch
  copying mmcv\ops\csrc\pytorch\nms_rotated_cuda.cu -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\pytorch
  copying mmcv\ops\csrc\pytorch\psamask.cpp -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\pytorch
  copying mmcv\ops\csrc\pytorch\psamask_cuda.cu -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\pytorch
  copying mmcv\ops\csrc\pytorch\pybind.cpp -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\pytorch
  copying mmcv\ops\csrc\pytorch\roi_align.cpp -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\pytorch
  copying mmcv\ops\csrc\pytorch\roi_align_cpu.cpp -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\pytorch
  copying mmcv\ops\csrc\pytorch\roi_align_cuda.cu -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\pytorch
  copying mmcv\ops\csrc\pytorch\roi_pool.cpp -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\pytorch
  copying mmcv\ops\csrc\pytorch\roi_pool_cuda.cu -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\pytorch
  copying mmcv\ops\csrc\pytorch\sync_bn.cpp -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\pytorch
  copying mmcv\ops\csrc\pytorch\sync_bn_cuda.cu -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\pytorch
  copying mmcv\ops\csrc\pytorch\tin_shift.cpp -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\pytorch
  copying mmcv\ops\csrc\pytorch\tin_shift_cuda.cu -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\pytorch
  running build_ext
  E:\Program Files (x86)\Anaconda3\envs\pytorch\lib\site-packages\torch\utils\cpp_extension.py:274: UserWarning: Error checking compiler version for cl: [WinError 2] 系统找不到指定的文件。
    warnings.warn('Error checking compiler version for {}: {}'.format(compiler, error))
  building 'mmcv._ext' extension
  creating C:\Users\14419\AppData\Local\Temp\pip-install-e8fv_15c\mmcv-full_4fc476a750d94d4b91340bbe15e18ee3\build\temp.win-amd64-cpython-37
  creating C:\Users\14419\AppData\Local\Temp\pip-install-e8fv_15c\mmcv-full_4fc476a750d94d4b91340bbe15e18ee3\build\temp.win-amd64-cpython-37\Release
  creating C:\Users\14419\AppData\Local\Temp\pip-install-e8fv_15c\mmcv-full_4fc476a750d94d4b91340bbe15e18ee3\build\temp.win-amd64-cpython-37\Release\mmcv
  creating C:\Users\14419\AppData\Local\Temp\pip-install-e8fv_15c\mmcv-full_4fc476a750d94d4b91340bbe15e18ee3\build\temp.win-amd64-cpython-37\Release\mmcv\ops
  creating C:\Users\14419\AppData\Local\Temp\pip-install-e8fv_15c\mmcv-full_4fc476a750d94d4b91340bbe15e18ee3\build\temp.win-amd64-cpython-37\Release\mmcv\ops\csrc
  creating C:\Users\14419\AppData\Local\Temp\pip-install-e8fv_15c\mmcv-full_4fc476a750d94d4b91340bbe15e18ee3\build\temp.win-amd64-cpython-37\Release\mmcv\ops\csrc\pytorch
  Traceback (most recent call last):
    File "<string>", line 36, in <module>
    File "<pip-setuptools-caller>", line 34, in <module>
    File "C:\Users\14419\AppData\Local\Temp\pip-install-e8fv_15c\mmcv-full_4fc476a750d94d4b91340bbe15e18ee3\setup.py", line 304, in <module>
      zip_safe=False)
    File "E:\Program Files (x86)\Anaconda3\envs\pytorch\lib\site-packages\setuptools\__init__.py", line 87, in setup
      return distutils.core.setup(**attrs)
    File "E:\Program Files (x86)\Anaconda3\envs\pytorch\lib\site-packages\setuptools\_distutils\core.py", line 185, in setup
      return run_commands(dist)
    File "E:\Program Files (x86)\Anaconda3\envs\pytorch\lib\site-packages\setuptools\_distutils\core.py", line 201, in run_commands
      dist.run_commands()
    File "E:\Program Files (x86)\Anaconda3\envs\pytorch\lib\site-packages\setuptools\_distutils\dist.py", line 968, in run_commands
      self.run_command(cmd)
    File "E:\Program Files (x86)\Anaconda3\envs\pytorch\lib\site-packages\setuptools\dist.py", line 1217, in run_command
      super().run_command(command)
    File "E:\Program Files (x86)\Anaconda3\envs\pytorch\lib\site-packages\setuptools\_distutils\dist.py", line 987, in run_command
      cmd_obj.run()
    File "E:\Program Files (x86)\Anaconda3\envs\pytorch\lib\site-packages\wheel\bdist_wheel.py", line 299, in run
      self.run_command('build')
    File "E:\Program Files (x86)\Anaconda3\envs\pytorch\lib\site-packages\setuptools\_distutils\cmd.py", line 319, in run_command
      self.distribution.run_command(command)
    File "E:\Program Files (x86)\Anaconda3\envs\pytorch\lib\site-packages\setuptools\dist.py", line 1217, in run_command
      super().run_command(command)
    File "E:\Program Files (x86)\Anaconda3\envs\pytorch\lib\site-packages\setuptools\_distutils\dist.py", line 987, in run_command
      cmd_obj.run()
    File "E:\Program Files (x86)\Anaconda3\envs\pytorch\lib\site-packages\setuptools\_distutils\command\build.py", line 132, in run
      self.run_command(cmd_name)
    File "E:\Program Files (x86)\Anaconda3\envs\pytorch\lib\site-packages\setuptools\_distutils\cmd.py", line 319, in run_command
      self.distribution.run_command(command)
    File "E:\Program Files (x86)\Anaconda3\envs\pytorch\lib\site-packages\setuptools\dist.py", line 1217, in run_command
      super().run_command(command)
    File "E:\Program Files (x86)\Anaconda3\envs\pytorch\lib\site-packages\setuptools\_distutils\dist.py", line 987, in run_command
      cmd_obj.run()
    File "E:\Program Files (x86)\Anaconda3\envs\pytorch\lib\site-packages\setuptools\command\build_ext.py", line 84, in run
      _build_ext.run(self)
    File "E:\Program Files (x86)\Anaconda3\envs\pytorch\lib\site-packages\Cython\Distutils\old_build_ext.py", line 186, in run
      _build_ext.build_ext.run(self)
    File "E:\Program Files (x86)\Anaconda3\envs\pytorch\lib\site-packages\setuptools\_distutils\command\build_ext.py", line 346, in run
      self.build_extensions()
    File "E:\Program Files (x86)\Anaconda3\envs\pytorch\lib\site-packages\torch\utils\cpp_extension.py", line 653, in build_extensions
      build_ext.build_extensions(self)
    File "E:\Program Files (x86)\Anaconda3\envs\pytorch\lib\site-packages\Cython\Distutils\old_build_ext.py", line 195, in build_extensions
      _build_ext.build_ext.build_extensions(self)
    File "E:\Program Files (x86)\Anaconda3\envs\pytorch\lib\site-packages\setuptools\_distutils\command\build_ext.py", line 466, in build_extensions
      self._build_extensions_serial()
    File "E:\Program Files (x86)\Anaconda3\envs\pytorch\lib\site-packages\setuptools\_distutils\command\build_ext.py", line 492, in _build_extensions_serial
      self.build_extension(ext)
    File "E:\Program Files (x86)\Anaconda3\envs\pytorch\lib\site-packages\setuptools\command\build_ext.py", line 246, in build_extension
      _build_ext.build_extension(self, ext)
    File "E:\Program Files (x86)\Anaconda3\envs\pytorch\lib\site-packages\setuptools\_distutils\command\build_ext.py", line 554, in build_extension
      depends=ext.depends,
    File "E:\Program Files (x86)\Anaconda3\envs\pytorch\lib\site-packages\torch\utils\cpp_extension.py", line 619, in win_wrap_ninja_compile
      from distutils.spawn import _nt_quote_args  # type: ignore
  ImportError: cannot import name '_nt_quote_args' from 'distutils.spawn' (E:\Program Files (x86)\Anaconda3\envs\pytorch\lib\site-packages\setuptools\_distutils\spawn.py)
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for mmcv-full Running setup.py clean for mmcv-full Failed to build mmcv-full Installing collected packages: mmcv-full Running setup.py install for mmcv-full ... error error: subprocess-exited-with-error

× Running setup.py install for mmcv-full did not run successfully. │ exit code: 1 ╰─> [465 lines of output] E:\Program Files (x86)\Anaconda3\envs\pytorch\lib\site-packages\setuptools\installer.py:30: SetuptoolsDeprecationWarning: setuptools.installer is deprecated. Requirements should be satisfied by a PEP 517 installer. SetuptoolsDeprecationWarning, running install E:\Program Files (x86)\Anaconda3\envs\pytorch\lib\site-packages\setuptools\command\install.py:37: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. setuptools.SetuptoolsDeprecationWarning, running build running build_py creating build creating build\lib.win-amd64-cpython-37 creating build\lib.win-amd64-cpython-37\mmcv copying mmcv\version.py -> build\lib.win-amd64-cpython-37\mmcv copying mmcv__init.py -> build\lib.win-amd64-cpython-37\mmcv creating build\lib.win-amd64-cpython-37\mmcv\arraymisc copying mmcv\arraymisc\quantization.py -> build\lib.win-amd64-cpython-37\mmcv\arraymisc copying mmcv\arraymisc__init.py -> build\lib.win-amd64-cpython-37\mmcv\arraymisc creating build\lib.win-amd64-cpython-37\mmcv\cnn copying mmcv\cnn\alexnet.py -> build\lib.win-amd64-cpython-37\mmcv\cnn copying mmcv\cnn\resnet.py -> build\lib.win-amd64-cpython-37\mmcv\cnn copying mmcv\cnn\vgg.py -> build\lib.win-amd64-cpython-37\mmcv\cnn copying mmcv\cnn__init.py -> build\lib.win-amd64-cpython-37\mmcv\cnn creating build\lib.win-amd64-cpython-37\mmcv\fileio copying mmcv\fileio\file_client.py -> build\lib.win-amd64-cpython-37\mmcv\fileio copying mmcv\fileio\io.py -> build\lib.win-amd64-cpython-37\mmcv\fileio copying mmcv\fileio\parse.py -> build\lib.win-amd64-cpython-37\mmcv\fileio copying mmcv\fileio__init.py -> build\lib.win-amd64-cpython-37\mmcv\fileio creating build\lib.win-amd64-cpython-37\mmcv\image copying mmcv\image\colorspace.py -> build\lib.win-amd64-cpython-37\mmcv\image copying mmcv\image\geometric.py -> build\lib.win-amd64-cpython-37\mmcv\image copying mmcv\image\io.py -> build\lib.win-amd64-cpython-37\mmcv\image copying mmcv\image\misc.py -> build\lib.win-amd64-cpython-37\mmcv\image copying mmcv\image\photometric.py -> build\lib.win-amd64-cpython-37\mmcv\image copying mmcv\image__init.py -> build\lib.win-amd64-cpython-37\mmcv\image creating build\lib.win-amd64-cpython-37\mmcv\onnx copying mmcv\onnx\info.py -> build\lib.win-amd64-cpython-37\mmcv\onnx copying mmcv\onnx\symbolic.py -> build\lib.win-amd64-cpython-37\mmcv\onnx copying mmcv\onnx__init.py -> build\lib.win-amd64-cpython-37\mmcv\onnx creating build\lib.win-amd64-cpython-37\mmcv\ops copying mmcv\ops\bbox.py -> build\lib.win-amd64-cpython-37\mmcv\ops copying mmcv\ops\box_iou_rotated.py -> build\lib.win-amd64-cpython-37\mmcv\ops copying mmcv\ops\carafe.py -> build\lib.win-amd64-cpython-37\mmcv\ops copying mmcv\ops\cc_attention.py -> build\lib.win-amd64-cpython-37\mmcv\ops copying mmcv\ops\corner_pool.py -> build\lib.win-amd64-cpython-37\mmcv\ops copying mmcv\ops\deform_conv.py -> build\lib.win-amd64-cpython-37\mmcv\ops copying mmcv\ops\deform_roi_pool.py -> build\lib.win-amd64-cpython-37\mmcv\ops copying mmcv\ops\deprecated_wrappers.py -> build\lib.win-amd64-cpython-37\mmcv\ops copying mmcv\ops\focal_loss.py -> build\lib.win-amd64-cpython-37\mmcv\ops copying mmcv\ops\info.py -> build\lib.win-amd64-cpython-37\mmcv\ops copying mmcv\ops\masked_conv.py -> build\lib.win-amd64-cpython-37\mmcv\ops copying mmcv\ops\merge_cells.py -> build\lib.win-amd64-cpython-37\mmcv\ops copying mmcv\ops\modulated_deform_conv.py -> build\lib.win-amd64-cpython-37\mmcv\ops copying mmcv\ops\nms.py -> build\lib.win-amd64-cpython-37\mmcv\ops copying mmcv\ops\point_sample.py -> build\lib.win-amd64-cpython-37\mmcv\ops copying mmcv\ops\psa_mask.py -> build\lib.win-amd64-cpython-37\mmcv\ops copying mmcv\ops\roi_align.py -> build\lib.win-amd64-cpython-37\mmcv\ops copying mmcv\ops\roi_pool.py -> build\lib.win-amd64-cpython-37\mmcv\ops copying mmcv\ops\saconv.py -> build\lib.win-amd64-cpython-37\mmcv\ops copying mmcv\ops\sync_bn.py -> build\lib.win-amd64-cpython-37\mmcv\ops copying mmcv\ops\tin_shift.py -> build\lib.win-amd64-cpython-37\mmcv\ops copying mmcv\ops__init.py -> build\lib.win-amd64-cpython-37\mmcv\ops creating build\lib.win-amd64-cpython-37\mmcv\parallel copying mmcv\parallel\collate.py -> build\lib.win-amd64-cpython-37\mmcv\parallel copying mmcv\parallel\data_container.py -> build\lib.win-amd64-cpython-37\mmcv\parallel copying mmcv\parallel\data_parallel.py -> build\lib.win-amd64-cpython-37\mmcv\parallel copying mmcv\parallel\distributed.py -> build\lib.win-amd64-cpython-37\mmcv\parallel copying mmcv\parallel\distributed_deprecated.py -> build\lib.win-amd64-cpython-37\mmcv\parallel copying mmcv\parallel\registry.py -> build\lib.win-amd64-cpython-37\mmcv\parallel copying mmcv\parallel\scatter_gather.py -> build\lib.win-amd64-cpython-37\mmcv\parallel copying mmcv\parallel\utils.py -> build\lib.win-amd64-cpython-37\mmcv\parallel copying mmcv\parallel_functions.py -> build\lib.win-amd64-cpython-37\mmcv\parallel copying mmcv\parallel\init__.py -> build\lib.win-amd64-cpython-37\mmcv\parallel creating build\lib.win-amd64-cpython-37\mmcv\runner copying mmcv\runner\base_module.py -> build\lib.win-amd64-cpython-37\mmcv\runner copying mmcv\runner\base_runner.py -> build\lib.win-amd64-cpython-37\mmcv\runner copying mmcv\runner\builder.py -> build\lib.win-amd64-cpython-37\mmcv\runner copying mmcv\runner\checkpoint.py -> build\lib.win-amd64-cpython-37\mmcv\runner copying mmcv\runner\dist_utils.py -> build\lib.win-amd64-cpython-37\mmcv\runner copying mmcv\runner\epoch_based_runner.py -> build\lib.win-amd64-cpython-37\mmcv\runner copying mmcv\runner\fp16_utils.py -> build\lib.win-amd64-cpython-37\mmcv\runner copying mmcv\runner\iter_based_runner.py -> build\lib.win-amd64-cpython-37\mmcv\runner copying mmcv\runner\log_buffer.py -> build\lib.win-amd64-cpython-37\mmcv\runner copying mmcv\runner\priority.py -> build\lib.win-amd64-cpython-37\mmcv\runner copying mmcv\runner\utils.py -> build\lib.win-amd64-cpython-37\mmcv\runner copying mmcv\runner\init.py -> build\lib.win-amd64-cpython-37\mmcv\runner creating build\lib.win-amd64-cpython-37\mmcv\tensorrt copying mmcv\tensorrt\init_plugins.py -> build\lib.win-amd64-cpython-37\mmcv\tensorrt copying mmcv\tensorrt\tensorrt_utils.py -> build\lib.win-amd64-cpython-37\mmcv\tensorrt copying mmcv\tensorrt\init.py -> build\lib.win-amd64-cpython-37\mmcv\tensorrt creating build\lib.win-amd64-cpython-37\mmcv\utils copying mmcv\utils\config.py -> build\lib.win-amd64-cpython-37\mmcv\utils copying mmcv\utils\env.py -> build\lib.win-amd64-cpython-37\mmcv\utils copying mmcv\utils\ext_loader.py -> build\lib.win-amd64-cpython-37\mmcv\utils copying mmcv\utils\logging.py -> build\lib.win-amd64-cpython-37\mmcv\utils copying mmcv\utils\misc.py -> build\lib.win-amd64-cpython-37\mmcv\utils copying mmcv\utils\parrots_jit.py -> build\lib.win-amd64-cpython-37\mmcv\utils copying mmcv\utils\parrots_wrapper.py -> build\lib.win-amd64-cpython-37\mmcv\utils copying mmcv\utils\path.py -> build\lib.win-amd64-cpython-37\mmcv\utils copying mmcv\utils\progressbar.py -> build\lib.win-amd64-cpython-37\mmcv\utils copying mmcv\utils\registry.py -> build\lib.win-amd64-cpython-37\mmcv\utils copying mmcv\utils\testing.py -> build\lib.win-amd64-cpython-37\mmcv\utils copying mmcv\utils\timer.py -> build\lib.win-amd64-cpython-37\mmcv\utils copying mmcv\utils\version_utils.py -> build\lib.win-amd64-cpython-37\mmcv\utils copying mmcv\utils\init.py -> build\lib.win-amd64-cpython-37\mmcv\utils creating build\lib.win-amd64-cpython-37\mmcv\video copying mmcv\video\io.py -> build\lib.win-amd64-cpython-37\mmcv\video copying mmcv\video\optflow.py -> build\lib.win-amd64-cpython-37\mmcv\video copying mmcv\video\processing.py -> build\lib.win-amd64-cpython-37\mmcv\video copying mmcv\video\init.py -> build\lib.win-amd64-cpython-37\mmcv\video creating build\lib.win-amd64-cpython-37\mmcv\visualization copying mmcv\visualization\color.py -> build\lib.win-amd64-cpython-37\mmcv\visualization copying mmcv\visualization\image.py -> build\lib.win-amd64-cpython-37\mmcv\visualization copying mmcv\visualization\optflow.py -> build\lib.win-amd64-cpython-37\mmcv\visualization copying mmcv\visualization\init.py -> build\lib.win-amd64-cpython-37\mmcv\visualization creating build\lib.win-amd64-cpython-37\mmcv\cnn\bricks copying mmcv\cnn\bricks\activation.py -> build\lib.win-amd64-cpython-37\mmcv\cnn\bricks copying mmcv\cnn\bricks\context_block.py -> build\lib.win-amd64-cpython-37\mmcv\cnn\bricks copying mmcv\cnn\bricks\conv.py -> build\lib.win-amd64-cpython-37\mmcv\cnn\bricks copying mmcv\cnn\bricks\conv2d_adaptive_padding.py -> build\lib.win-amd64-cpython-37\mmcv\cnn\bricks copying mmcv\cnn\bricks\conv_module.py -> build\lib.win-amd64-cpython-37\mmcv\cnn\bricks copying mmcv\cnn\bricks\conv_ws.py -> build\lib.win-amd64-cpython-37\mmcv\cnn\bricks copying mmcv\cnn\bricks\depthwise_separable_conv_module.py -> build\lib.win-amd64-cpython-37\mmcv\cnn\bricks copying mmcv\cnn\bricks\generalized_attention.py -> build\lib.win-amd64-cpython-37\mmcv\cnn\bricks copying mmcv\cnn\bricks\hsigmoid.py -> build\lib.win-amd64-cpython-37\mmcv\cnn\bricks copying mmcv\cnn\bricks\hswish.py -> build\lib.win-amd64-cpython-37\mmcv\cnn\bricks copying mmcv\cnn\bricks\non_local.py -> build\lib.win-amd64-cpython-37\mmcv\cnn\bricks copying mmcv\cnn\bricks\norm.py -> build\lib.win-amd64-cpython-37\mmcv\cnn\bricks copying mmcv\cnn\bricks\padding.py -> build\lib.win-amd64-cpython-37\mmcv\cnn\bricks copying mmcv\cnn\bricks\plugin.py -> build\lib.win-amd64-cpython-37\mmcv\cnn\bricks copying mmcv\cnn\bricks\registry.py -> build\lib.win-amd64-cpython-37\mmcv\cnn\bricks copying mmcv\cnn\bricks\scale.py -> build\lib.win-amd64-cpython-37\mmcv\cnn\bricks copying mmcv\cnn\bricks\swish.py -> build\lib.win-amd64-cpython-37\mmcv\cnn\bricks copying mmcv\cnn\bricks\upsample.py -> build\lib.win-amd64-cpython-37\mmcv\cnn\bricks copying mmcv\cnn\bricks\wrappers.py -> build\lib.win-amd64-cpython-37\mmcv\cnn\bricks copying mmcv\cnn\bricks\init.py -> build\lib.win-amd64-cpython-37\mmcv\cnn\bricks creating build\lib.win-amd64-cpython-37\mmcv\cnn\utils copying mmcv\cnn\utils\flops_counter.py -> build\lib.win-amd64-cpython-37\mmcv\cnn\utils copying mmcv\cnn\utils\fuse_conv_bn.py -> build\lib.win-amd64-cpython-37\mmcv\cnn\utils copying mmcv\cnn\utils\weight_init.py -> build\lib.win-amd64-cpython-37\mmcv\cnn\utils copying mmcv\cnn\utils\init__.py -> build\lib.win-amd64-cpython-37\mmcv\cnn\utils creating build\lib.win-amd64-cpython-37\mmcv\fileio\handlers copying mmcv\fileio\handlers\base.py -> build\lib.win-amd64-cpython-37\mmcv\fileio\handlers copying mmcv\fileio\handlers\json_handler.py -> build\lib.win-amd64-cpython-37\mmcv\fileio\handlers copying mmcv\fileio\handlers\pickle_handler.py -> build\lib.win-amd64-cpython-37\mmcv\fileio\handlers copying mmcv\fileio\handlers\yaml_handler.py -> build\lib.win-amd64-cpython-37\mmcv\fileio\handlers copying mmcv\fileio\handlers\init__.py -> build\lib.win-amd64-cpython-37\mmcv\fileio\handlers creating build\lib.win-amd64-cpython-37\mmcv\onnx\onnx_utils copying mmcv\onnx\onnx_utils\symbolic_helper.py -> build\lib.win-amd64-cpython-37\mmcv\onnx\onnx_utils copying mmcv\onnx\onnx_utils\init__.py -> build\lib.win-amd64-cpython-37\mmcv\onnx\onnx_utils creating build\lib.win-amd64-cpython-37\mmcv\onnx\simplify copying mmcv\onnx\simplify\common.py -> build\lib.win-amd64-cpython-37\mmcv\onnx\simplify copying mmcv\onnx\simplify\core.py -> build\lib.win-amd64-cpython-37\mmcv\onnx\simplify copying mmcv\onnx\simplify\init__.py -> build\lib.win-amd64-cpython-37\mmcv\onnx\simplify creating build\lib.win-amd64-cpython-37\mmcv\runner\hooks copying mmcv\runner\hooks\checkpoint.py -> build\lib.win-amd64-cpython-37\mmcv\runner\hooks copying mmcv\runner\hooks\closure.py -> build\lib.win-amd64-cpython-37\mmcv\runner\hooks copying mmcv\runner\hooks\ema.py -> build\lib.win-amd64-cpython-37\mmcv\runner\hooks copying mmcv\runner\hooks\hook.py -> build\lib.win-amd64-cpython-37\mmcv\runner\hooks copying mmcv\runner\hooks\iter_timer.py -> build\lib.win-amd64-cpython-37\mmcv\runner\hooks copying mmcv\runner\hooks\lr_updater.py -> build\lib.win-amd64-cpython-37\mmcv\runner\hooks copying mmcv\runner\hooks\memory.py -> build\lib.win-amd64-cpython-37\mmcv\runner\hooks copying mmcv\runner\hooks\momentum_updater.py -> build\lib.win-amd64-cpython-37\mmcv\runner\hooks copying mmcv\runner\hooks\optimizer.py -> build\lib.win-amd64-cpython-37\mmcv\runner\hooks copying mmcv\runner\hooks\sampler_seed.py -> build\lib.win-amd64-cpython-37\mmcv\runner\hooks copying mmcv\runner\hooks\sync_buffer.py -> build\lib.win-amd64-cpython-37\mmcv\runner\hooks copying mmcv\runner\hooks\init__.py -> build\lib.win-amd64-cpython-37\mmcv\runner\hooks creating build\lib.win-amd64-cpython-37\mmcv\runner\optimizer copying mmcv\runner\optimizer\builder.py -> build\lib.win-amd64-cpython-37\mmcv\runner\optimizer copying mmcv\runner\optimizer\default_constructor.py -> build\lib.win-amd64-cpython-37\mmcv\runner\optimizer copying mmcv\runner\optimizer\init.py -> build\lib.win-amd64-cpython-37\mmcv\runner\optimizer creating build\lib.win-amd64-cpython-37\mmcv\runner\hooks\logger copying mmcv\runner\hooks\logger\base.py -> build\lib.win-amd64-cpython-37\mmcv\runner\hooks\logger copying mmcv\runner\hooks\logger\mlflow.py -> build\lib.win-amd64-cpython-37\mmcv\runner\hooks\logger copying mmcv\runner\hooks\logger\pavi.py -> build\lib.win-amd64-cpython-37\mmcv\runner\hooks\logger copying mmcv\runner\hooks\logger\tensorboard.py -> build\lib.win-amd64-cpython-37\mmcv\runner\hooks\logger copying mmcv\runner\hooks\logger\text.py -> build\lib.win-amd64-cpython-37\mmcv\runner\hooks\logger copying mmcv\runner\hooks\logger\wandb.py -> build\lib.win-amd64-cpython-37\mmcv\runner\hooks\logger copying mmcv\runner\hooks\logger\init__.py -> build\lib.win-amd64-cpython-37\mmcv\runner\hooks\logger running egg_info writing mmcv_full.egg-info\PKG-INFO writing dependency_links to mmcv_full.egg-info\dependency_links.txt writing requirements to mmcv_full.egg-info\requires.txt writing top-level names to mmcv_full.egg-info\top_level.txt reading manifest file 'mmcv_full.egg-info\SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'mmcv_full.egg-info\SOURCES.txt' E:\Program Files (x86)\Anaconda3\envs\pytorch\lib\site-packages\setuptools\command\build_py.py:202: SetuptoolsDeprecationWarning: Installing 'mmcv.model_zoo' as data is deprecated, please list it in packages. !!

      ############################
      # Package would be ignored #
      ############################
      Python recognizes 'mmcv.model_zoo' as an importable package,
      but it is not listed in the `packages` configuration of setuptools.

      'mmcv.model_zoo' has been automatically added to the distribution only
      because it may contain data files, but this behavior is likely to change
      in future versions of setuptools (and therefore is considered deprecated).

      Please make sure that 'mmcv.model_zoo' is included as a package by using
      the `packages` configuration field or the proper discovery methods
      (for example by using `find_namespace_packages(...)`/`find_namespace:`
      instead of `find_packages(...)`/`find:`).

      You can read more about "package discovery" and "data files" on setuptools
      documentation page.

  !!

    check.warn(importable)
  E:\Program Files (x86)\Anaconda3\envs\pytorch\lib\site-packages\setuptools\command\build_py.py:202: SetuptoolsDeprecationWarning:     Installing 'mmcv.ops.csrc' as data is deprecated, please list it in `packages`.
      !!

      ############################
      # Package would be ignored #
      ############################
      Python recognizes 'mmcv.ops.csrc' as an importable package,
      but it is not listed in the `packages` configuration of setuptools.

      'mmcv.ops.csrc' has been automatically added to the distribution only
      because it may contain data files, but this behavior is likely to change
      in future versions of setuptools (and therefore is considered deprecated).

      Please make sure that 'mmcv.ops.csrc' is included as a package by using
      the `packages` configuration field or the proper discovery methods
      (for example by using `find_namespace_packages(...)`/`find_namespace:`
      instead of `find_packages(...)`/`find:`).

      You can read more about "package discovery" and "data files" on setuptools
      documentation page.

  !!

    check.warn(importable)
  E:\Program Files (x86)\Anaconda3\envs\pytorch\lib\site-packages\setuptools\command\build_py.py:202: SetuptoolsDeprecationWarning:     Installing 'mmcv.ops.csrc.parrots' as data is deprecated, please list it in `packages`.
      !!

      ############################
      # Package would be ignored #
      ############################
      Python recognizes 'mmcv.ops.csrc.parrots' as an importable package,
      but it is not listed in the `packages` configuration of setuptools.

      'mmcv.ops.csrc.parrots' has been automatically added to the distribution only
      because it may contain data files, but this behavior is likely to change
      in future versions of setuptools (and therefore is considered deprecated).

      Please make sure that 'mmcv.ops.csrc.parrots' is included as a package by using
      the `packages` configuration field or the proper discovery methods
      (for example by using `find_namespace_packages(...)`/`find_namespace:`
      instead of `find_packages(...)`/`find:`).

      You can read more about "package discovery" and "data files" on setuptools
      documentation page.

  !!

    check.warn(importable)
  E:\Program Files (x86)\Anaconda3\envs\pytorch\lib\site-packages\setuptools\command\build_py.py:202: SetuptoolsDeprecationWarning:     Installing 'mmcv.ops.csrc.pytorch' as data is deprecated, please list it in `packages`.
      !!

      ############################
      # Package would be ignored #
      ############################
      Python recognizes 'mmcv.ops.csrc.pytorch' as an importable package,
      but it is not listed in the `packages` configuration of setuptools.

      'mmcv.ops.csrc.pytorch' has been automatically added to the distribution only
      because it may contain data files, but this behavior is likely to change
      in future versions of setuptools (and therefore is considered deprecated).

      Please make sure that 'mmcv.ops.csrc.pytorch' is included as a package by using
      the `packages` configuration field or the proper discovery methods
      (for example by using `find_namespace_packages(...)`/`find_namespace:`
      instead of `find_packages(...)`/`find:`).

      You can read more about "package discovery" and "data files" on setuptools
      documentation page.

  !!

    check.warn(importable)
  creating build\lib.win-amd64-cpython-37\mmcv\model_zoo
  copying mmcv\model_zoo\deprecated.json -> build\lib.win-amd64-cpython-37\mmcv\model_zoo
  copying mmcv\model_zoo\mmcls.json -> build\lib.win-amd64-cpython-37\mmcv\model_zoo
  copying mmcv\model_zoo\open_mmlab.json -> build\lib.win-amd64-cpython-37\mmcv\model_zoo
  creating build\lib.win-amd64-cpython-37\mmcv\ops\csrc
  copying mmcv\ops\csrc\bbox_overlaps_cuda_kernel.cuh -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc
  copying mmcv\ops\csrc\box_iou_rotated_cuda.cuh -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc
  copying mmcv\ops\csrc\box_iou_rotated_utils.hpp -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc
  copying mmcv\ops\csrc\carafe_cuda_kernel.cuh -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc
  copying mmcv\ops\csrc\carafe_naive_cuda_kernel.cuh -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc
  copying mmcv\ops\csrc\cc_attention_cuda_kernel.cuh -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc
  copying mmcv\ops\csrc\common_cuda_helper.hpp -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc
  copying mmcv\ops\csrc\deform_conv_cuda_kernel.cuh -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc
  copying mmcv\ops\csrc\deform_roi_pool_cuda_kernel.cuh -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc
  copying mmcv\ops\csrc\masked_conv2d_cuda_kernel.cuh -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc
  copying mmcv\ops\csrc\modulated_deform_conv_cuda_kernel.cuh -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc
  copying mmcv\ops\csrc\nms_cuda_kernel.cuh -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc
  copying mmcv\ops\csrc\nms_rotated_cuda.cuh -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc
  copying mmcv\ops\csrc\parrots_cpp_helper.hpp -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc
  copying mmcv\ops\csrc\parrots_cuda_helper.hpp -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc
  copying mmcv\ops\csrc\parrots_cudawarpfunction.cuh -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc
  copying mmcv\ops\csrc\psamask_cuda_kernel.cuh -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc
  copying mmcv\ops\csrc\pytorch_cpp_helper.hpp -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc
  copying mmcv\ops\csrc\pytorch_cuda_helper.hpp -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc
  copying mmcv\ops\csrc\roi_align_cuda_kernel.cuh -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc
  copying mmcv\ops\csrc\roi_pool_cuda_kernel.cuh -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc
  copying mmcv\ops\csrc\sigmoid_focal_loss_cuda_kernel.cuh -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc
  copying mmcv\ops\csrc\softmax_focal_loss_cuda_kernel.cuh -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc
  copying mmcv\ops\csrc\sync_bn_cuda_kernel.cuh -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc
  copying mmcv\ops\csrc\tin_shift_cuda_kernel.cuh -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc
  creating build\lib.win-amd64-cpython-37\mmcv\ops\csrc\parrots
  copying mmcv\ops\csrc\parrots\bbox_overlaps.cpp -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\parrots
  copying mmcv\ops\csrc\parrots\bbox_overlaps_cuda.cu -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\parrots
  copying mmcv\ops\csrc\parrots\box_iou_rotated.cpp -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\parrots
  copying mmcv\ops\csrc\parrots\box_iou_rotated_cpu.cpp -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\parrots
  copying mmcv\ops\csrc\parrots\box_iou_rotated_cuda.cu -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\parrots
  copying mmcv\ops\csrc\parrots\carafe.cpp -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\parrots
  copying mmcv\ops\csrc\parrots\carafe_cuda.cu -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\parrots
  copying mmcv\ops\csrc\parrots\carafe_naive.cpp -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\parrots
  copying mmcv\ops\csrc\parrots\carafe_naive_cuda.cu -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\parrots
  copying mmcv\ops\csrc\parrots\cc_attention.cpp -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\parrots
  copying mmcv\ops\csrc\parrots\cc_attention_cuda_kernel.cu -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\parrots
  copying mmcv\ops\csrc\parrots\corner_pool.cpp -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\parrots
  copying mmcv\ops\csrc\parrots\deform_conv.cpp -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\parrots
  copying mmcv\ops\csrc\parrots\deform_conv_cuda.cu -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\parrots
  copying mmcv\ops\csrc\parrots\deform_roi_pool.cpp -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\parrots
  copying mmcv\ops\csrc\parrots\deform_roi_pool_cuda.cu -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\parrots
  copying mmcv\ops\csrc\parrots\focal_loss.cpp -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\parrots
  copying mmcv\ops\csrc\parrots\focal_loss_cuda.cu -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\parrots
  copying mmcv\ops\csrc\parrots\masked_conv2d.cpp -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\parrots
  copying mmcv\ops\csrc\parrots\masked_conv2d_cuda.cu -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\parrots
  copying mmcv\ops\csrc\parrots\modulated_deform_conv.cpp -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\parrots
  copying mmcv\ops\csrc\parrots\modulated_deform_conv_cuda.cu -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\parrots
  copying mmcv\ops\csrc\parrots\nms.cpp -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\parrots
  copying mmcv\ops\csrc\parrots\nms_cuda.cu -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\parrots
  copying mmcv\ops\csrc\parrots\nms_rotated.cpp -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\parrots
  copying mmcv\ops\csrc\parrots\nms_rotated_cuda.cu -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\parrots
  copying mmcv\ops\csrc\parrots\parrots_cpp_helper.cpp -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\parrots
  copying mmcv\ops\csrc\parrots\parrots_cuda_helper.cu -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\parrots
  copying mmcv\ops\csrc\parrots\psamask.cpp -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\parrots
  copying mmcv\ops\csrc\parrots\psamask_cuda.cu -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\parrots
  copying mmcv\ops\csrc\parrots\roi_align.cpp -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\parrots
  copying mmcv\ops\csrc\parrots\roi_align_cpu.cpp -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\parrots
  copying mmcv\ops\csrc\parrots\roi_align_cuda.cu -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\parrots
  copying mmcv\ops\csrc\parrots\roi_pool.cpp -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\parrots
  copying mmcv\ops\csrc\parrots\roi_pool_cuda.cu -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\parrots
  copying mmcv\ops\csrc\parrots\sync_bn.cpp -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\parrots
  copying mmcv\ops\csrc\parrots\sync_bn_cuda.cu -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\parrots
  copying mmcv\ops\csrc\parrots\tin_shift.cpp -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\parrots
  copying mmcv\ops\csrc\parrots\tin_shift_cuda.cu -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\parrots
  creating build\lib.win-amd64-cpython-37\mmcv\ops\csrc\pytorch
  copying mmcv\ops\csrc\pytorch\bbox_overlaps.cpp -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\pytorch
  copying mmcv\ops\csrc\pytorch\bbox_overlaps_cuda.cu -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\pytorch
  copying mmcv\ops\csrc\pytorch\box_iou_rotated.cpp -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\pytorch
  copying mmcv\ops\csrc\pytorch\box_iou_rotated_cpu.cpp -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\pytorch
  copying mmcv\ops\csrc\pytorch\box_iou_rotated_cuda.cu -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\pytorch
  copying mmcv\ops\csrc\pytorch\carafe.cpp -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\pytorch
  copying mmcv\ops\csrc\pytorch\carafe_cuda.cu -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\pytorch
  copying mmcv\ops\csrc\pytorch\carafe_naive.cpp -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\pytorch
  copying mmcv\ops\csrc\pytorch\carafe_naive_cuda.cu -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\pytorch
  copying mmcv\ops\csrc\pytorch\cc_attention.cpp -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\pytorch
  copying mmcv\ops\csrc\pytorch\cc_attention_cuda.cu -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\pytorch
  copying mmcv\ops\csrc\pytorch\corner_pool.cpp -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\pytorch
  copying mmcv\ops\csrc\pytorch\deform_conv.cpp -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\pytorch
  copying mmcv\ops\csrc\pytorch\deform_conv_cuda.cu -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\pytorch
  copying mmcv\ops\csrc\pytorch\deform_roi_pool.cpp -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\pytorch
  copying mmcv\ops\csrc\pytorch\deform_roi_pool_cuda.cu -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\pytorch
  copying mmcv\ops\csrc\pytorch\focal_loss.cpp -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\pytorch
  copying mmcv\ops\csrc\pytorch\focal_loss_cuda.cu -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\pytorch
  copying mmcv\ops\csrc\pytorch\info.cpp -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\pytorch
  copying mmcv\ops\csrc\pytorch\masked_conv2d.cpp -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\pytorch
  copying mmcv\ops\csrc\pytorch\masked_conv2d_cuda.cu -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\pytorch
  copying mmcv\ops\csrc\pytorch\modulated_deform_conv.cpp -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\pytorch
  copying mmcv\ops\csrc\pytorch\modulated_deform_conv_cuda.cu -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\pytorch
  copying mmcv\ops\csrc\pytorch\nms.cpp -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\pytorch
  copying mmcv\ops\csrc\pytorch\nms_cuda.cu -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\pytorch
  copying mmcv\ops\csrc\pytorch\nms_rotated.cpp -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\pytorch
  copying mmcv\ops\csrc\pytorch\nms_rotated_cpu.cpp -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\pytorch
  copying mmcv\ops\csrc\pytorch\nms_rotated_cuda.cu -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\pytorch
  copying mmcv\ops\csrc\pytorch\psamask.cpp -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\pytorch
  copying mmcv\ops\csrc\pytorch\psamask_cuda.cu -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\pytorch
  copying mmcv\ops\csrc\pytorch\pybind.cpp -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\pytorch
  copying mmcv\ops\csrc\pytorch\roi_align.cpp -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\pytorch
  copying mmcv\ops\csrc\pytorch\roi_align_cpu.cpp -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\pytorch
  copying mmcv\ops\csrc\pytorch\roi_align_cuda.cu -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\pytorch
  copying mmcv\ops\csrc\pytorch\roi_pool.cpp -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\pytorch
  copying mmcv\ops\csrc\pytorch\roi_pool_cuda.cu -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\pytorch
  copying mmcv\ops\csrc\pytorch\sync_bn.cpp -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\pytorch
  copying mmcv\ops\csrc\pytorch\sync_bn_cuda.cu -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\pytorch
  copying mmcv\ops\csrc\pytorch\tin_shift.cpp -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\pytorch
  copying mmcv\ops\csrc\pytorch\tin_shift_cuda.cu -> build\lib.win-amd64-cpython-37\mmcv\ops\csrc\pytorch
  running build_ext
  E:\Program Files (x86)\Anaconda3\envs\pytorch\lib\site-packages\torch\utils\cpp_extension.py:274: UserWarning: Error checking compiler version for cl: [WinError 2] 系统找不到指定的文件。
    warnings.warn('Error checking compiler version for {}: {}'.format(compiler, error))
  building 'mmcv._ext' extension
  creating C:\Users\14419\AppData\Local\Temp\pip-install-e8fv_15c\mmcv-full_4fc476a750d94d4b91340bbe15e18ee3\build\temp.win-amd64-cpython-37
  creating C:\Users\14419\AppData\Local\Temp\pip-install-e8fv_15c\mmcv-full_4fc476a750d94d4b91340bbe15e18ee3\build\temp.win-amd64-cpython-37\Release
  creating C:\Users\14419\AppData\Local\Temp\pip-install-e8fv_15c\mmcv-full_4fc476a750d94d4b91340bbe15e18ee3\build\temp.win-amd64-cpython-37\Release\mmcv
  creating C:\Users\14419\AppData\Local\Temp\pip-install-e8fv_15c\mmcv-full_4fc476a750d94d4b91340bbe15e18ee3\build\temp.win-amd64-cpython-37\Release\mmcv\ops
  creating C:\Users\14419\AppData\Local\Temp\pip-install-e8fv_15c\mmcv-full_4fc476a750d94d4b91340bbe15e18ee3\build\temp.win-amd64-cpython-37\Release\mmcv\ops\csrc
  creating C:\Users\14419\AppData\Local\Temp\pip-install-e8fv_15c\mmcv-full_4fc476a750d94d4b91340bbe15e18ee3\build\temp.win-amd64-cpython-37\Release\mmcv\ops\csrc\pytorch
  Traceback (most recent call last):
    File "<string>", line 36, in <module>
    File "<pip-setuptools-caller>", line 34, in <module>
    File "C:\Users\14419\AppData\Local\Temp\pip-install-e8fv_15c\mmcv-full_4fc476a750d94d4b91340bbe15e18ee3\setup.py", line 304, in <module>
      zip_safe=False)
    File "E:\Program Files (x86)\Anaconda3\envs\pytorch\lib\site-packages\setuptools\__init__.py", line 87, in setup
      return distutils.core.setup(**attrs)
    File "E:\Program Files (x86)\Anaconda3\envs\pytorch\lib\site-packages\setuptools\_distutils\core.py", line 185, in setup
      return run_commands(dist)
    File "E:\Program Files (x86)\Anaconda3\envs\pytorch\lib\site-packages\setuptools\_distutils\core.py", line 201, in run_commands
      dist.run_commands()
    File "E:\Program Files (x86)\Anaconda3\envs\pytorch\lib\site-packages\setuptools\_distutils\dist.py", line 968, in run_commands
      self.run_command(cmd)
    File "E:\Program Files (x86)\Anaconda3\envs\pytorch\lib\site-packages\setuptools\dist.py", line 1217, in run_command
      super().run_command(command)
    File "E:\Program Files (x86)\Anaconda3\envs\pytorch\lib\site-packages\setuptools\_distutils\dist.py", line 987, in run_command
      cmd_obj.run()
    File "E:\Program Files (x86)\Anaconda3\envs\pytorch\lib\site-packages\setuptools\command\install.py", line 68, in run
      return orig.install.run(self)
    File "E:\Program Files (x86)\Anaconda3\envs\pytorch\lib\site-packages\setuptools\_distutils\command\install.py", line 698, in run
      self.run_command('build')
    File "E:\Program Files (x86)\Anaconda3\envs\pytorch\lib\site-packages\setuptools\_distutils\cmd.py", line 319, in run_command
      self.distribution.run_command(command)
    File "E:\Program Files (x86)\Anaconda3\envs\pytorch\lib\site-packages\setuptools\dist.py", line 1217, in run_command
      super().run_command(command)
    File "E:\Program Files (x86)\Anaconda3\envs\pytorch\lib\site-packages\setuptools\_distutils\dist.py", line 987, in run_command
      cmd_obj.run()
    File "E:\Program Files (x86)\Anaconda3\envs\pytorch\lib\site-packages\setuptools\_distutils\command\build.py", line 132, in run
      self.run_command(cmd_name)
    File "E:\Program Files (x86)\Anaconda3\envs\pytorch\lib\site-packages\setuptools\_distutils\cmd.py", line 319, in run_command
      self.distribution.run_command(command)
    File "E:\Program Files (x86)\Anaconda3\envs\pytorch\lib\site-packages\setuptools\dist.py", line 1217, in run_command
      super().run_command(command)
    File "E:\Program Files (x86)\Anaconda3\envs\pytorch\lib\site-packages\setuptools\_distutils\dist.py", line 987, in run_command
      cmd_obj.run()
    File "E:\Program Files (x86)\Anaconda3\envs\pytorch\lib\site-packages\setuptools\command\build_ext.py", line 84, in run
      _build_ext.run(self)
    File "E:\Program Files (x86)\Anaconda3\envs\pytorch\lib\site-packages\Cython\Distutils\old_build_ext.py", line 186, in run
      _build_ext.build_ext.run(self)
    File "E:\Program Files (x86)\Anaconda3\envs\pytorch\lib\site-packages\setuptools\_distutils\command\build_ext.py", line 346, in run
      self.build_extensions()
    File "E:\Program Files (x86)\Anaconda3\envs\pytorch\lib\site-packages\torch\utils\cpp_extension.py", line 653, in build_extensions
      build_ext.build_extensions(self)
    File "E:\Program Files (x86)\Anaconda3\envs\pytorch\lib\site-packages\Cython\Distutils\old_build_ext.py", line 195, in build_extensions
      _build_ext.build_ext.build_extensions(self)
    File "E:\Program Files (x86)\Anaconda3\envs\pytorch\lib\site-packages\setuptools\_distutils\command\build_ext.py", line 466, in build_extensions
      self._build_extensions_serial()
    File "E:\Program Files (x86)\Anaconda3\envs\pytorch\lib\site-packages\setuptools\_distutils\command\build_ext.py", line 492, in _build_extensions_serial
      self.build_extension(ext)
    File "E:\Program Files (x86)\Anaconda3\envs\pytorch\lib\site-packages\setuptools\command\build_ext.py", line 246, in build_extension
      _build_ext.build_extension(self, ext)
    File "E:\Program Files (x86)\Anaconda3\envs\pytorch\lib\site-packages\setuptools\_distutils\command\build_ext.py", line 554, in build_extension
      depends=ext.depends,
    File "E:\Program Files (x86)\Anaconda3\envs\pytorch\lib\site-packages\torch\utils\cpp_extension.py", line 619, in win_wrap_ninja_compile
      from distutils.spawn import _nt_quote_args  # type: ignore
  ImportError: cannot import name '_nt_quote_args' from 'distutils.spawn' (E:\Program Files (x86)\Anaconda3\envs\pytorch\lib\site-packages\setuptools\_distutils\spawn.py)
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. error: legacy-install-failure

× Encountered error while trying to install package. ╰─> mmcv-full

note: This is an issue with the package mentioned above, not pip. hint: See above for output from the failure.