Repository: stable-diffusion-webui
Issue: [Bug]: Adetailer
Labels: bug-report

### Checklist

- [ ] The issue exists after disabling all extensions
- [ ] The issue exists on a clean installation of webui
- [ ] The issue is caused by an extension, but I believe it is caused by a bug in the webui
- [ ] The issue exists in the current version of the webui
- [ ] The issue has not been reported before recently
- [ ] The issue has been reported before but has not been fixed yet

### What happened?

thon, ml-dtypes, mdurl, absl-py, markdown-it-py, jaxlib, CFFI, ultralytics-thop, sounddevice, seaborn, rich, jax, ultralytics, mediapipe
***   Attempting uninstall: protobuf
***     Found existing installation: protobuf 3.20.0
***     Uninstalling protobuf-3.20.0:
***       Successfully uninstalled protobuf-3.20.0
***
*** stderr: ERROR: Could not install packages due to an OSError: [WinError 5] Access is denied: 'D:\\Users\\matto\\Recovered decent stuff\\Desktop\\stable-diffusion-webui\\venv\\Lib\\site-packages\\cv2\\cv2.pyd'
*** Check the permissions.
***
***
*** [notice] A new release of pip available: 22.2.1 -> 24.1
*** [notice] To update, run: D:\Users\matto\Recovered decent stuff\Desktop\stable-diffusion-webui\venv\Scripts\python.exe -m pip install --upgrade pip
*** Traceback (most recent call last):
***   File "D:\Users\matto\Recovered decent stuff\Desktop\stable-diffusion-webui\extensions\adetailer\install.py", line 77, in <module>
***     install()
***   File "D:\Users\matto\Recovered decent stuff\Desktop\stable-diffusion-webui\extensions\adetailer\install.py", line 66, in install
***     run_pip(*pkgs)
***   File "D:\Users\matto\Recovered decent stuff\Desktop\stable-diffusion-webui\extensions\adetailer\install.py", line 41, in run_pip
***     subprocess.run([sys.executable, "-m", "pip", "install", *args], check=True)
***   File "C:\Users\matto\AppData\Local\Programs\Python\Python310\lib\subprocess.py", line 524, in run
***     raise CalledProcessError(retcode, process.args,
*** subprocess.CalledProcessError: Command '['D:\\Users\\matto\\Recovered decent stuff\\Desktop\\stable-diffusion-webui\\venv\\Scripts\\python.exe', '-m', 'pip', 'install', 'ultralytics>=8.2.0', 'mediapipe>=0.10.13', 'rich>=13.0.0']' returned non-zero exit status 1.


### Steps to reproduce the problem

download Adetailer

### What should have happened?

no error

### What browsers do you use to access the UI ?

_No response_

### Sysinfo

ui\venv\lib\site-packages (from jinja2->torch>=1.8.0->ultralytics>=8.2.0) (2.1.5)
*** Requirement already satisfied: mpmath<1.4.0,>=1.1.0 in d:\users\matto\recovered decent stuff\desktop\stable-diffusion-webui\venv\lib\site-packages (from sympy->torch>=1.8.0->ultralytics>=8.2.0) (1.3.0)
*** Installing collected packages: py-cpuinfo, flatbuffers, pygments, pycparser, protobuf, opt-einsum, opencv-contrib-python, ml-dtypes, mdurl, absl-py, markdown-it-py, jaxlib, CFFI, ultralytics-thop, sounddevice, seaborn, rich, jax, ultralytics, mediapipe
***   Attempting uninstall: protobuf
***     Found existing installation: protobuf 3.20.0
***     Uninstalling protobuf-3.20.0:
***       Successfully uninstalled protobuf-3.20.0
***
*** stderr: ERROR: Could not install packages due to an OSError: [WinError 5] Access is denied: 'D:\\Users\\matto\\Recovered decent stuff\\Desktop\\stable-diffusion-webui\\venv\\Lib\\site-packages\\cv2\\cv2.pyd'
*** Check the permissions.
***
***
*** [notice] A new release of pip available: 22.2.1 -> 24.1
*** [notice] To update, run: D:\Users\matto\Recovered decent stuff\Desktop\stable-diffusion-webui\venv\Scripts\python.exe -m pip install --upgrade pip
*** Traceback (most recent call last):
***   File "D:\Users\matto\Recovered decent stuff\Desktop\stable-diffusion-webui\extensions\adetailer\install.py", line 77, in <module>
***     install()
***   File "D:\Users\matto\Recovered decent stuff\Desktop\stable-diffusion-webui\extensions\adetailer\install.py", line 66, in install
***     run_pip(*pkgs)
***   File "D:\Users\matto\Recovered decent stuff\Desktop\stable-diffusion-webui\extensions\adetailer\install.py", line 41, in run_pip
***     subprocess.run([sys.executable, "-m", "pip", "install", *args], check=True)
***   File "C:\Users\matto\AppData\Local\Programs\Python\Python310\lib\subprocess.py", line 524, in run
***     raise CalledProcessError(retcode, process.args,
*** subprocess.CalledProcessError: Command '['D:\\Users\\matto\\Recovered decent stuff\\Desktop\\stable-diffusion-webui\\venv\\Scripts\\python.exe', '-m', 'pip', 'install', 'ultralytics>=8.2.0', 'mediapipe>=0.10.13', 'rich>=13.0.0']' returned non-zero exit status 1.


### Console logs

```Shell
ui\venv\lib\site-packages (from jinja2->torch>=1.8.0->ultralytics>=8.2.0) (2.1.5)
*** Requirement already satisfied: mpmath<1.4.0,>=1.1.0 in d:\users\matto\recovered decent stuff\desktop\stable-diffusion-webui\venv\lib\site-packages (from sympy->torch>=1.8.0->ultralytics>=8.2.0) (1.3.0)
*** Installing collected packages: py-cpuinfo, flatbuffers, pygments, pycparser, protobuf, opt-einsum, opencv-contrib-python, ml-dtypes, mdurl, absl-py, markdown-it-py, jaxlib, CFFI, ultralytics-thop, sounddevice, seaborn, rich, jax, ultralytics, mediapipe
***   Attempting uninstall: protobuf
***     Found existing installation: protobuf 3.20.0
***     Uninstalling protobuf-3.20.0:
***       Successfully uninstalled protobuf-3.20.0
***
*** stderr: ERROR: Could not install packages due to an OSError: [WinError 5] Access is denied: 'D:\\Users\\matto\\Recovered decent stuff\\Desktop\\stable-diffusion-webui\\venv\\Lib\\site-packages\\cv2\\cv2.pyd'
*** Check the permissions.
***
***
*** [notice] A new release of pip available: 22.2.1 -> 24.1
*** [notice] To update, run: D:\Users\matto\Recovered decent stuff\Desktop\stable-diffusion-webui\venv\Scripts\python.exe -m pip install --upgrade pip
*** Traceback (most recent call last):
***   File "D:\Users\matto\Recovered decent stuff\Desktop\stable-diffusion-webui\extensions\adetailer\install.py", line 77, in <module>
***     install()
***   File "D:\Users\matto\Recovered decent stuff\Desktop\stable-diffusion-webui\extensions\adetailer\install.py", line 66, in install
***     run_pip(*pkgs)
***   File "D:\Users\matto\Recovered decent stuff\Desktop\stable-diffusion-webui\extensions\adetailer\install.py", line 41, in run_pip
***     subprocess.run([sys.executable, "-m", "pip", "install", *args], check=True)
***   File "C:\Users\matto\AppData\Local\Programs\Python\Python310\lib\subprocess.py", line 524, in run
***     raise CalledProcessError(retcode, process.args,
*** subprocess.CalledProcessError: Command '['D:\\Users\\matto\\Recovered decent stuff\\Desktop\\stable-diffusion-webui\\venv\\Scripts\\python.exe', '-m', 'pip', 'install', 'ultralytics>=8.2.0', 'mediapipe>=0.10.13', 'rich>=13.0.0']' returned non-zero exit status 1.
```


### Additional information

ui\venv\lib\site-packages (from jinja2->torch>=1.8.0->ultralytics>=8.2.0) (2.1.5)
*** Requirement already satisfied: mpmath<1.4.0,>=1.1.0 in d:\users\matto\recovered decent stuff\desktop\stable-diffusion-webui\venv\lib\site-packages (from sympy->torch>=1.8.0->ultralytics>=8.2.0) (1.3.0)
*** Installing collected packages: py-cpuinfo, flatbuffers, pygments, pycparser, protobuf, opt-einsum, opencv-contrib-python, ml-dtypes, mdurl, absl-py, markdown-it-py, jaxlib, CFFI, ultralytics-thop, sounddevice, seaborn, rich, jax, ultralytics, mediapipe
***   Attempting uninstall: protobuf
***     Found existing installation: protobuf 3.20.0
***     Uninstalling protobuf-3.20.0:
***       Successfully uninstalled protobuf-3.20.0
***
*** stderr: ERROR: Could not install packages due to an OSError: [WinError 5] Access is denied: 'D:\\Users\\matto\\Recovered decent stuff\\Desktop\\stable-diffusion-webui\\venv\\Lib\\site-packages\\cv2\\cv2.pyd'
*** Check the permissions.
***
***
*** [notice] A new release of pip available: 22.2.1 -> 24.1
*** [notice] To update, run: D:\Users\matto\Recovered decent stuff\Desktop\stable-diffusion-webui\venv\Scripts\python.exe -m pip install --upgrade pip
*** Traceback (most recent call last):
***   File "D:\Users\matto\Recovered decent stuff\Desktop\stable-diffusion-webui\extensions\adetailer\install.py", line 77, in <module>
***     install()
***   File "D:\Users\matto\Recovered decent stuff\Desktop\stable-diffusion-webui\extensions\adetailer\install.py", line 66, in install
***     run_pip(*pkgs)
***   File "D:\Users\matto\Recovered decent stuff\Desktop\stable-diffusion-webui\extensions\adetailer\install.py", line 41, in run_pip
***     subprocess.run([sys.executable, "-m", "pip", "install", *args], check=True)
***   File "C:\Users\matto\AppData\Local\Programs\Python\Python310\lib\subprocess.py", line 524, in run
***     raise CalledProcessError(retcode, process.args,
*** subprocess.CalledProcessError: Command '['D:\\Users\\matto\\Recovered decent stuff\\Desktop\\stable-diffusion-webui\\venv\\Scripts\\python.exe', '-m', 'pip', 'install', 'ultralytics>=8.2.0', 'mediapipe>=0.10.13', 'rich>=13.0.0']' returned non-zero exit status 1.