mirror of
https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI.git
synced 2025-05-06 11:39:01 +08:00
fix: python installation check logic
This commit is contained in:
parent
b0fca77ea0
commit
bf5755d4a0
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user