Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can anyone pls help with this error? #20

Open
xiohulp opened this issue Dec 16, 2023 · 1 comment
Open

can anyone pls help with this error? #20

xiohulp opened this issue Dec 16, 2023 · 1 comment
Assignees
Labels
question Further information is requested

Comments

@xiohulp
Copy link

xiohulp commented Dec 16, 2023

  "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.38.33130\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -IC:\Users\llpcx\AppData\Local\Temp\pip-install-nrfen3i0\detectron2_2c20f9532f7d4f15a2d3dfb350083550\detectron2\layers\csrc -IC:\Users\llpcx\anaconda3\Lib\site-packages\torch\include -IC:\Users\llpcx\anaconda3\Lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\llpcx\anaconda3\Lib\site-packages\torch\include\TH -IC:\Users\llpcx\anaconda3\Lib\site-packages\torch\include\THC -IC:\Users\llpcx\anaconda3\include -IC:\Users\llpcx\anaconda3\Include "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.38.33130\include" "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.38.33130\ATLMFC\include" "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\VS\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22621.0\\um" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22621.0\\shared" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22621.0\\winrt" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22621.0\\cppwinrt" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" /EHsc /TpC:\Users\llpcx\AppData\Local\Temp\pip-install-nrfen3i0\detectron2_2c20f9532f7d4f15a2d3dfb350083550\detectron2\layers\csrc\ROIAlignRotated\ROIAlignRotated_cpu.cpp /Fobuild\temp.win-amd64-cpython-311\Release\Users\llpcx\AppData\Local\Temp\pip-install-nrfen3i0\detectron2_2c20f9532f7d4f15a2d3dfb350083550\detectron2\layers\csrc\ROIAlignRotated\ROIAlignRotated_cpu.obj /MD /wd4819 /wd4251 /wd4244 /wd4267 /wd4275 /wd4018 /wd4190 /wd4624 /wd4067 /wd4068 /EHsc -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 /std:c++17
  ROIAlignRotated_cpu.cpp
  C:\Users\llpcx\AppData\Local\Temp\pip-install-nrfen3i0\detectron2_2c20f9532f7d4f15a2d3dfb350083550\detectron2\layers\csrc\ROIAlignRotated\ROIAlignRotated_cpu.cpp : fatal error C1083: 无法打开编译器生成的文件: “”: Invalid argument
  error: command 'C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.38.33130\\bin\\HostX86\\x64\\cl.exe' failed with exit code 1
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for detectron2
Running setup.py clean for detectron2
Successfully built detectron2-densepose
Failed to build detectron2
ERROR: Could not build wheels for detectron2, which is required to install pyproject.toml-based projects

@tadeodonegana
Copy link
Member

tadeodonegana commented Dec 26, 2023

Hello @xiohulp ,

Have you cloned the Detectron repository as it is shown in the third step of the installation process?

Also, please check #14, where I think this same issue is being discussed, but in a different language.

Please let me know. Any further details will be highly appreciated to help you solve this issue.

@tadeodonegana tadeodonegana self-assigned this Dec 26, 2023
@tadeodonegana tadeodonegana added the question Further information is requested label Dec 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants