Fix for runpod

pull/1070/head
bmaltais 2023-06-24 19:49:20 -04:00
parent 40108a3786
commit bae308a313
1 changed files with 5 additions and 0 deletions

View File

@ -223,6 +223,11 @@ install_python_dependencies() {
# Switch to local virtual env
echo "Switching to virtual Python environment."
if [ "$RUNPOD" = true ]; then
python3 -m venv "$DIR/venv"
fi
if ! inDocker; then
if command -v python3.10 >/dev/null; then
python3.10 -m venv "$DIR/venv"