mirror of
https://github.com/fumiama/Retrieval-based-Voice-Conversion-WebUI.git
synced 2026-06-05 09:10:25 +08:00
fix: Correct Python installation check and download success check logic (#2080)
* fix: python installation check logic (fix #2073) * fix: download success check logic (fix #2074)
This commit is contained in:
2
run.sh
2
run.sh
@@ -14,7 +14,7 @@ else
|
||||
requirements_file="requirements.txt"
|
||||
|
||||
# Check if Python 3.8 is installed
|
||||
if ! command -v python3.8 >/dev/null 2>&1 || pyenv versions --bare | grep -q "3.8"; then
|
||||
if ! (command -v python3.8 >/dev/null 2>&1 || pyenv versions --bare | grep -q "3.8"); then
|
||||
echo "Python 3 not found. Attempting to install 3.8..."
|
||||
if [ "$(uname)" = "Darwin" ] && command -v brew >/dev/null 2>&1; then
|
||||
brew install python@3.8
|
||||
|
||||
Reference in New Issue
Block a user