Closed ghost closed 1 year ago
Same problem. Tried installing through the webUI. Attempted to do the manual install since it won't work automatically. I"m getting an error at mmdet install. Microsoft Visual C++ 14.0 is definitely met. I ran the command from within the v17 cli and it still won't work. Not sure what im doing wrong. Using Automatic1111's webui
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-310
creating build\lib.win-amd64-cpython-310\pycocotools
copying pycocotools\coco.py -> build\lib.win-amd64-cpython-310\pycocotools
copying pycocotools\cocoeval.py -> build\lib.win-amd64-cpython-310\pycocotools
copying pycocotools\mask.py -> build\lib.win-amd64-cpython-310\pycocotools
copying pycocotools\__init__.py -> build\lib.win-amd64-cpython-310\pycocotools
running build_ext
cythoning pycocotools/_mask.pyx to pycocotools\_mask.c
C:\Users\austi\AppData\Local\Temp\pip-build-env-ct5fkcg7\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\austi\AppData\Local\Temp\pip-install-rme30h8a\pycocotools_a688a17aeba44ed6990e2f1e74e4b9bf\pycocotools\_mask.pyx
tree = Parsing.p_module(s, pxd, full_module_name)
building 'pycocotools._mask' extension
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
Failed to build pycocotools
ERROR: Could not build wheels for pycocotools, which is required to install pyproject.toml-based projects
@zeoo01 Follow this post: https://learn.microsoft.com/en-us/answers/questions/136595/error-microsoft-visual-c-140-or-greater-is-require.html
I got mmdet to install finally by doing this. I overlooked the checkbox while installing prerequisites
so which one did you select? not sure what to press
@zeoo01 Follow this post: https://learn.microsoft.com/en-us/answers/questions/136595/error-microsoft-visual-c-140-or-greater-is-require.html
I got mmdet to install finally by doing this. I overlooked the checkbox while installing prerequisites
do you need to install all that? is that my internet is not so fast and I don't have so much space on my laptop
@zeoo01 it did not work unless I installed this.
@zeoo01 Follow this post: https://learn.microsoft.com/en-us/answers/questions/136595/error-microsoft-visual-c-140-or-greater-is-require.html I got mmdet to install finally by doing this. I overlooked the checkbox while installing prerequisites
do you need to install all that? is that my internet is not so fast and I don't have so much space on my laptop
Yes As far as I know you need that
An error
I can't post all the messages
"Error loading script: ddetailer.py Traceback (most recent call last): File "C:\stable-diffusion-webui\modules\scripts.py", line 171, in load_scripts exec(compiled, module.dict) File "C:\stable-diffusion-webui\extensions\ddetailer\scripts\ddetailer.py", line 61, in
startup()
File "C:\stable-diffusion-webui\extensions\ddetailer\scripts\ddetailer.py", line 50, in startup
run(f'"{python}" -m pip install mmdet', desc=f"Installing mmdet", errdesc=f"Couldn't install mmdet")
File "C:\stable-diffusion-webui\launch.py", line 34, in run
raise RuntimeError(message)
RuntimeError: Couldn't install mmdet.
.....
note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for pycocotools ERROR: Could not build wheels for pycocotools, which is required to install pyproject.toml-based projects"