When starting the Web UI, the install.py script reads requirements.txt. If a package version uses ">", it is treated as a redirection in pip install, creating an unintended file.
Steps to Reproduce
Running webui.bat or webui.sh creates a file named "=4.8.0" due to "opencv-python>=4.8.0" in requirements.txt being misinterpreted.
Fix
I enclosed the package and version specification in double quotes in install.py.
Problem Summary
When starting the Web UI, the
install.py
script readsrequirements.txt
. If a package version uses ">", it is treated as a redirection inpip install
, creating an unintended file.Steps to Reproduce
Running
webui.bat
orwebui.sh
creates a file named "=4.8.0" due to "opencv-python>=4.8.0" inrequirements.txt
being misinterpreted.Fix
I enclosed the package and version specification in double quotes in
install.py
.