XuyangBai / TransFusion

[PyTorch] Official implementation of CVPR2022 paper "TransFusion: Robust LiDAR-Camera Fusion for 3D Object Detection with Transformers". https://arxiv.org/abs/2203.11496
Apache License 2.0
619 stars 76 forks source link

Error: subprocess-exited-with-error during setup.py develop for mmdet3d #47

Closed ytan101 closed 2 years ago

ytan101 commented 2 years ago

Thanks for your error report and we appreciate it a lot.

Checklist

  1. I have searched related issues but cannot get the expected help.
  2. The bug has not been fixed in the latest version.

Describe the bug Whenever I run pip install -e . in the repo, I get error: subprocess-exited-with-error. I am using CUDA 10.1

Installing collected packages: mmdet3d
  Running setup.py develop for mmdet3d
    error: subprocess-exited-with-error

    × python setup.py develop did not run successfully.
    │ exit code: 1
    ╰─> [7 lines of output]
        running develop
        running egg_info
        /opt/conda/envs/mmdet_38/lib/python3.8/site-packages/setuptools/command/easy_install.py:144: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools.
          warnings.warn(
        /opt/conda/envs/mmdet_38/lib/python3.8/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
          warnings.warn(
        error: [Errno 13] Permission denied
        [end of output]

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

× python setup.py develop did not run successfully.
│ exit code: 1
╰─> [7 lines of output]
    running develop
    running egg_info
    /opt/conda/envs/mmdet_38/lib/python3.8/site-packages/setuptools/command/easy_install.py:144: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools.
      warnings.warn(
    /opt/conda/envs/mmdet_38/lib/python3.8/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
      warnings.warn(
    error: [Errno 13] Permission denied
    [end of output]

Reproduction

  1. What command or script did you run?

    pip install -e .

    Environment

  2. Please run python mmdet3d/utils/collect_env.py to collect necessary environment infomation and paste it here. Unable to run as I cannot install the repo

  3. You may add addition that may be helpful for locating the problem, such as

    • How you installed PyTorch [e.g., pip, conda, source]
    • conda install pytorch==1.6.0 torchvision==0.7.0 cudatoolkit=10.1 -c pytorch
    • Other environment variables that may be related (such as $PATH, $LD_LIBRARY_PATH, $PYTHONPATH, etc.)

Bug fix If you have already identified the reason, you can provide the information here. If you are willing to create a PR to fix it, please also leave a comment here and that would be much appreciated!

ytan101 commented 2 years ago

This was an issue with my ubuntu permissions. I had cloned the TransFusion repo with root user and attempted to install it with another user leading to conflicts with the permissions. To solve this, I deleted the repo and cloned it again (with my own user this time).

pupu-chenyanyan commented 10 months ago

Hi,I also encounter the problem when i run pip install -v -e . in transfusion fold. Can you give me some guidance? Thanks! Screenshot from 2023-11-12 16-49-07 Screenshot from 2023-11-12 16-53-12 @ytan101 @XuyangBai