1
0
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:
Samuel
2024-05-29 20:00:46 +08:00
committed by GitHub
parent 6c6d62df59
commit d01be25bc0
2 changed files with 3 additions and 3 deletions

2
run.sh
View File

@@ -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