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
What exact command you run: pip install -r requirements.txt
Full logs or other relevant observations:
objects = self.compiler.compile(
^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\mausz\AppData\Local\Programs\Python\Python311\Lib\site-packages\torch\utils\cpp_extension.py", line 842, in win_wrap_ninja_compile
_write_ninja_file_and_compile_objects(
File "C:\Users\mausz\AppData\Local\Programs\Python\Python311\Lib\site-packages\torch\utils\cpp_extension.py", line 1783, in _write_ninja_file_and_compile_objects
_run_ninja_build(
File "C:\Users\mausz\AppData\Local\Programs\Python\Python311\Lib\site-packages\torch\utils\cpp_extension.py", line 2123, in _run_ninja_build
raise RuntimeError(message) from e
RuntimeError: Error compiling objects for extension
[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
Failed to build detectron2
ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (detectron2)
Instructions To Reproduce the 🐛 Bug:
using a small requirements.txt
pip install -r requirements.txt
I added full logs via attachment: logs.txt
But if I install it via command line:
python -m pip install git+https://github.com/facebookresearch/detectron2.git
it works fine without any issue.
Environment:
I am using Windows and so I do not have wget here - any alternative?
If your issue looks like an installation issue / environment issue,
please first try to solve it yourself with the instructions in
https://detectron2.readthedocs.io/tutorials/install.html#common-installation-issues
I have checked that list already.
Thank you.
The text was updated successfully, but these errors were encountered: