You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ pip install git+https://github.com/open-mmlab/mmdetection.git
Collecting git+https://github.com/open-mmlab/mmdetection.git
Cloning https://github.com/open-mmlab/mmdetection.git to c:\users\sshre34\appdata\local\temp\pip-req-build-gmxamwua
Running command git clone --filter=blob:none --quiet https://github.com/open-mmlab/mmdetection.git 'C:\Users\sshre34\AppData\Local\Temp\pip-req-build-gmxamwua'
Resolved https://github.com/open-mmlab/mmdetection.git to commit 94afcdc6aa1e2c849c9d8334ec7730bb52b17922
Preparing metadata (setup.py) ... done
Requirement already satisfied: matplotlib in c:\users\sshre34\anaconda3\envs\mvp\lib\site-packages (from mmdet==2.27.0) (3.5.3)
Requirement already satisfied: numpy in c:\users\sshre34\anaconda3\envs\mvp\lib\site-packages (from mmdet==2.27.0) (1.21.5)
Collecting pycocotools
Using cached pycocotools-2.0.6.tar.gz (24 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Requirement already satisfied: scipy in c:\users\sshre34\anaconda3\envs\mvp\lib\site-packages (from mmdet==2.27.0) (1.7.3)
Requirement already satisfied: six in c:\users\sshre34\anaconda3\envs\mvp\lib\site-packages (from mmdet==2.27.0) (1.16.0)
Collecting terminaltables
Using cached terminaltables-3.1.10-py2.py3-none-any.whl (15 kB)
Requirement already satisfied: python-dateutil>=2.7 in c:\users\sshre34\anaconda3\envs\mvp\lib\site-packages (from matplotlib->mmdet==2.27.0) (2.8.2)
Requirement already satisfied: pillow>=6.2.0 in c:\users\sshre34\anaconda3\envs\mvp\lib\site-packages (from matplotlib->mmdet==2.27.0) (9.3.0)
Requirement already satisfied: fonttools>=4.22.0 in c:\users\sshre34\anaconda3\envs\mvp\lib\site-packages (from matplotlib->mmdet==2.27.0) (4.38.0)
Requirement already satisfied: packaging>=20.0 in c:\users\sshre34\anaconda3\envs\mvp\lib\site-packages (from matplotlib->mmdet==2.27.0) (22.0)
Requirement already satisfied: kiwisolver>=1.0.1 in c:\users\sshre34\anaconda3\envs\mvp\lib\site-packages (from matplotlib->mmdet==2.27.0) (1.4.4)
Requirement already satisfied: cycler>=0.10 in c:\users\sshre34\anaconda3\envs\mvp\lib\site-packages (from matplotlib->mmdet==2.27.0) (0.11.0)
Requirement already satisfied: pyparsing>=2.2.1 in c:\users\sshre34\anaconda3\envs\mvp\lib\site-packages (from matplotlib->mmdet==2.27.0) (3.0.9)
Requirement already satisfied: typing-extensions in c:\users\sshre34\anaconda3\envs\mvp\lib\site-packages (from kiwisolver>=1.0.1->matplotlib->mmdet==2.27.0) (4.4.0)
Building wheels for collected packages: mmdet, pycocotools
Building wheel for mmdet (setup.py) ... done
Created wheel for mmdet: filename=mmdet-2.27.0-py3-none-any.whl size=1468682 sha256=ee7389458986d8bcfb5c5f486cee48393c239c2200caf362b0b4d31e5a6348ff
Stored in directory: C:\Users\sshre34\AppData\Local\Temp\pip-ephem-wheel-cache-iu2x_jfa\wheels\8d\1d\4c\5ba147e9294578f513772158a509161804e08d1b5f62e95705
Building wheel for pycocotools (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for pycocotools (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [16 lines of output]
running bdist_wheel
running build
running build_py
creating build
creating build\lib.win-amd64-cpython-37
creating build\lib.win-amd64-cpython-37\pycocotools
copying pycocotools\coco.py -> build\lib.win-amd64-cpython-37\pycocotools
copying pycocotools\cocoeval.py -> build\lib.win-amd64-cpython-37\pycocotools
copying pycocotools\mask.py -> build\lib.win-amd64-cpython-37\pycocotools
copying pycocotools_init_.py -> build\lib.win-amd64-cpython-37\pycocotools
running build_ext
cythoning pycocotools/_mask.pyx to pycocotools_mask.c
building 'pycocotools._mask' extension
C:\Users\sshre34\AppData\Local\Temp\pip-build-env-02b_xbrm\overlay\Lib\site-packages\Cython\Compiler\Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: C:\Users\sshre34\AppData\Local\Temp\pip-install-3k0didqo\pycocotools_c99855141cd14b4c944e7ec99dcb18aa\pycocotools_mask.pyx
tree = Parsing.p_module(s, pxd, full_module_name)
error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for pycocotools
Successfully built mmdet
Failed to build pycocotools
ERROR: Could not build wheels for pycocotools, which is required to install pyproject.toml-based projects
The text was updated successfully, but these errors were encountered:
While trying to run-> pip install git+https://github.com/open-mmlab/mmdetection.git
in the mm3d_pn2 directory, I am getting the following error, how can i fix this?
$ pip install git+https://github.com/open-mmlab/mmdetection.git
Collecting git+https://github.com/open-mmlab/mmdetection.git
Cloning https://github.com/open-mmlab/mmdetection.git to c:\users\sshre34\appdata\local\temp\pip-req-build-gmxamwua
Running command git clone --filter=blob:none --quiet https://github.com/open-mmlab/mmdetection.git 'C:\Users\sshre34\AppData\Local\Temp\pip-req-build-gmxamwua'
Resolved https://github.com/open-mmlab/mmdetection.git to commit 94afcdc6aa1e2c849c9d8334ec7730bb52b17922
Preparing metadata (setup.py) ... done
Requirement already satisfied: matplotlib in c:\users\sshre34\anaconda3\envs\mvp\lib\site-packages (from mmdet==2.27.0) (3.5.3)
Requirement already satisfied: numpy in c:\users\sshre34\anaconda3\envs\mvp\lib\site-packages (from mmdet==2.27.0) (1.21.5)
Collecting pycocotools
Using cached pycocotools-2.0.6.tar.gz (24 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Requirement already satisfied: scipy in c:\users\sshre34\anaconda3\envs\mvp\lib\site-packages (from mmdet==2.27.0) (1.7.3)
Requirement already satisfied: six in c:\users\sshre34\anaconda3\envs\mvp\lib\site-packages (from mmdet==2.27.0) (1.16.0)
Collecting terminaltables
Using cached terminaltables-3.1.10-py2.py3-none-any.whl (15 kB)
Requirement already satisfied: python-dateutil>=2.7 in c:\users\sshre34\anaconda3\envs\mvp\lib\site-packages (from matplotlib->mmdet==2.27.0) (2.8.2)
Requirement already satisfied: pillow>=6.2.0 in c:\users\sshre34\anaconda3\envs\mvp\lib\site-packages (from matplotlib->mmdet==2.27.0) (9.3.0)
Requirement already satisfied: fonttools>=4.22.0 in c:\users\sshre34\anaconda3\envs\mvp\lib\site-packages (from matplotlib->mmdet==2.27.0) (4.38.0)
Requirement already satisfied: packaging>=20.0 in c:\users\sshre34\anaconda3\envs\mvp\lib\site-packages (from matplotlib->mmdet==2.27.0) (22.0)
Requirement already satisfied: kiwisolver>=1.0.1 in c:\users\sshre34\anaconda3\envs\mvp\lib\site-packages (from matplotlib->mmdet==2.27.0) (1.4.4)
Requirement already satisfied: cycler>=0.10 in c:\users\sshre34\anaconda3\envs\mvp\lib\site-packages (from matplotlib->mmdet==2.27.0) (0.11.0)
Requirement already satisfied: pyparsing>=2.2.1 in c:\users\sshre34\anaconda3\envs\mvp\lib\site-packages (from matplotlib->mmdet==2.27.0) (3.0.9)
Requirement already satisfied: typing-extensions in c:\users\sshre34\anaconda3\envs\mvp\lib\site-packages (from kiwisolver>=1.0.1->matplotlib->mmdet==2.27.0) (4.4.0)
Building wheels for collected packages: mmdet, pycocotools
Building wheel for mmdet (setup.py) ... done
Created wheel for mmdet: filename=mmdet-2.27.0-py3-none-any.whl size=1468682 sha256=ee7389458986d8bcfb5c5f486cee48393c239c2200caf362b0b4d31e5a6348ff
Stored in directory: C:\Users\sshre34\AppData\Local\Temp\pip-ephem-wheel-cache-iu2x_jfa\wheels\8d\1d\4c\5ba147e9294578f513772158a509161804e08d1b5f62e95705
Building wheel for pycocotools (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for pycocotools (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [16 lines of output]
running bdist_wheel
running build
running build_py
creating build
creating build\lib.win-amd64-cpython-37
creating build\lib.win-amd64-cpython-37\pycocotools
copying pycocotools\coco.py -> build\lib.win-amd64-cpython-37\pycocotools
copying pycocotools\cocoeval.py -> build\lib.win-amd64-cpython-37\pycocotools
copying pycocotools\mask.py -> build\lib.win-amd64-cpython-37\pycocotools
copying pycocotools_init_.py -> build\lib.win-amd64-cpython-37\pycocotools
running build_ext
cythoning pycocotools/_mask.pyx to pycocotools_mask.c
building 'pycocotools._mask' extension
C:\Users\sshre34\AppData\Local\Temp\pip-build-env-02b_xbrm\overlay\Lib\site-packages\Cython\Compiler\Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: C:\Users\sshre34\AppData\Local\Temp\pip-install-3k0didqo\pycocotools_c99855141cd14b4c944e7ec99dcb18aa\pycocotools_mask.pyx
tree = Parsing.p_module(s, pxd, full_module_name)
error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for pycocotools
Successfully built mmdet
Failed to build pycocotools
ERROR: Could not build wheels for pycocotools, which is required to install pyproject.toml-based projects
The text was updated successfully, but these errors were encountered: